60 lines
1.8 KiB
TOML
60 lines
1.8 KiB
TOML
[package]
|
|
name = "tests"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
nomos-node = { path = "../nodes/nomos-node", default-features = false }
|
|
nomos-consensus = { path = "../nomos-services/consensus" }
|
|
nomos-network = { path = "../nomos-services/network" }
|
|
nomos-log = { path = "../nomos-services/log" }
|
|
nomos-http = { path = "../nomos-services/http", features = ["http"] }
|
|
overwatch-rs = { git = "https://github.com/logos-co/Overwatch", branch = "main" }
|
|
nomos-core = { path = "../nomos-core" }
|
|
consensus-engine = { path = "../consensus-engine", features = ["serde"] }
|
|
nomos-mempool = { path = "../nomos-services/mempool", features = ["mock"] }
|
|
mixnode = { path = "../nodes/mixnode" }
|
|
mixnet-node = { path = "../mixnet/node" }
|
|
mixnet-client = { path = "../mixnet/client" }
|
|
mixnet-topology = { path = "../mixnet/topology" }
|
|
# Using older versions, since `mixnet-*` crates depend on `rand` v0.7.3.
|
|
rand = "0.7.3"
|
|
rand_xoshiro = "0.4"
|
|
once_cell = "1"
|
|
secp256k1 = { version = "0.26", features = ["rand"] }
|
|
waku-bindings = { version = "0.1.1", optional = true }
|
|
reqwest = { version = "0.11", features = ["json"] }
|
|
nomos-libp2p = { path = "../nomos-libp2p", optional = true }
|
|
tempfile = "3.6"
|
|
serde_yaml = "0.9"
|
|
tokio = "1"
|
|
futures = "0.3"
|
|
async-trait = "0.1"
|
|
fraction = "0.13"
|
|
ntest = "0.9.0"
|
|
criterion = { version = "0.5", features = ["async_tokio"] }
|
|
|
|
[[test]]
|
|
name = "test_consensus_happy_path"
|
|
path = "src/tests/happy.rs"
|
|
|
|
[[test]]
|
|
name = "test_consensus_unhappy_path"
|
|
path = "src/tests/unhappy.rs"
|
|
|
|
[[test]]
|
|
name = "test_mixnet"
|
|
path = "src/tests/mixnet.rs"
|
|
|
|
[[bench]]
|
|
name = "mixnet"
|
|
path = "src/benches/mixnet.rs"
|
|
harness = false
|
|
|
|
|
|
[features]
|
|
metrics = ["nomos-node/metrics"]
|
|
waku = ["nomos-network/waku", "nomos-mempool/waku", "nomos-node/waku", "waku-bindings"]
|
|
libp2p = ["nomos-network/libp2p", "nomos-mempool/libp2p", "nomos-libp2p", "nomos-node/libp2p"]
|