mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-22 19:49:22 +00:00
Minimize features pulled in to try and reduce build times
This commit is contained in:
parent
42eb674d1a
commit
3862731a12
7 changed files with 26 additions and 33 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -4713,7 +4713,6 @@ dependencies = [
|
||||||
"glob",
|
"glob",
|
||||||
"libc",
|
"libc",
|
||||||
"libz-sys",
|
"libz-sys",
|
||||||
"lz4-sys",
|
|
||||||
"tikv-jemalloc-sys",
|
"tikv-jemalloc-sys",
|
||||||
"zstd-sys",
|
"zstd-sys",
|
||||||
]
|
]
|
||||||
|
@ -8616,7 +8615,6 @@ dependencies = [
|
||||||
"modular-frost",
|
"modular-frost",
|
||||||
"parity-scale-codec",
|
"parity-scale-codec",
|
||||||
"rand_core 0.6.4",
|
"rand_core 0.6.4",
|
||||||
"rocksdb",
|
|
||||||
"schnorr-signatures",
|
"schnorr-signatures",
|
||||||
"serai-client",
|
"serai-client",
|
||||||
"serai-db",
|
"serai-db",
|
||||||
|
@ -8694,7 +8692,6 @@ dependencies = [
|
||||||
"log",
|
"log",
|
||||||
"rand_core 0.6.4",
|
"rand_core 0.6.4",
|
||||||
"reqwest",
|
"reqwest",
|
||||||
"rocksdb",
|
|
||||||
"schnorr-signatures",
|
"schnorr-signatures",
|
||||||
"serai-db",
|
"serai-db",
|
||||||
"serai-env",
|
"serai-env",
|
||||||
|
@ -8813,7 +8810,6 @@ dependencies = [
|
||||||
"parity-scale-codec",
|
"parity-scale-codec",
|
||||||
"rand_chacha 0.3.1",
|
"rand_chacha 0.3.1",
|
||||||
"rand_core 0.6.4",
|
"rand_core 0.6.4",
|
||||||
"rocksdb",
|
|
||||||
"secp256k1",
|
"secp256k1",
|
||||||
"serai-client",
|
"serai-client",
|
||||||
"serai-db",
|
"serai-db",
|
||||||
|
|
|
@ -59,14 +59,14 @@ digest_auth = { version = "0.3", optional = true }
|
||||||
reqwest = { version = "0.11", features = ["json"], optional = true }
|
reqwest = { version = "0.11", features = ["json"], optional = true }
|
||||||
|
|
||||||
# Used for the binaries
|
# Used for the binaries
|
||||||
tokio = { version = "1", features = ["full"], optional = true }
|
tokio = { version = "1", features = ["rt-multi-thread", "macros"], optional = true }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
dalek-ff-group = { path = "../../crypto/dalek-ff-group", version = "0.3", default-features = false }
|
dalek-ff-group = { path = "../../crypto/dalek-ff-group", version = "0.3", default-features = false }
|
||||||
monero-generators = { path = "generators", version = "0.3", default-features = false }
|
monero-generators = { path = "generators", version = "0.3", default-features = false }
|
||||||
|
|
||||||
[dev-dependencies]
|
[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"] }
|
frost = { package = "modular-frost", path = "../../crypto/frost", version = "0.7", features = ["tests"] }
|
||||||
|
|
||||||
|
|
|
@ -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 }
|
sp-application-crypto = { git = "https://github.com/serai-dex/substrate", default-features = false }
|
||||||
|
|
||||||
rocksdb = "0.21"
|
|
||||||
serai-db = { path = "../common/db", features = ["rocksdb"] }
|
serai-db = { path = "../common/db", features = ["rocksdb"] }
|
||||||
serai-env = { path = "../common/env" }
|
serai-env = { path = "../common/env" }
|
||||||
|
|
||||||
|
@ -42,9 +41,9 @@ tributary = { package = "tributary-chain", path = "./tributary" }
|
||||||
serai-client = { path = "../substrate/client", features = ["serai"] }
|
serai-client = { path = "../substrate/client", features = ["serai"] }
|
||||||
|
|
||||||
hex = "0.4"
|
hex = "0.4"
|
||||||
serde_json = "1"
|
serde_json = { version = "1", default-features = false }
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
tokio = { version = "1", features = ["full"] }
|
tokio = { version = "1", features = ["rt-multi-thread", "sync", "time", "macros"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
futures = "0.3"
|
futures = "0.3"
|
||||||
|
|
|
@ -36,10 +36,9 @@ schnorr-signatures = { path = "../crypto/schnorr" }
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
env_logger = "0.10"
|
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 }
|
serai-db = { path = "../common/db", optional = true }
|
||||||
rocksdb = { version = "0.21", optional = true }
|
|
||||||
|
|
||||||
serai-env = { path = "../common/env" }
|
serai-env = { path = "../common/env" }
|
||||||
|
|
||||||
|
@ -49,4 +48,4 @@ jsonrpsee = { version = "0.16", features = ["server"], optional = true }
|
||||||
reqwest = { version = "0.11", features = ["json"] }
|
reqwest = { version = "0.11", features = ["json"] }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
binaries = ["serai-db", "rocksdb", "jsonrpsee"]
|
binaries = ["serai-db", "serai-db/rocksdb", "jsonrpsee"]
|
||||||
|
|
|
@ -19,22 +19,22 @@ async-trait = "0.1"
|
||||||
lazy_static = "1"
|
lazy_static = "1"
|
||||||
zeroize = "1"
|
zeroize = "1"
|
||||||
thiserror = "1"
|
thiserror = "1"
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", default-features = false, features = ["derive"] }
|
||||||
|
|
||||||
# Libs
|
# Libs
|
||||||
rand_core = "0.6"
|
rand_core = { version = "0.6", default-features = false, features = ["getrandom"] }
|
||||||
rand_chacha = "0.3"
|
rand_chacha = { version = "0.3", default-features = false }
|
||||||
|
|
||||||
# Encoders
|
# Encoders
|
||||||
hex = "0.4"
|
hex = "0.4"
|
||||||
scale = { package = "parity-scale-codec", version = "3" }
|
scale = { package = "parity-scale-codec", version = "3" }
|
||||||
bincode = "1"
|
bincode = { version = "1", default-features = false }
|
||||||
serde_json = "1"
|
serde_json = { version = "1", default-features = false }
|
||||||
|
|
||||||
# Cryptography
|
# 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 = { package = "modular-frost", path = "../crypto/frost", features = ["ristretto"] }
|
||||||
frost-schnorrkel = { path = "../crypto/schnorrkel" }
|
frost-schnorrkel = { path = "../crypto/schnorrkel" }
|
||||||
|
|
||||||
|
@ -53,9 +53,8 @@ monero-serai = { path = "../coins/monero", features = ["multisig"], optional = t
|
||||||
# Application
|
# Application
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
env_logger = "0.10"
|
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-db = { path = "../common/db", default-features = false, features = ["rocksdb"] }
|
||||||
serai-env = { path = "../common/env" }
|
serai-env = { path = "../common/env" }
|
||||||
serai-client = { path = "../substrate/client", default-features = false }
|
serai-client = { path = "../substrate/client", default-features = false }
|
||||||
|
|
|
@ -16,14 +16,14 @@ rustdoc-args = ["--cfg", "docsrs"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
hex = "0.4"
|
hex = "0.4"
|
||||||
|
|
||||||
zeroize = "1"
|
zeroize = { version = "1", default-features = false }
|
||||||
rand_core = "0.6"
|
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-primitives = { path = "../../substrate/primitives" }
|
||||||
serai-message-queue = { path = "../../message-queue" }
|
serai-message-queue = { path = "../../message-queue" }
|
||||||
|
|
||||||
tokio = { version = "1", features = ["full"] }
|
tokio = { version = "1", features = ["time"] }
|
||||||
dockertest = "0.3"
|
dockertest = "0.3"
|
||||||
serai-docker-tests = { path = "../docker" }
|
serai-docker-tests = { path = "../docker" }
|
||||||
|
|
|
@ -16,12 +16,12 @@ rustdoc-args = ["--cfg", "docsrs"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
hex = "0.4"
|
hex = "0.4"
|
||||||
|
|
||||||
zeroize = "1"
|
zeroize = { version = "1", default-features = false }
|
||||||
rand_core = "0.6"
|
rand_core = { version = "0.6", default-features = false, features = ["getrandom"] }
|
||||||
|
|
||||||
curve25519-dalek = "3.2"
|
curve25519-dalek = "3.2"
|
||||||
ciphersuite = { path = "../../crypto/ciphersuite", features = ["ristretto"] }
|
ciphersuite = { path = "../../crypto/ciphersuite", default-features = false, features = ["ristretto"] }
|
||||||
dkg = { path = "../../crypto/dkg", features = ["tests"] }
|
dkg = { path = "../../crypto/dkg", default-features = false, features = ["tests"] }
|
||||||
|
|
||||||
bitcoin-serai = { path = "../../coins/bitcoin" }
|
bitcoin-serai = { path = "../../coins/bitcoin" }
|
||||||
monero-serai = { path = "../../coins/monero" }
|
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-in-instructions-primitives = { path = "../../substrate/in-instructions/primitives" }
|
||||||
serai-message-queue = { path = "../../message-queue" }
|
serai-message-queue = { path = "../../message-queue" }
|
||||||
|
|
||||||
serde = "1"
|
serde = { version = "1", default-features = false }
|
||||||
serde_json = "1"
|
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"] }
|
processor = { package = "serai-processor", path = "../../processor", features = ["bitcoin", "monero"] }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue