43 lines
1.2 KiB
TOML
43 lines
1.2 KiB
TOML
[package]
|
|
name = "carnot-consensus"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
async-trait = "0.1"
|
|
bytes = "1.3"
|
|
chrono = "0.4"
|
|
carnot-engine = { path = "../../consensus/carnot-engine", features = ["serde"] }
|
|
futures = "0.3"
|
|
nomos-network = { path = "../network" }
|
|
nomos-mempool = { path = "../mempool" }
|
|
nomos-core = { path = "../../nomos-core" }
|
|
overwatch-rs = { git = "https://github.com/logos-co/Overwatch", rev = "2f70806" }
|
|
nomos-storage = { path = "../storage" }
|
|
rand_chacha = "0.3"
|
|
rand = "0.8"
|
|
serde = { version = "1", features = ["derive"] }
|
|
thiserror = "1.0"
|
|
tokio = { version = "1", features = ["sync"] }
|
|
tokio-stream = "0.1"
|
|
tokio-util = "0.7"
|
|
tracing = "0.1"
|
|
bls-signatures = "0.14"
|
|
serde_with = "3.0.0"
|
|
nomos-libp2p = { path = "../../nomos-libp2p", optional = true }
|
|
blake2 = "0.10"
|
|
|
|
utoipa = { version = "4.0", optional = true }
|
|
serde_json = { version = "1", optional = true }
|
|
|
|
[features]
|
|
default = []
|
|
mock = ["nomos-network/mock"]
|
|
libp2p = ["nomos-network/libp2p", "nomos-libp2p"]
|
|
openapi = ["dep:utoipa", "serde_json"]
|
|
|
|
[dev-dependencies]
|
|
serde_json = "1.0.96"
|