agama/rust/agama-server/Cargo.toml
2026-07-09 11:39:30 +01:00

73 lines
2.1 KiB
TOML

[package]
name = "agama-server"
version = "0.1.0"
edition = "2021"
rust-version.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0"
agama-locale-data = { path = "../agama-locale-data" }
agama-lib = { path = "../agama-lib" }
agama-utils = { path = "../agama-utils" }
zbus = { version = "5", default-features = false, features = ["tokio"] }
uuid = { version = "1.10.0", features = ["v4"] }
thiserror = "2.0.12"
serde = { version = "1.0.210", features = ["derive"] }
tokio = { version = "1.40.0", features = ["macros", "rt-multi-thread"] }
tokio-stream = "0.1.16"
gettext-rs = { version = "0.7.1", features = ["gettext-system"] }
regex = "1.11.0"
async-trait = "0.1.83"
axum = { version = "0.7.7", features = ["ws"] }
serde_json = "1.0.128"
tower-http = { version = "0.6.2", features = [
"compression-br",
"fs",
"trace",
"set-header",
] }
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
tracing-journald = "0.3.0"
tracing = "0.1.40"
clap = { version = "4.5.19", features = ["derive", "wrap_help"] }
tower = { version = "0.5.2", features = ["util"] }
utoipa = { version = "5.2.0", features = ["axum_extras", "uuid"] }
config = "0.15.11"
rand = "0.9.1"
axum-extra = { version = "0.9.4", features = ["cookie", "typed-header"] }
# pam 0.8.0 (2023-11) plus an unreleased commit from 2023-12
# that switches from users to uzers, fixing CVE-2025-5791
pam = { git = "https://github.com/1wilkens/pam.git", rev = "daf26ae" }
serde_with = "3.10.0"
pin-project = "1.1.5"
openssl = "0.10.81"
sd-notify = "0.4.2"
hyper = "1.4.1"
hyper-util = "0.1.9"
tokio-openssl = "0.6.5"
futures-util = { version = "0.3.30", default-features = false, features = [
"alloc",
] }
libsystemd = "0.7.0"
subprocess = "0.2.9"
gethostname = "1.0.0"
tokio-util = "0.7.12"
tempfile = "3.13.0"
url = "2.5.2"
[[bin]]
name = "agama-dbus-server"
path = "src/agama-dbus-server.rs"
[[bin]]
name = "agama-web-server"
path = "src/agama-web-server.rs"
[dev-dependencies]
http-body-util = "0.1.2"
tokio-test = "0.4.4"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ci)'] }