diff --git a/.taplo.toml b/.taplo.toml index a32034cd6..90a06f829 100644 --- a/.taplo.toml +++ b/.taplo.toml @@ -6,7 +6,7 @@ indent_string = ' ' [[rule]] include = ["**/Cargo.toml"] -keys = ["dependencies", "workspace.dependencies"] +keys = ["dependencies", "workspace.dependencies", "dev-dependencies", "build-dependencies"] [rule.formatting] reorder_keys = true diff --git a/rust/message-backup/Cargo.toml b/rust/message-backup/Cargo.toml index 480bf0008..f79fd8003 100644 --- a/rust/message-backup/Cargo.toml +++ b/rust/message-backup/Cargo.toml @@ -76,10 +76,10 @@ hex-literal = { workspace = true } json5 = "0.4.1" nonzero_ext = { workspace = true } once_cell = { workspace = true } +pretty_assertions = { workspace = true } test-case = { workspace = true } test-log = "0.2.14" testing_logger = { workspace = true } -pretty_assertions = { workspace = true } [build-dependencies] protobuf = "3.3.0" diff --git a/rust/net/Cargo.toml b/rust/net/Cargo.toml index 6266424f5..61ea65fc9 100644 --- a/rust/net/Cargo.toml +++ b/rust/net/Cargo.toml @@ -58,21 +58,17 @@ prost-build = { workspace = true } [dev-dependencies] assert_matches = { workspace = true } -libsignal-net-infra = { path = "./infra", features = ["test-util"] } clap = { workspace = true, features = ["derive"] } colored = "2.1" env_logger = { workspace = true } hex-literal = { workspace = true } +libsignal-net-infra = { path = "./infra", features = ["test-util"] } proptest = { workspace = true } proptest-state-machine = "0.1.0" snow = { workspace = true, features = ["default-resolver"] } test-case = { workspace = true } test-log = "0.2.16" -tokio = { workspace = true, features = [ - "test-util", - "io-std", - "rt-multi-thread", -] } +tokio = { workspace = true, features = ["test-util", "io-std", "rt-multi-thread"] } warp = { version = "0.3.6", features = ["tls"] } [[example]] diff --git a/rust/net/infra/Cargo.toml b/rust/net/infra/Cargo.toml index 647b52355..7a7684f11 100644 --- a/rust/net/infra/Cargo.toml +++ b/rust/net/infra/Cargo.toml @@ -56,10 +56,6 @@ snow = { workspace = true, features = ["default-resolver"] } socks5-server = "0.10.1" test-case = { workspace = true } tls-parser = "0.11.0" -tokio = { workspace = true, features = [ - "test-util", - "io-std", - "rt-multi-thread", -] } +tokio = { workspace = true, features = ["test-util", "io-std", "rt-multi-thread"] } tokio-stream = { workspace = true } warp = { version = "0.3.6", features = ["tls"] } diff --git a/rust/protocol/Cargo.toml b/rust/protocol/Cargo.toml index 43abad432..bd31d27e6 100644 --- a/rust/protocol/Cargo.toml +++ b/rust/protocol/Cargo.toml @@ -56,10 +56,10 @@ mlkem1024 = ["pqcrypto-ml-kem"] [dev-dependencies] clap = { workspace = true, features = ["derive"] } criterion = { workspace = true } +env_logger = { workspace = true } +futures-util = { workspace = true } hex-literal = { workspace = true } proptest = { workspace = true } -futures-util = { workspace = true } -env_logger = { workspace = true } [build-dependencies] prost-build = { workspace = true } diff --git a/rust/svr3/Cargo.toml b/rust/svr3/Cargo.toml index 71a6a1464..dde817366 100644 --- a/rust/svr3/Cargo.toml +++ b/rust/svr3/Cargo.toml @@ -24,13 +24,13 @@ subtle = { workspace = true } [dev-dependencies] assert_matches = { workspace = true } -zerocopy = { workspace = true } criterion = { workspace = true } hex = { workspace = true } hex-literal = { workspace = true } nonzero_ext = { workspace = true } -test-case = { workspace = true } proptest = { workspace = true } +test-case = { workspace = true } +zerocopy = { workspace = true } [build-dependencies] prost-build = { workspace = true } diff --git a/rust/usernames/Cargo.toml b/rust/usernames/Cargo.toml index 5f7bd4cc5..ddb44da65 100644 --- a/rust/usernames/Cargo.toml +++ b/rust/usernames/Cargo.toml @@ -30,8 +30,8 @@ thiserror = { workspace = true } [dev-dependencies] zkgroup = { path = "../zkgroup" } -proptest = { workspace = true } criterion = { workspace = true } +proptest = { workspace = true } [[bench]] name = "usernames_benchmarks"