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"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[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-09 07:18:56 +00:00
|
|
|
overwatch-rs = { git = "https://github.com/logos-co/Overwatch", rev = "6e6678b" }
|
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 }
|
2023-09-14 08:38:47 +00:00
|
|
|
mixnet-client = { path = "../../mixnet/client" }
|
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"]
|
2023-06-20 11:58:22 +00:00
|
|
|
mock = ["rand", "chrono"]
|