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