2022-11-03 13:28:37 +00:00
|
|
|
[package]
|
2022-11-23 13:43:22 +00:00
|
|
|
name = "nomos-network"
|
2022-11-03 13:28:37 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
async-trait = "0.1"
|
2022-11-18 08:46:54 +00:00
|
|
|
bytes = "1.2"
|
2023-02-01 13:58:23 +00:00
|
|
|
chrono = { version = "0.4", optional = true }
|
2023-09-14 08:38:47 +00:00
|
|
|
humantime-serde = { version = "1", optional = true }
|
2023-10-25 10:10:21 +00:00
|
|
|
overwatch-rs = { git = "https://github.com/logos-co/Overwatch", rev = "2f70806" }
|
2022-11-21 14:23:45 +00:00
|
|
|
multiaddr = "0.15"
|
2023-09-07 08:46:13 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2023-02-01 13:58:23 +00:00
|
|
|
sscanf = { version = "0.4", optional = true }
|
2022-11-21 14:23:45 +00:00
|
|
|
sled = { version = "0.34", optional = true }
|
2022-11-03 13:28:37 +00:00
|
|
|
tokio = { version = "1", features = ["sync"] }
|
2023-02-15 15:49:49 +00:00
|
|
|
tokio-stream = "0.1"
|
2022-11-18 08:46:54 +00:00
|
|
|
thiserror = "1.0"
|
|
|
|
tracing = "0.1"
|
2023-09-14 08:38:47 +00:00
|
|
|
rand = { version = "0.7.3", optional = true }
|
2022-11-21 14:35:52 +00:00
|
|
|
futures = "0.3"
|
2023-02-01 13:58:23 +00:00
|
|
|
parking_lot = "0.12"
|
2023-09-14 08:38:47 +00:00
|
|
|
nomos-core = { path = "../../nomos-core" }
|
2023-07-11 08:33:57 +00:00
|
|
|
nomos-libp2p = { path = "../../nomos-libp2p", optional = true }
|
2024-03-19 01:03:00 +00:00
|
|
|
mixnet = { path = "../../mixnet", optional = true }
|
2023-02-01 13:58:23 +00:00
|
|
|
|
2023-11-01 09:14:58 +00:00
|
|
|
utoipa = { version = "4.0", optional = true }
|
|
|
|
serde_json = { version = "1", optional = true }
|
|
|
|
|
2023-02-01 13:58:23 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
tokio = { version = "1", features = ["full"] }
|
2022-11-21 11:03:47 +00:00
|
|
|
|
2022-11-18 08:46:54 +00:00
|
|
|
[features]
|
2022-12-13 10:15:54 +00:00
|
|
|
default = []
|
2023-09-14 08:38:47 +00:00
|
|
|
libp2p = ["nomos-libp2p", "rand", "humantime-serde"]
|
2024-03-19 10:15:09 +00:00
|
|
|
mixnet = ["dep:mixnet"]
|
2023-06-20 11:58:22 +00:00
|
|
|
mock = ["rand", "chrono"]
|
2024-03-12 06:47:35 +00:00
|
|
|
openapi = ["dep:utoipa", "serde_json"]
|