From 4f33df21b8d89cd56b3a96022a350786f2d4fe11 Mon Sep 17 00:00:00 2001 From: Marlon Baeten Date: Tue, 14 Nov 2023 15:41:10 +0100 Subject: [PATCH] Bump version --- backend/Cargo.lock | 6 +++--- backend/Cargo.toml | 2 +- backend/src/tests.rs | 21 --------------------- frontend/Cargo.lock | 2 +- frontend/Cargo.toml | 2 +- 5 files changed, 6 insertions(+), 27 deletions(-) diff --git a/backend/Cargo.lock b/backend/Cargo.lock index c7f5cda..ff9301c 100644 --- a/backend/Cargo.lock +++ b/backend/Cargo.lock @@ -884,7 +884,7 @@ dependencies = [ [[package]] name = "mailcrab-backend" -version = "0.10.0" +version = "1.0.0-alpha.0" dependencies = [ "axum", "base64 0.13.1", @@ -1481,9 +1481,9 @@ checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" [[package]] name = "rustix" -version = "0.38.21" +version = "0.38.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b426b0506e5d50a7d8dafcf2e81471400deb602392c7dd110815afb4eaf02a3" +checksum = "ffb93593068e9babdad10e4fce47dc9b3ac25315a72a59766ffd9e9a71996a04" dependencies = [ "bitflags 2.4.1", "errno", diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 057c2b7..744d379 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mailcrab-backend" -version = "0.10.0" +version = "1.0.0-alpha.0" edition = "2021" publish = false diff --git a/backend/src/tests.rs b/backend/src/tests.rs index e585a79..c5b468a 100644 --- a/backend/src/tests.rs +++ b/backend/src/tests.rs @@ -168,27 +168,6 @@ async fn receive_message() { assert_eq!(sorted_messages[2].attachments.len(), 1); } -#[tokio::test] -#[ignore] -async fn measure_performance() { - let now = std::time::Instant::now(); - let furures = (0..999) - .map(|_| send_message(false, true, false)) - .collect::>(); - - let mut i = 0; - futures::future::join_all(furures) - .await - .iter() - .for_each(|e| { - i += 1; - println!("{i} {:?}", e.as_ref().unwrap().message().next()); - }); - - let later = std::time::Instant::now(); - println!("Sending 1000 mails took {:?}", later - now); -} - #[tokio::test] #[ignore] async fn send_sample_messages() { diff --git a/frontend/Cargo.lock b/frontend/Cargo.lock index 1824d9f..059b3de 100644 --- a/frontend/Cargo.lock +++ b/frontend/Cargo.lock @@ -727,7 +727,7 @@ checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" [[package]] name = "mailcrab-frontend" -version = "0.10.0" +version = "1.0.0-alpha.0" dependencies = [ "base64", "futures", diff --git a/frontend/Cargo.toml b/frontend/Cargo.toml index 76290d6..a69752f 100644 --- a/frontend/Cargo.toml +++ b/frontend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mailcrab-frontend" -version = "0.10.0" +version = "1.0.0-alpha.0" edition = "2021" publish = false