[package] name = "ld-server" description = "libreDecision server: API, Ğ1 sign-in, storage, publication of adopted texts, static web." version.workspace = true edition.workspace = true rust-version.workspace = true publish.workspace = true [dependencies] ld-engine = { path = "../ld-engine" } trustin-access = { path = "../trustin-access" } anyhow = "1" axum = { version = "0.8", features = ["macros"] } base64 = "0.22" hex = "0.4" rand = "0.9" reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] } serde = { version = "1", features = ["derive"] } serde_json = "1" sha2 = "0.10" sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio", "sqlite", "macros", "migrate"] } thiserror = "2" time = { version = "0.3", features = ["formatting", "parsing", "macros"] } tokio = { version = "1", features = ["rt-multi-thread", "macros", "signal", "time", "process", "fs"] } tower-http = { version = "0.6", features = ["fs", "trace", "compression-gzip", "set-header", "limit"] } tower = { version = "0.5", features = ["util"] } tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } twox-hash = { version = "2", default-features = false, features = ["xxhash64"] } url = "2" [dev-dependencies] http-body-util = "0.1" [lints] workspace = true