2022-12-14 15:30:45 +01:00
|
|
|
[package]
|
2023-01-10 11:33:08 +01:00
|
|
|
name = "nomos-mempool"
|
2022-12-14 15:30:45 +01: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"
|
2023-01-09 17:22:46 +01:00
|
|
|
bincode = { version = "2.0.0-rc.2", features = ["serde"] }
|
|
|
|
futures = "0.3"
|
2023-01-26 15:53:27 +01:00
|
|
|
linked-hash-map = { version = "0.5.6", optional = true }
|
2024-03-22 14:03:35 +02:00
|
|
|
nomos-metrics = { path = "../../nomos-services/metrics" }
|
2023-07-14 15:59:16 +08:00
|
|
|
nomos-network = { path = "../network" }
|
2022-12-14 15:30:45 +01:00
|
|
|
nomos-core = { path = "../../nomos-core" }
|
2024-06-13 10:23:11 +02:00
|
|
|
full-replication = { path = "../../nomos-da/full-replication" }
|
2023-10-25 12:10:21 +02:00
|
|
|
overwatch-rs = { git = "https://github.com/logos-co/Overwatch", rev = "2f70806" }
|
2023-02-01 21:58:23 +08:00
|
|
|
rand = { version = "0.8", optional = true }
|
2023-01-09 17:22:46 +01:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2023-02-08 11:07:09 +01:00
|
|
|
thiserror = "1.0"
|
2022-12-14 15:30:45 +01:00
|
|
|
tracing = "0.1"
|
2023-03-15 00:55:08 +08:00
|
|
|
tokio = { version = "1", features = ["sync", "macros"] }
|
2023-01-09 17:22:46 +01:00
|
|
|
tokio-stream = "0.1"
|
2023-09-27 11:58:42 +02:00
|
|
|
chrono = "0.4"
|
2023-01-09 17:22:46 +01:00
|
|
|
|
2023-10-31 17:20:04 +08:00
|
|
|
utoipa = { version = "4.0", optional = true }
|
|
|
|
serde_json = { version = "1", optional = true }
|
|
|
|
|
2023-02-01 21:58:23 +08:00
|
|
|
[dev-dependencies]
|
2023-02-07 17:13:22 +08:00
|
|
|
nomos-log = { path = "../log" }
|
2023-10-25 12:10:21 +02:00
|
|
|
overwatch-derive = { git = "https://github.com/logos-co/Overwatch", rev = "ac28d01" }
|
2023-02-01 21:58:23 +08:00
|
|
|
tokio = { version = "1", features = ["full"] }
|
2023-02-21 16:10:26 +08:00
|
|
|
blake2 = "0.10"
|
2023-01-09 17:22:46 +01:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = []
|
2023-02-21 16:10:26 +08:00
|
|
|
mock = ["linked-hash-map", "nomos-network/mock", "rand", "nomos-core/mock"]
|
2023-08-02 17:00:52 +02:00
|
|
|
libp2p = ["nomos-network/libp2p"]
|
2024-01-12 16:15:12 +02:00
|
|
|
metrics = []
|
2023-10-31 17:20:04 +08:00
|
|
|
|
|
|
|
# enable to help generate OpenAPI
|
|
|
|
openapi = ["dep:utoipa", "serde_json"]
|