diff --git a/Cargo.lock b/Cargo.lock index 503527ed..18342c05 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4713,7 +4713,6 @@ dependencies = [ "glob", "libc", "libz-sys", - "lz4-sys", "tikv-jemalloc-sys", "zstd-sys", ] @@ -8616,7 +8615,6 @@ dependencies = [ "modular-frost", "parity-scale-codec", "rand_core 0.6.4", - "rocksdb", "schnorr-signatures", "serai-client", "serai-db", @@ -8694,7 +8692,6 @@ dependencies = [ "log", "rand_core 0.6.4", "reqwest", - "rocksdb", "schnorr-signatures", "serai-db", "serai-env", @@ -8813,7 +8810,6 @@ dependencies = [ "parity-scale-codec", "rand_chacha 0.3.1", "rand_core 0.6.4", - "rocksdb", "secp256k1", "serai-client", "serai-db", diff --git a/coins/monero/Cargo.toml b/coins/monero/Cargo.toml index fa2ade8b..f5b483de 100644 --- a/coins/monero/Cargo.toml +++ b/coins/monero/Cargo.toml @@ -59,14 +59,14 @@ digest_auth = { version = "0.3", optional = true } reqwest = { version = "0.11", features = ["json"], optional = true } # Used for the binaries -tokio = { version = "1", features = ["full"], optional = true } +tokio = { version = "1", features = ["rt-multi-thread", "macros"], optional = true } [build-dependencies] dalek-ff-group = { path = "../../crypto/dalek-ff-group", version = "0.3", default-features = false } monero-generators = { path = "generators", version = "0.3", default-features = false } [dev-dependencies] -tokio = { version = "1", features = ["full"] } +tokio = { version = "1", features = ["rt-multi-thread", "sync", "macros"] } frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.7", features = ["tests"] } diff --git a/coordinator/Cargo.toml b/coordinator/Cargo.toml index 7165cc85..60b78ef1 100644 --- a/coordinator/Cargo.toml +++ b/coordinator/Cargo.toml @@ -31,7 +31,6 @@ scale = { package = "parity-scale-codec", version = "3", features = ["derive"] } sp-application-crypto = { git = "https://github.com/serai-dex/substrate", default-features = false } -rocksdb = "0.21" serai-db = { path = "../common/db", features = ["rocksdb"] } serai-env = { path = "../common/env" } @@ -42,9 +41,9 @@ tributary = { package = "tributary-chain", path = "./tributary" } serai-client = { path = "../substrate/client", features = ["serai"] } hex = "0.4" -serde_json = "1" +serde_json = { version = "1", default-features = false } log = "0.4" -tokio = { version = "1", features = ["full"] } +tokio = { version = "1", features = ["rt-multi-thread", "sync", "time", "macros"] } [dev-dependencies] futures = "0.3" diff --git a/message-queue/Cargo.toml b/message-queue/Cargo.toml index f3a7bb0d..d0911789 100644 --- a/message-queue/Cargo.toml +++ b/message-queue/Cargo.toml @@ -36,10 +36,9 @@ schnorr-signatures = { path = "../crypto/schnorr" } log = "0.4" env_logger = "0.10" -tokio = { version = "1", features = ["full"] } +tokio = { version = "1", features = ["rt-multi-thread", "time", "macros"] } -serai-db = { path = "../common/db", features = ["rocksdb"], optional = true } -rocksdb = { version = "0.21", optional = true } +serai-db = { path = "../common/db", optional = true } serai-env = { path = "../common/env" } @@ -49,4 +48,4 @@ jsonrpsee = { version = "0.16", features = ["server"], optional = true } reqwest = { version = "0.11", features = ["json"] } [features] -binaries = ["serai-db", "rocksdb", "jsonrpsee"] +binaries = ["serai-db", "serai-db/rocksdb", "jsonrpsee"] diff --git a/processor/Cargo.toml b/processor/Cargo.toml index 077d25c9..a146317c 100644 --- a/processor/Cargo.toml +++ b/processor/Cargo.toml @@ -19,22 +19,22 @@ async-trait = "0.1" lazy_static = "1" zeroize = "1" thiserror = "1" -serde = { version = "1", features = ["derive"] } +serde = { version = "1", default-features = false, features = ["derive"] } # Libs -rand_core = "0.6" -rand_chacha = "0.3" +rand_core = { version = "0.6", default-features = false, features = ["getrandom"] } +rand_chacha = { version = "0.3", default-features = false } # Encoders hex = "0.4" scale = { package = "parity-scale-codec", version = "3" } -bincode = "1" -serde_json = "1" +bincode = { version = "1", default-features = false } +serde_json = { version = "1", default-features = false } # Cryptography -ciphersuite = { path = "../crypto/ciphersuite", features = ["ristretto"] } +ciphersuite = { path = "../crypto/ciphersuite", default-features = false, features = ["ristretto"] } -transcript = { package = "flexible-transcript", path = "../crypto/transcript" } +transcript = { package = "flexible-transcript", default-features = false, path = "../crypto/transcript" } frost = { package = "modular-frost", path = "../crypto/frost", features = ["ristretto"] } frost-schnorrkel = { path = "../crypto/schnorrkel" } @@ -53,9 +53,8 @@ monero-serai = { path = "../coins/monero", features = ["multisig"], optional = t # Application log = "0.4" env_logger = "0.10" -tokio = { version = "1", features = ["full"] } +tokio = { version = "1", features = ["rt-multi-thread", "sync", "time", "macros"] } -rocksdb = "0.21" serai-db = { path = "../common/db", default-features = false, features = ["rocksdb"] } serai-env = { path = "../common/env" } serai-client = { path = "../substrate/client", default-features = false } diff --git a/tests/message-queue/Cargo.toml b/tests/message-queue/Cargo.toml index c07b7c3c..09d35dae 100644 --- a/tests/message-queue/Cargo.toml +++ b/tests/message-queue/Cargo.toml @@ -16,14 +16,14 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] hex = "0.4" -zeroize = "1" -rand_core = "0.6" +zeroize = { version = "1", default-features = false } +rand_core = { version = "0.6", default-features = false, features = ["getrandom"] } -ciphersuite = { path = "../../crypto/ciphersuite", features = ["ristretto"] } +ciphersuite = { path = "../../crypto/ciphersuite", default-features = false, features = ["ristretto"] } serai-primitives = { path = "../../substrate/primitives" } serai-message-queue = { path = "../../message-queue" } -tokio = { version = "1", features = ["full"] } +tokio = { version = "1", features = ["time"] } dockertest = "0.3" serai-docker-tests = { path = "../docker" } diff --git a/tests/processor/Cargo.toml b/tests/processor/Cargo.toml index 1121636b..04914049 100644 --- a/tests/processor/Cargo.toml +++ b/tests/processor/Cargo.toml @@ -16,12 +16,12 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] hex = "0.4" -zeroize = "1" -rand_core = "0.6" +zeroize = { version = "1", default-features = false } +rand_core = { version = "0.6", default-features = false, features = ["getrandom"] } curve25519-dalek = "3.2" -ciphersuite = { path = "../../crypto/ciphersuite", features = ["ristretto"] } -dkg = { path = "../../crypto/dkg", features = ["tests"] } +ciphersuite = { path = "../../crypto/ciphersuite", default-features = false, features = ["ristretto"] } +dkg = { path = "../../crypto/dkg", default-features = false, features = ["tests"] } bitcoin-serai = { path = "../../coins/bitcoin" } monero-serai = { path = "../../coins/monero" } @@ -33,10 +33,10 @@ serai-validator-sets-primitives = { path = "../../substrate/validator-sets/primi serai-in-instructions-primitives = { path = "../../substrate/in-instructions/primitives" } serai-message-queue = { path = "../../message-queue" } -serde = "1" -serde_json = "1" +serde = { version = "1", default-features = false } +serde_json = { version = "1", default-features = false } -tokio = { version = "1", features = ["full"] } +tokio = { version = "1", features = ["time"] } processor = { package = "serai-processor", path = "../../processor", features = ["bitcoin", "monero"] }