[package]
name = "talea-server"
version = "0.1.0"
edition = "2024"
description = "Ledger service and axum REST/SSE transport for the talea ledger, with bearer auth and admission control"
license.workspace = true
repository.workspace = true
readme = "README.md"
[dependencies]
async-stream = "0.3"
async-trait = "0.1.89"
axum = "0.8.9"
chrono = { version = "0.4.44", features = ["serde"] }
futures = "0.3.32"
metrics = "0.24"
metrics-exporter-prometheus = { version = "0.16", default-features = false }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.150"
sqlx = { version = "0.9.0", features = ["postgres", "sqlite", "chrono", "uuid", "json", "runtime-tokio"] }
talea-core = { path = "../talea-core/", version = "0.1.0", features = ["openapi"] }
talea-store-log = { path = "../talea-store-log/", version = "0.1.0" }
talea-store-postgres = { path = "../talea-store-postgres/", version = "0.1.0" }
talea-store-sqlite = { path = "../talea-store-sqlite/", version = "0.1.0" }
utoipa = "5"
utoipa-swagger-ui = { version = "9", features = ["axum"] }
thiserror = "2.0.18"
toml = "0.9"
tokio = { version = "1.52.3", features = ["full"] }
tower = { version = "0.5", features = ["limit", "load-shed", "timeout", "util"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
uuid = { version = "1.23.2", features = ["v7", "serde"] }
subtle = "2"
[dev-dependencies]
http-body-util = "0.1"
tokio = { version = "1.52.3", features = ["test-util"] }
[lints]
workspace = true