mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-05 18:39:23 +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.
52 lines
2 KiB
TOML
52 lines
2 KiB
TOML
[package]
|
|
name = "serai-message-queue"
|
|
version = "0.1.0"
|
|
description = "A message queue for Serai focused on consistency"
|
|
license = "AGPL-3.0-only"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/message-queue"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
keywords = []
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[dependencies]
|
|
# Macros
|
|
lazy_static = { version = "1", default-features = false }
|
|
serde = { version = "1", default-features = false, features = ["std", "derive"] }
|
|
|
|
# Encoders
|
|
hex = { version = "0.4", default-features = false, features = ["std"] }
|
|
bincode = { version = "1", default-features = false }
|
|
serde_json = { version = "1", default-features = false, features = ["std"] }
|
|
|
|
# Libs
|
|
zeroize = { version = "1", default-features = false, features = ["std"] }
|
|
rand_core = { version = "0.6", default-features = false, features = ["std"] }
|
|
|
|
# Cryptography
|
|
transcript = { package = "flexible-transcript", path = "../crypto/transcript", default-features = false, features = ["std", "recommended"] }
|
|
ciphersuite = { path = "../crypto/ciphersuite", default-features = false, features = ["std", "ristretto"] }
|
|
schnorr-signatures = { path = "../crypto/schnorr", default-features = false, features = ["std"] }
|
|
|
|
# Application
|
|
log = { version = "0.4", default-features = false, features = ["std"] }
|
|
env_logger = { version = "0.10", default-features = false, features = ["humantime"] }
|
|
|
|
# Uses a single threaded runtime since this shouldn't ever be CPU-bound
|
|
tokio = { version = "1", default-features = false, features = ["rt", "time", "macros"] }
|
|
|
|
serai-db = { path = "../common/db", optional = true }
|
|
|
|
serai-env = { path = "../common/env" }
|
|
|
|
serai-primitives = { path = "../substrate/primitives" }
|
|
|
|
jsonrpsee = { version = "0.16", default-features = false, features = ["server"], optional = true }
|
|
reqwest = { version = "0.11", default-features = false, features = ["json"] }
|
|
|
|
[features]
|
|
binaries = ["serai-db", "serai-db/rocksdb", "jsonrpsee"]
|