2023-10-06 16:32:35 +08:00
|
|
|
[package]
|
2023-11-10 09:28:10 +01:00
|
|
|
name = "nomos-api"
|
2023-10-06 16:32:35 +08:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
2023-10-20 14:10:05 +08:00
|
|
|
[features]
|
2023-10-31 17:20:04 +08:00
|
|
|
default = ["axum"]
|
2023-11-08 16:55:47 +08:00
|
|
|
axum = ["dep:axum", "dep:hyper", "dep:tower-http", "utoipa-swagger-ui/axum"]
|
2023-10-06 16:32:35 +08:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
async-trait = "0.1"
|
2024-07-03 11:37:23 +02:00
|
|
|
bytes = "1.2"
|
2023-10-25 12:10:21 +02:00
|
|
|
overwatch-rs = { git = "https://github.com/logos-co/Overwatch", rev = "2f70806" }
|
|
|
|
overwatch-derive = { git = "https://github.com/logos-co/Overwatch", rev = "ac28d01" }
|
2023-10-06 16:32:35 +08:00
|
|
|
tracing = "0.1"
|
2024-10-22 15:51:54 +02:00
|
|
|
nomos-core = { path = "../../nomos-core/chain-defs" }
|
2024-03-28 12:56:04 +01:00
|
|
|
cryptarchia-consensus = { path = "../cryptarchia-consensus" }
|
2023-11-01 17:14:58 +08:00
|
|
|
nomos-network = { path = "../../nomos-services/network" }
|
2024-12-12 12:05:56 +09:00
|
|
|
nomos-blend-service = { path = "../../nomos-services/blend", features = ["libp2p"] }
|
2024-03-14 09:53:41 +09:00
|
|
|
nomos-mempool = { path = "../../nomos-services/mempool", features = [
|
2024-09-03 17:02:49 +02:00
|
|
|
"mock",
|
|
|
|
"libp2p",
|
|
|
|
"openapi",
|
2024-03-14 09:53:41 +09:00
|
|
|
] }
|
2024-10-09 10:52:41 +03:00
|
|
|
nomos-da-dispersal = { path = "../data-availability/dispersal" }
|
2024-07-03 11:37:23 +02:00
|
|
|
nomos-da-indexer = { path = "../data-availability/indexer", features = ["rocksdb-backend"] }
|
2024-09-03 17:02:49 +02:00
|
|
|
nomos-da-sampling = { path = "../data-availability/sampling" }
|
2024-07-03 11:37:23 +02:00
|
|
|
nomos-da-verifier = { path = "../data-availability/verifier", features = ["rocksdb-backend", "libp2p"] }
|
2024-03-21 19:23:26 +08:00
|
|
|
nomos-storage = { path = "../../nomos-services/storage", features = ["rocksdb"] }
|
2023-11-01 17:14:58 +08:00
|
|
|
nomos-libp2p = { path = "../../nomos-libp2p" }
|
|
|
|
full-replication = { path = "../../nomos-da/full-replication" }
|
2024-07-03 11:37:23 +02:00
|
|
|
kzgrs-backend = { path = "../../nomos-da/kzgrs-backend" }
|
2024-09-03 17:02:49 +02:00
|
|
|
rand = "0.8"
|
2023-10-31 17:20:04 +08:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
2024-09-03 19:21:30 +03:00
|
|
|
subnetworks-assignations = { path = "../../nomos-da/network/subnetworks-assignations" }
|
|
|
|
nomos-da-network-core = { path = "../../nomos-da/network/core" }
|
2024-10-22 16:59:42 +02:00
|
|
|
tokio = { version = "1", default-features = false, features = ["sync"] }
|
2023-11-01 17:14:58 +08:00
|
|
|
|
|
|
|
|
|
|
|
# axum related dependencies
|
|
|
|
axum = { version = "0.6", optional = true }
|
|
|
|
hyper = { version = "0.14", features = ["full"], optional = true }
|
2023-11-08 16:55:47 +08:00
|
|
|
tower-http = { version = "0.4", optional = true, features = ["cors", "trace"] }
|
2023-11-01 17:14:58 +08:00
|
|
|
|
|
|
|
|
|
|
|
# openapi related dependencies
|
2023-10-31 17:20:04 +08:00
|
|
|
utoipa = "4.0"
|
|
|
|
utoipa-swagger-ui = { version = "4.0" }
|
|
|
|
|
2023-10-06 16:32:35 +08:00
|
|
|
[dev-dependencies]
|
2023-10-20 14:10:05 +08:00
|
|
|
axum = "0.6"
|
|
|
|
hyper = { version = "0.14", features = ["full"] }
|
|
|
|
utoipa-swagger-ui = { version = "4.0", features = ["axum"] }
|
2023-10-06 16:32:35 +08:00
|
|
|
reqwest = { version = "0.11", features = ["blocking", "json"] }
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
serde_json = "1"
|