stemedb/crates/stemedb-api/Cargo.toml
jordan 1e5ba8b946
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
feat: wire auth bootstrap, cluster gateway, k8s deploy skill, and ops docs
- Wire auth bootstrap (root API key, startup guard, auth-first router) in main.rs
- Add cluster gateway handlers with proper error handling
- Update Dockerfile with optimized multi-stage build and .dockerignore
- Add orchard9-deploy skill for CI/CD pipeline (Gitea/Woodpecker/Kaniko/Zot)
- Add k8s deployment roadmap and provision-project-keys script
- Document production infrastructure in CLAUDE.md
- Update three-node-cluster reference architecture
- Trim hosted.rs doc comments to stay under 800-line limit
2026-03-07 00:56:31 -07:00

62 lines
1.8 KiB
TOML

[package]
name = "stemedb-api"
version = "0.1.0"
edition = "2021"
description = "HTTP API for Episteme (StemeDB)"
[lints]
workspace = true
[features]
default = ["aphoria"]
aphoria = ["dep:aphoria"]
cluster = ["dep:stemedb-cluster", "dep:stemedb-sync"]
[dependencies]
stemedb-core = { path = "../stemedb-core" }
stemedb-wal = { path = "../stemedb-wal", features = ["group-commit"] }
stemedb-storage = { path = "../stemedb-storage" }
stemedb-ingest = { path = "../stemedb-ingest" }
stemedb-query = { path = "../stemedb-query" }
stemedb-lens = { path = "../stemedb-lens" }
# Optional: Aphoria code-level truth linting
aphoria = { path = "../../applications/aphoria", optional = true }
# Optional: Multi-node cluster participation
stemedb-cluster = { path = "../stemedb-cluster", optional = true }
stemedb-sync = { path = "../stemedb-sync", optional = true }
axum = { version = "0.7", features = ["json"] }
axum-server = { version = "0.7", features = ["tls-rustls"] }
tokio = { version = "1", features = ["full"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_qs = "0.13"
utoipa = { version = "5", features = ["axum_extras"] }
utoipa-axum = "0.1"
utoipa-swagger-ui = { version = "8", features = ["axum"] }
tower = { version = "0.4", features = ["util"] }
tower-http = { version = "0.5", features = ["trace", "cors", "limit", "timeout"] }
rustls = "0.22"
rustls-pemfile = "2.0"
futures = "0.3"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
thiserror = "1"
hex = "0.4"
blake3 = "1"
base64 = "0.22"
getrandom = "0.2"
metrics = "0.23"
metrics-exporter-prometheus = "0.15"
dashmap = "6.0"
ed25519-dalek = { version = "2.1", features = ["rand_core"] }
[dev-dependencies]
tempfile = "3"
tower = { version = "0.4", features = ["util"] }
ed25519-dalek = { version = "2", features = ["rand_core"] }
rand = "0.8"
hex = "0.4"