[package] name = "daemon" description = "Kanidm Server Daemon" documentation = "https://docs.rs/kanidm/latest/kanidm/" version = { workspace = true } authors = { workspace = true } rust-version = { workspace = true } edition = { workspace = true } license = { workspace = true } homepage = { workspace = true } repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [[bin]] name = "kanidmd" path = "src/main.rs" test = true doctest = false [features] dhat-heap = ["dep:dhat"] dhat-ad-hoc = ["dep:dhat"] [dependencies] kanidm_proto = { workspace = true } kanidmd_core = { workspace = true } kanidm_lib_file_permissions = { workspace = true } sketching = { workspace = true } fs4 = { workspace = true } futures = { workspace = true } dhat = { workspace = true, optional = true } clap = { workspace = true, features = ["env"] } reqwest = { workspace = true } tokio = { workspace = true, features = ["rt-multi-thread", "macros", "signal"] } tokio-util = { workspace = true, features = ["codec"] } tracing = { workspace = true } serde_json = { workspace = true } [target.'cfg(target_os = "linux")'.dependencies] sd-notify = { workspace = true } prctl = { workspace = true } [target.'cfg(target_family = "windows")'.dependencies] whoami = { workspace = true } [target.'cfg(not(target_family = "windows"))'.dependencies] kanidm_utils_users = { workspace = true } [target.'cfg(not(target_os = "illumos"))'.dependencies] mimalloc = { workspace = true } [build-dependencies] clap = { workspace = true, features = ["derive"] } clap_complete = { workspace = true } kanidm_build_profiles = { workspace = true } [package.metadata.cargo-machete] ignored = ["clap_complete", "kanidm_build_profiles"]