From 3785e57513c85226b774e7e3558c989bcd640c55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Sun, 20 Feb 2022 01:44:34 +0100 Subject: [PATCH] Sort dependencies in Cargo.toml files --- aquatic_cli_helpers/Cargo.toml | 3 ++- aquatic_common/Cargo.toml | 3 ++- aquatic_http/Cargo.toml | 5 +++-- aquatic_http_load_test/Cargo.toml | 5 +++-- aquatic_udp/Cargo.toml | 9 +++++---- aquatic_udp_bench/Cargo.toml | 7 ++++--- aquatic_udp_load_test/Cargo.toml | 7 ++++--- aquatic_ws/Cargo.toml | 5 +++-- aquatic_ws_load_test/Cargo.toml | 5 +++-- 9 files changed, 29 insertions(+), 20 deletions(-) diff --git a/aquatic_cli_helpers/Cargo.toml b/aquatic_cli_helpers/Cargo.toml index 4b77eca..853b635 100644 --- a/aquatic_cli_helpers/Cargo.toml +++ b/aquatic_cli_helpers/Cargo.toml @@ -8,8 +8,9 @@ description = "aquatic BitTorrent tracker CLI helpers" repository = "https://github.com/greatest-ape/aquatic" [dependencies] +aquatic_toml_config = "0.1.0" + anyhow = "1" serde = { version = "1", features = ["derive"] } simplelog = "0.11" toml = "0.5" -aquatic_toml_config = "0.1.0" diff --git a/aquatic_common/Cargo.toml b/aquatic_common/Cargo.toml index 446666e..9e81393 100644 --- a/aquatic_common/Cargo.toml +++ b/aquatic_common/Cargo.toml @@ -14,6 +14,8 @@ name = "aquatic_common" cpu-pinning = ["hwloc", "libc"] [dependencies] +aquatic_toml_config = "0.1.0" + ahash = "0.7" anyhow = "1" arc-swap = "1" @@ -24,7 +26,6 @@ log = "0.4" privdrop = "0.5" rand = { version = "0.8", features = ["small_rng"] } serde = { version = "1", features = ["derive"] } -aquatic_toml_config = "0.1.0" # cpu-pinning hwloc = { version = "0.5", optional = true } diff --git a/aquatic_http/Cargo.toml b/aquatic_http/Cargo.toml index 00e9a9f..9bdae8c 100644 --- a/aquatic_http/Cargo.toml +++ b/aquatic_http/Cargo.toml @@ -17,10 +17,12 @@ name = "aquatic_http" cpu-pinning = ["aquatic_common/cpu-pinning"] [dependencies] -anyhow = "1" aquatic_cli_helpers = "0.1.0" aquatic_common = "0.1.0" aquatic_http_protocol = "0.1.0" +aquatic_toml_config = "0.1.0" + +anyhow = "1" cfg-if = "1" either = "1" futures-lite = "1" @@ -38,7 +40,6 @@ serde = { version = "1", features = ["derive"] } signal-hook = { version = "0.3" } slab = "0.4" smartstring = "0.2" -aquatic_toml_config = "0.1.0" [dev-dependencies] quickcheck = "1" diff --git a/aquatic_http_load_test/Cargo.toml b/aquatic_http_load_test/Cargo.toml index c6ae2d8..34352a6 100644 --- a/aquatic_http_load_test/Cargo.toml +++ b/aquatic_http_load_test/Cargo.toml @@ -13,10 +13,12 @@ name = "aquatic_http_load_test" cpu-pinning = ["aquatic_common/cpu-pinning"] [dependencies] -anyhow = "1" aquatic_cli_helpers = "0.1.0" aquatic_common = "0.1.0" aquatic_http_protocol = "0.1.0" +aquatic_toml_config = "0.1.0" + +anyhow = "1" futures-lite = "1" hashbrown = "0.12" glommio = "0.7" @@ -26,7 +28,6 @@ rand = { version = "0.8", features = ["small_rng"] } rand_distr = "0.4" rustls = { version = "0.20", features = ["dangerous_configuration"] } serde = { version = "1", features = ["derive"] } -aquatic_toml_config = "0.1.0" [dev-dependencies] quickcheck = "1" diff --git a/aquatic_udp/Cargo.toml b/aquatic_udp/Cargo.toml index 53e42d5..7acb60d 100644 --- a/aquatic_udp/Cargo.toml +++ b/aquatic_udp/Cargo.toml @@ -17,12 +17,14 @@ name = "aquatic_udp" cpu-pinning = ["aquatic_common/cpu-pinning"] [dependencies] -anyhow = "1" aquatic_cli_helpers = "0.1.0" aquatic_common = "0.1.0" +aquatic_toml_config = "0.1.0" aquatic_udp_protocol = "0.1.0" -chrono = "0.4" + +anyhow = "1" cfg-if = "1" +chrono = "0.4" crossbeam-channel = "0.5" hex = "0.4" log = "0.4" @@ -31,11 +33,10 @@ mio = { version = "0.8", features = ["net", "os-poll"] } num-format = "0.4" rand = { version = "0.8", features = ["small_rng"] } serde = { version = "1", features = ["derive"] } -slab = "0.4" signal-hook = { version = "0.3" } +slab = "0.4" socket2 = { version = "0.4", features = ["all"] } tinytemplate = "1" -aquatic_toml_config = "0.1.0" [dev-dependencies] quickcheck = "1" diff --git a/aquatic_udp_bench/Cargo.toml b/aquatic_udp_bench/Cargo.toml index b5ee6ca..b7c4bf6 100644 --- a/aquatic_udp_bench/Cargo.toml +++ b/aquatic_udp_bench/Cargo.toml @@ -10,16 +10,17 @@ repository = "https://github.com/greatest-ape/aquatic" name = "aquatic_udp_bench" [dependencies] -anyhow = "1" aquatic_cli_helpers = "0.1.0" aquatic_common = "0.1.0" +aquatic_toml_config = "0.1.0" aquatic_udp = "0.1.0" aquatic_udp_protocol = "0.1.0" + +anyhow = "1" crossbeam-channel = "0.5" indicatif = "0.16" mimalloc = { version = "0.1", default-features = false } num-format = "0.4" -rand = { version = "0.8", features = ["small_rng"] } rand_distr = "0.4" +rand = { version = "0.8", features = ["small_rng"] } serde = { version = "1", features = ["derive"] } -aquatic_toml_config = "0.1.0" diff --git a/aquatic_udp_load_test/Cargo.toml b/aquatic_udp_load_test/Cargo.toml index 8c271e5..5656069 100644 --- a/aquatic_udp_load_test/Cargo.toml +++ b/aquatic_udp_load_test/Cargo.toml @@ -13,18 +13,19 @@ name = "aquatic_udp_load_test" cpu-pinning = ["aquatic_common/cpu-pinning"] [dependencies] -anyhow = "1" aquatic_cli_helpers = "0.1.0" aquatic_common = "0.1.0" +aquatic_toml_config = "0.1.0" aquatic_udp_protocol = "0.1.0" + +anyhow = "1" hashbrown = "0.12" mimalloc = { version = "0.1", default-features = false } mio = { version = "0.8", features = ["net", "os-poll"] } -rand = { version = "0.8", features = ["small_rng"] } rand_distr = "0.4" +rand = { version = "0.8", features = ["small_rng"] } serde = { version = "1", features = ["derive"] } socket2 = { version = "0.4", features = ["all"] } -aquatic_toml_config = "0.1.0" [dev-dependencies] quickcheck = "1" diff --git a/aquatic_ws/Cargo.toml b/aquatic_ws/Cargo.toml index 3b8654a..255cfa0 100644 --- a/aquatic_ws/Cargo.toml +++ b/aquatic_ws/Cargo.toml @@ -20,10 +20,12 @@ with-glommio = ["cpu-pinning", "async-tungstenite", "futures-lite", "futures", " with-mio = ["crossbeam-channel", "histogram", "mio", "parking_lot", "socket2"] [dependencies] -anyhow = "1" aquatic_cli_helpers = "0.1.0" aquatic_common = "0.1.0" +aquatic_toml_config = "0.1.0" aquatic_ws_protocol = "0.1.0" + +anyhow = "1" cfg-if = "1" either = "1" hashbrown = { version = "0.12", features = ["serde"] } @@ -36,7 +38,6 @@ rustls-pemfile = "0.3" serde = { version = "1", features = ["derive"] } signal-hook = { version = "0.3" } slab = "0.4" -aquatic_toml_config = "0.1.0" tungstenite = "0.17" # mio diff --git a/aquatic_ws_load_test/Cargo.toml b/aquatic_ws_load_test/Cargo.toml index 6917e51..b1c92e1 100644 --- a/aquatic_ws_load_test/Cargo.toml +++ b/aquatic_ws_load_test/Cargo.toml @@ -13,11 +13,13 @@ name = "aquatic_ws_load_test" cpu-pinning = ["aquatic_common/cpu-pinning"] [dependencies] -anyhow = "1" async-tungstenite = "0.17" aquatic_cli_helpers = "0.1.0" aquatic_common = "0.1.0" +aquatic_toml_config = "0.1.0" aquatic_ws_protocol = "0.1.0" + +anyhow = "1" futures = "0.3" futures-rustls = "0.22" glommio = "0.7" @@ -28,7 +30,6 @@ rand_distr = "0.4" rustls = { version = "0.20", features = ["dangerous_configuration"] } serde = { version = "1", features = ["derive"] } serde_json = "1" -aquatic_toml_config = "0.1.0" tungstenite = "0.17" [dev-dependencies]