kanidm/unix_integration/resolver/Cargo.toml

141 lines
3.9 KiB
TOML
Raw Normal View History

[package]
name = "kanidm_unix_int"
description = "Kanidm Unix Integration Clients"
documentation = "https://docs.rs/kanidm/latest/kanidm/"
2022-10-01 08:08:51 +02:00
version = { workspace = true }
authors = { workspace = true }
rust-version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
2023-02-28 02:39:39 +01:00
[features]
default = ["unix"]
unix = []
selinux = ["dep:selinux"]
tpm = ["kanidm-hsm-crypto/tpm"]
[[bin]]
name = "kanidm_unixd"
path = "src/bin/kanidm_unixd.rs"
2023-02-28 02:39:39 +01:00
required-features = ["unix"]
test = true
doctest = false
[[bin]]
name = "kanidm_unixd_tasks"
path = "src/bin/kanidm_unixd_tasks.rs"
2023-02-28 02:39:39 +01:00
required-features = ["unix"]
test = true
doctest = false
[[bin]]
name = "kanidm_ssh_authorizedkeys"
path = "src/bin/kanidm_ssh_authorizedkeys.rs"
2023-02-28 02:39:39 +01:00
required-features = ["unix"]
test = true
doctest = false
[[bin]]
2023-04-24 11:47:52 +02:00
name = "kanidm-unix"
path = "src/bin/kanidm-unix.rs"
2023-02-28 02:39:39 +01:00
required-features = ["unix"]
test = true
doctest = false
2023-02-28 02:39:39 +01:00
[lib]
name = "kanidm_unix_resolver"
2023-02-28 02:39:39 +01:00
path = "src/lib.rs"
test = true
doctest = false
[dependencies]
async-trait.workspace = true
bytes = { workspace = true }
2022-10-01 08:08:51 +02:00
clap = { workspace = true, features = ["derive", "env"] }
dialoguer = { workspace = true }
futures = { workspace = true }
2023-07-24 02:05:10 +02:00
hashbrown = { workspace = true }
libc = { workspace = true }
lru = { workspace = true }
kanidm_client = { workspace = true }
kanidm_proto = { workspace = true }
kanidm-hsm-crypto = { workspace = true }
kanidm_lib_crypto = { workspace = true }
kanidm_lib_file_permissions = { workspace = true }
kanidm_unix_common = { workspace = true }
notify-debouncer-full = { workspace = true }
rusqlite = { workspace = true }
selinux = { workspace = true, optional = true }
2022-10-01 08:08:51 +02:00
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
sketching = { workspace = true }
time = { workspace = true, features = ["std"] }
toml = { workspace = true }
tokio = { workspace = true, features = [
"rt",
"fs",
"macros",
"sync",
"time",
"net",
"io-util",
] }
2022-10-01 08:08:51 +02:00
tokio-util = { workspace = true, features = ["codec"] }
tracing = { workspace = true }
2023-07-28 02:48:56 +02:00
uuid = { workspace = true }
walkdir = { workspace = true }
[target.'cfg(target_os = "linux")'.dependencies]
2024-02-17 02:30:08 +01:00
sd-notify.workspace = true
prctl.workspace = true
2024-02-17 02:30:08 +01:00
[target.'cfg(not(target_family = "windows"))'.dependencies]
kanidm_utils_users = { workspace = true }
[target.'cfg(not(target_os = "illumos"))'.dependencies]
mimalloc = { workspace = true }
[dev-dependencies]
kanidmd_core = { workspace = true }
kanidmd_testkit = { workspace = true }
[build-dependencies]
2022-10-01 08:08:51 +02:00
clap = { workspace = true, features = ["derive"] }
clap_complete = { workspace = true }
kanidm_build_profiles = { workspace = true }
## Debian packaging
# We only package unixd itself here as shared libraries must be packaged separarately due to multiarch rules.
[package.metadata.deb]
name = "kanidm-unixd"
maintainer = "James Hodgkinson <james@terminaloutcomes.com>"
# Can't use $auto depends because the name of libssl3 varies by distro and version
depends = [
"libc6",
"tpm-udev",
"libssl3 | libssl3t64",
"libpam-kanidm",
"libnss-kanidm"
]
section = "network"
priority = "optional"
changelog = "../../target/debian/changelog" # Generated by platform/debian/build_debs.sh
assets = [
[ "target/release/kanidm_ssh_authorizedkeys", "usr/sbin/", "755" ],
[ "target/release/kanidm_unixd_tasks", "usr/sbin/", "755" ],
[ "target/release/kanidm_unixd", "usr/sbin/", "755" ],
[ "target/release/kanidm-unix", "usr/sbin/", "755" ],
[ "../../examples/unixd-safe-default", "etc/kanidm/unixd", "644" ],
[ "../../examples/kanidm-safe-default", "etc/kanidm/config", "644" ],
[ "../../examples/kanidm", "usr/share/kanidm-unixd/", "444" ],
[ "../../examples/unixd", "usr/share/kanidm-unixd/", "444" ],
]
maintainer-scripts = "debian/"
systemd-units = [
{ unit-name = "kanidm-unixd", enable = true},
{ unit-name = "kanidm-unixd-tasks", enable = true},
]