From 360b264a0f23a6772460f4e6f6b385fad72241d2 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sat, 4 Nov 2023 19:26:38 -0400 Subject: [PATCH] Remove unused dependencies --- Cargo.lock | 3 --- crypto/dalek-ff-group/Cargo.toml | 3 +-- tests/coordinator/Cargo.toml | 1 - tests/full-stack/Cargo.toml | 1 - tests/no-std/src/lib.rs | 2 ++ 5 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0ff8880a..890d040d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1487,7 +1487,6 @@ dependencies = [ "group", "rand_core", "rustversion", - "sha2", "subtle", "zeroize", ] @@ -8248,7 +8247,6 @@ dependencies = [ "serai-message-queue", "serai-message-queue-tests", "serai-processor-messages", - "serde", "serde_json", "tokio", "zeroize", @@ -8285,7 +8283,6 @@ dependencies = [ "rand_core", "serai-client", "serai-coordinator-tests", - "serai-docker-tests", "serai-message-queue-tests", "serai-processor", "serai-processor-tests", diff --git a/crypto/dalek-ff-group/Cargo.toml b/crypto/dalek-ff-group/Cargo.toml index dc0ce06f..50c4abcf 100644 --- a/crypto/dalek-ff-group/Cargo.toml +++ b/crypto/dalek-ff-group/Cargo.toml @@ -28,7 +28,6 @@ group = { version = "0.13", default-features = false } crypto-bigint = { version = "0.5", default-features = false } -sha2 = { version = "0.10", default-features = false } curve25519-dalek = { version = ">= 4.0, < 4.2", default-features = false, features = ["alloc", "zeroize", "digest", "group", "precomputed-tables"] } [dev-dependencies] @@ -36,5 +35,5 @@ rand_core = { version = "0.6", default-features = false, features = ["std"] } ff-group-tests = { path = "../ff-group-tests" } [features] -std = ["zeroize/std", "subtle/std", "rand_core/std", "digest/std", "sha2/std"] +std = ["zeroize/std", "subtle/std", "rand_core/std", "digest/std"] default = ["std"] diff --git a/tests/coordinator/Cargo.toml b/tests/coordinator/Cargo.toml index d3c9c92e..331ccdd8 100644 --- a/tests/coordinator/Cargo.toml +++ b/tests/coordinator/Cargo.toml @@ -31,7 +31,6 @@ scale = { package = "parity-scale-codec", version = "3" } serai-client = { path = "../../substrate/client", features = ["serai"] } serai-message-queue = { path = "../../message-queue" } -serde = { version = "1", default-features = false } serde_json = { version = "1", default-features = false } tokio = { version = "1", features = ["time"] } diff --git a/tests/full-stack/Cargo.toml b/tests/full-stack/Cargo.toml index 2f588366..aa7fc11a 100644 --- a/tests/full-stack/Cargo.toml +++ b/tests/full-stack/Cargo.toml @@ -35,7 +35,6 @@ serai-client = { path = "../../substrate/client", features = ["serai"] } tokio = { version = "1", features = ["time"] } dockertest = "0.4" -serai-docker-tests = { path = "../docker" } serai-message-queue-tests = { path = "../message-queue" } serai-processor-tests = { path = "../processor" } serai-coordinator-tests = { path = "../coordinator" } diff --git a/tests/no-std/src/lib.rs b/tests/no-std/src/lib.rs index a85bf679..183fd40e 100644 --- a/tests/no-std/src/lib.rs +++ b/tests/no-std/src/lib.rs @@ -18,5 +18,7 @@ pub use modular_frost; pub use frost_schnorrkel; */ +pub use bitcoin_serai; + pub use monero_generators; pub use monero_serai;