2022-12-13 10:15:54 +00:00
|
|
|
[package]
|
2024-01-09 10:08:24 +00:00
|
|
|
name = "carnot-consensus"
|
2022-12-13 10:15:54 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2023-03-14 10:32:36 +00:00
|
|
|
async-trait = "0.1"
|
2023-01-10 11:58:51 +00:00
|
|
|
bytes = "1.3"
|
2022-12-13 10:15:54 +00:00
|
|
|
chrono = "0.4"
|
2024-01-04 14:09:43 +00:00
|
|
|
carnot-engine = { path = "../../consensus/carnot-engine", features = ["serde"] }
|
2023-03-14 10:32:36 +00:00
|
|
|
futures = "0.3"
|
2022-12-13 10:15:54 +00:00
|
|
|
nomos-network = { path = "../network" }
|
2023-01-10 10:33:08 +00:00
|
|
|
nomos-mempool = { path = "../mempool" }
|
2022-12-13 14:35:11 +00:00
|
|
|
nomos-core = { path = "../../nomos-core" }
|
2023-10-25 10:10:21 +00:00
|
|
|
overwatch-rs = { git = "https://github.com/logos-co/Overwatch", rev = "2f70806" }
|
2023-10-17 09:04:47 +00:00
|
|
|
nomos-storage = { path = "../storage" }
|
2023-03-14 10:32:36 +00:00
|
|
|
rand_chacha = "0.3"
|
|
|
|
rand = "0.8"
|
2023-03-14 16:55:08 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
2023-05-22 12:56:56 +00:00
|
|
|
thiserror = "1.0"
|
2022-12-13 10:15:54 +00:00
|
|
|
tokio = { version = "1", features = ["sync"] }
|
|
|
|
tokio-stream = "0.1"
|
2023-05-22 12:56:56 +00:00
|
|
|
tokio-util = "0.7"
|
2023-01-27 09:37:04 +00:00
|
|
|
tracing = "0.1"
|
2023-06-12 13:14:49 +00:00
|
|
|
bls-signatures = "0.14"
|
2023-06-15 09:29:50 +00:00
|
|
|
serde_with = "3.0.0"
|
2023-08-02 12:07:44 +00:00
|
|
|
nomos-libp2p = { path = "../../nomos-libp2p", optional = true }
|
2023-07-12 14:12:25 +00:00
|
|
|
blake2 = "0.10"
|
2022-12-13 10:15:54 +00:00
|
|
|
|
2023-11-01 09:14:58 +00:00
|
|
|
utoipa = { version = "4.0", optional = true }
|
|
|
|
serde_json = { version = "1", optional = true }
|
|
|
|
|
2022-12-13 10:15:54 +00:00
|
|
|
[features]
|
|
|
|
default = []
|
2023-02-01 13:58:23 +00:00
|
|
|
mock = ["nomos-network/mock"]
|
2023-08-02 12:07:44 +00:00
|
|
|
libp2p = ["nomos-network/libp2p", "nomos-libp2p"]
|
2023-11-01 09:14:58 +00:00
|
|
|
openapi = ["dep:utoipa", "serde_json"]
|
2023-06-15 09:29:50 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
serde_json = "1.0.96"
|