talea-server 0.1.0

Ledger service and axum REST/SSE transport for the talea ledger, with bearer auth and admission control
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "talea-server"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ledger service and axum REST/SSE transport for the talea ledger, with bearer auth and admission control"
readme = "README.md"
license = "MIT"
repository = "https://github.com/mooze-labs/talea"

[lib]
name = "talea_server"
path = "src/lib.rs"

[[bin]]
name = "talea-server"
path = "src/main.rs"

[[test]]
name = "agent_docs_drift"
path = "tests/agent_docs_drift.rs"

[[test]]
name = "http"
path = "tests/http.rs"

[[test]]
name = "service"
path = "tests/service.rs"

[dependencies.async-stream]
version = "0.3"

[dependencies.async-trait]
version = "0.1.89"

[dependencies.axum]
version = "0.8.9"

[dependencies.chrono]
version = "0.4.44"
features = ["serde"]

[dependencies.futures]
version = "0.3.32"

[dependencies.metrics]
version = "0.24"

[dependencies.metrics-exporter-prometheus]
version = "0.16"
default-features = false

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.150"

[dependencies.sqlx]
version = "0.9.0"
features = [
    "postgres",
    "sqlite",
    "chrono",
    "uuid",
    "json",
    "runtime-tokio",
]

[dependencies.subtle]
version = "2"

[dependencies.talea-core]
version = "0.1.0"
features = ["openapi"]

[dependencies.talea-store-log]
version = "0.1.0"

[dependencies.talea-store-postgres]
version = "0.1.0"

[dependencies.talea-store-sqlite]
version = "0.1.0"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.3"
features = ["full"]

[dependencies.toml]
version = "0.9"

[dependencies.tower]
version = "0.5"
features = [
    "limit",
    "load-shed",
    "timeout",
    "util",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.utoipa]
version = "5"

[dependencies.utoipa-swagger-ui]
version = "9"
features = ["axum"]

[dependencies.uuid]
version = "1.23.2"
features = [
    "v7",
    "serde",
]

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.tokio]
version = "1.52.3"
features = ["test-util"]

[lints.clippy]
expect_used = "deny"
unwrap_used = "deny"

[lints.rust]
unsafe_code = "forbid"