[package] name = "linux-hello-daemon" version.workspace = true edition.workspace = true license.workspace = true description = "Linux Hello authentication daemon" [lib] name = "linux_hello_daemon" path = "src/lib.rs" [[bin]] name = "linux-hello-daemon" path = "src/main.rs" [features] default = [] tpm = ["tss-esapi"] onnx = ["ort", "ndarray"] [dependencies] linux-hello-common = { path = "../linux-hello-common" } thiserror.workspace = true serde.workspace = true serde_json.workspace = true tracing.workspace = true tracing-subscriber.workspace = true tokio.workspace = true # Image processing image.workspace = true # Security zeroize.workspace = true libc = "0.2" subtle = "2.5" # Cryptography (for software TPM fallback) aes-gcm = "0.10" rand = "0.8" pbkdf2 = "0.12" sha2 = "0.10" # D-Bus support zbus = { version = "4.0", features = ["tokio"] } # TPM2 (optional) tss-esapi = { workspace = true, optional = true } # ML inference (enabled via 'onnx' feature) ort = { workspace = true, optional = true } ndarray = { workspace = true, optional = true } # Camera (Linux-only) [target.'cfg(target_os = "linux")'.dependencies] v4l.workspace = true [dev-dependencies] tempfile = "3" criterion.workspace = true [[bench]] name = "benchmarks" harness = false