[package] name = "cryptarchia-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" cryptarchia-engine = { path = "../../consensus/cryptarchia-engine", features = ["serde"] } cryptarchia-ledger = { path = "../../ledger/cryptarchia-ledger", 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" time = { version = "0.3", features = ["serde"] } utoipa = { version = "4.0", optional = true } serde_json = { version = "1", optional = true } [features] default = [] libp2p = ["nomos-network/libp2p", "nomos-libp2p"] openapi = ["dep:utoipa", "serde_json"] [dev-dependencies] serde_json = "1.0.96"