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