mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-17 01:17:36 +00:00
05dc474cb3
If a crate has std set, it should enable std for all dependencies in order to let them properly select which algorithms to use. Some crates fallback to slower/worse algorithms on no-std. Also more aggressively sets default-features = false leading to a *10%* reduction in the amount of crates coordinator builds.
57 lines
2.9 KiB
TOML
57 lines
2.9 KiB
TOML
[package]
|
|
name = "serai-coordinator"
|
|
version = "0.1.0"
|
|
description = "Serai coordinator to prepare batches and sign transactions"
|
|
license = "AGPL-3.0-only"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/coordinator"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
keywords = []
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[dependencies]
|
|
async-trait = { version = "0.1", default-features = false }
|
|
|
|
zeroize = { version = "^1.5", default-features = false, features = ["std"] }
|
|
rand_core = { version = "0.6", default-features = false, features = ["std"] }
|
|
rand_chacha = { version = "0.3", default-features = false, features = ["std"] }
|
|
|
|
blake2 = { version = "0.10", default-features = false, features = ["std"] }
|
|
|
|
transcript = { package = "flexible-transcript", path = "../crypto/transcript", default-features = false, features = ["std", "recommended"] }
|
|
ciphersuite = { path = "../crypto/ciphersuite", default-features = false, features = ["std"] }
|
|
schnorr = { package = "schnorr-signatures", path = "../crypto/schnorr", default-features = false, features = ["std"] }
|
|
frost = { package = "modular-frost", path = "../crypto/frost" }
|
|
frost-schnorrkel = { path = "../crypto/schnorrkel" }
|
|
|
|
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["std", "derive"] }
|
|
|
|
serai-db = { path = "../common/db", features = ["rocksdb"] }
|
|
serai-env = { path = "../common/env" }
|
|
|
|
processor-messages = { package = "serai-processor-messages", path = "../processor/messages" }
|
|
message-queue = { package = "serai-message-queue", path = "../message-queue" }
|
|
tributary = { package = "tributary-chain", path = "./tributary" }
|
|
|
|
serai-client = { path = "../substrate/client", default-features = false, features = ["serai"] }
|
|
|
|
hex = { version = "0.4", default-features = false, features = ["std"] }
|
|
bincode = { version = "1", default-features = false }
|
|
serde_json = { version = "1", default-features = false, features = ["std"] }
|
|
|
|
log = { version = "0.4", default-features = false, features = ["std"] }
|
|
env_logger = { version = "0.10", default-features = false, features = ["humantime"] }
|
|
|
|
futures = { version = "0.3", default-features = false, features = ["std"] }
|
|
tokio = { version = "1", default-features = false, features = ["rt-multi-thread", "sync", "time", "macros"] }
|
|
libp2p = { version = "0.52", default-features = false, features = ["tokio", "tcp", "noise", "yamux", "gossipsub", "mdns", "macros"] }
|
|
|
|
[dev-dependencies]
|
|
futures = { version = "0.3", default-features = false, features = ["std"] }
|
|
tributary = { package = "tributary-chain", path = "./tributary", features = ["tests"] }
|
|
sp-application-crypto = { git = "https://github.com/serai-dex/substrate", default-features = false, features = ["std"] }
|
|
sp-runtime = { git = "https://github.com/serai-dex/substrate", default-features = false, features = ["std"] }
|