2019-09-04 03:06:37 +02:00
|
|
|
[package]
|
2019-09-14 15:44:08 +02:00
|
|
|
name = "kanidm_tools"
|
2019-11-16 05:40:45 +01:00
|
|
|
default-run = "kanidm"
|
2019-12-17 06:47:16 +01:00
|
|
|
description = "Kanidm Client Tools"
|
2022-11-09 22:43:22 +01:00
|
|
|
documentation = "https://kanidm.github.io/kanidm/stable/"
|
2023-09-19 05:31:19 +02:00
|
|
|
version = { workspace = true }
|
|
|
|
authors = { workspace = true }
|
|
|
|
rust-version = { workspace = true }
|
|
|
|
edition = { workspace = true }
|
|
|
|
license = { workspace = true }
|
|
|
|
homepage = { workspace = true }
|
|
|
|
repository = { workspace = true }
|
2019-09-04 03:06:37 +02:00
|
|
|
|
2023-02-28 02:39:39 +01:00
|
|
|
[features]
|
2024-10-26 04:08:48 +02:00
|
|
|
default = [
|
|
|
|
"unix",
|
|
|
|
# "dev-oauth2-device-flow"
|
|
|
|
]
|
2023-02-28 02:39:39 +01:00
|
|
|
unix = []
|
2024-10-26 04:08:48 +02:00
|
|
|
dev-oauth2-device-flow = []
|
2023-02-28 02:39:39 +01:00
|
|
|
|
2020-03-24 23:21:49 +01:00
|
|
|
[lib]
|
|
|
|
name = "kanidm_cli"
|
|
|
|
path = "src/cli/lib.rs"
|
2023-10-22 13:16:42 +02:00
|
|
|
test = true
|
|
|
|
doctest = false
|
2020-03-24 23:21:49 +01:00
|
|
|
|
2019-09-04 03:06:37 +02:00
|
|
|
[[bin]]
|
|
|
|
name = "kanidm"
|
2020-03-24 23:21:49 +01:00
|
|
|
path = "src/cli/main.rs"
|
2021-07-24 03:12:35 +02:00
|
|
|
doc = false
|
2023-10-22 13:16:42 +02:00
|
|
|
test = true
|
|
|
|
doctest = false
|
2019-09-04 03:06:37 +02:00
|
|
|
|
2019-11-16 05:40:45 +01:00
|
|
|
[[bin]]
|
2020-02-13 00:43:01 +01:00
|
|
|
name = "kanidm_ssh_authorizedkeys_direct"
|
2019-11-16 05:40:45 +01:00
|
|
|
path = "src/ssh_authorizedkeys.rs"
|
2023-10-22 13:16:42 +02:00
|
|
|
test = true
|
|
|
|
doctest = false
|
2019-11-16 05:40:45 +01:00
|
|
|
|
2019-09-04 03:06:37 +02:00
|
|
|
[dependencies]
|
2024-07-06 04:25:55 +02:00
|
|
|
anyhow = { workspace = true }
|
2022-10-01 08:08:51 +02:00
|
|
|
clap = { workspace = true, features = ["derive", "env"] }
|
2023-02-06 00:50:10 +01:00
|
|
|
compact_jwt = { workspace = true, features = ["openssl"] }
|
2023-09-19 05:31:19 +02:00
|
|
|
dialoguer = { workspace = true }
|
|
|
|
libc = { workspace = true }
|
|
|
|
kanidm_client = { workspace = true }
|
2024-09-17 06:07:43 +02:00
|
|
|
kanidm_lib_file_permissions = { workspace = true }
|
2023-09-19 05:31:19 +02:00
|
|
|
kanidm_proto = { workspace = true }
|
2023-04-25 14:36:17 +02:00
|
|
|
qrcode = { workspace = true }
|
2022-10-01 08:08:51 +02:00
|
|
|
serde = { workspace = true, features = ["derive"] }
|
2023-09-19 05:31:19 +02:00
|
|
|
serde_json = { workspace = true }
|
|
|
|
shellexpand = { workspace = true }
|
2024-10-18 05:28:52 +02:00
|
|
|
time = { workspace = true, features = ["serde", "std", "local-offset"] }
|
2023-09-19 05:31:19 +02:00
|
|
|
tracing = { workspace = true }
|
2022-10-01 08:08:51 +02:00
|
|
|
tracing-subscriber = { workspace = true, features = ["env-filter", "fmt"] }
|
2024-09-29 01:36:20 +02:00
|
|
|
tokio = { workspace = true, features = ["rt", "macros", "fs", "signal"] }
|
2022-10-01 08:08:51 +02:00
|
|
|
url = { workspace = true, features = ["serde"] }
|
2023-09-19 05:31:19 +02:00
|
|
|
uuid = { workspace = true }
|
|
|
|
zxcvbn = { workspace = true }
|
2023-08-23 12:51:24 +02:00
|
|
|
lazy_static.workspace = true
|
2023-10-17 09:18:07 +02:00
|
|
|
regex = { workspace = true }
|
2024-10-26 09:19:13 +02:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-10-17 09:18:07 +02:00
|
|
|
sketching = { workspace = true }
|
2023-08-23 12:51:24 +02:00
|
|
|
|
2021-02-13 04:46:22 +01:00
|
|
|
[build-dependencies]
|
2024-09-17 06:07:43 +02:00
|
|
|
kanidm_proto = { workspace = true }
|
2022-10-01 08:08:51 +02:00
|
|
|
clap = { workspace = true, features = ["derive"] }
|
2023-09-19 05:31:19 +02:00
|
|
|
clap_complete = { workspace = true }
|
2023-08-01 09:25:32 +02:00
|
|
|
kanidm_build_profiles = { workspace = true }
|
2023-10-30 07:10:54 +01:00
|
|
|
serde = { workspace = true }
|
|
|
|
serde_json = { workspace = true }
|
2023-09-19 05:31:19 +02:00
|
|
|
uuid = { workspace = true }
|
2023-07-05 01:13:06 +02:00
|
|
|
url = { workspace = true }
|
2022-11-21 03:11:26 +01:00
|
|
|
|
|
|
|
[target."cfg(target_os = \"windows\")".dependencies.webauthn-authenticator-rs]
|
|
|
|
workspace = true
|
|
|
|
features = ["win10"]
|
|
|
|
|
|
|
|
[target."cfg(not(any(target_os = \"windows\")))".dependencies.webauthn-authenticator-rs]
|
|
|
|
workspace = true
|
|
|
|
features = ["u2fhid"]
|
2024-10-15 04:27:48 +02:00
|
|
|
|
|
|
|
## Debian packaging
|
|
|
|
[package.metadata.deb]
|
|
|
|
name = "kanidm"
|
|
|
|
maintainer = "James Hodgkinson <james@terminaloutcomes.com>"
|
|
|
|
# Can't use $auto depends because the name of libssl3 varies by distro and version
|
|
|
|
depends = ["libc6", "libudev1", "libssl3 | libssl3t64"]
|
|
|
|
section = "admin"
|
|
|
|
priority = "optional"
|
2024-10-26 04:27:56 +02:00
|
|
|
changelog = "../../target/debian/changelog" # Generated by packaging scripts
|
2024-10-15 04:27:48 +02:00
|
|
|
assets = [
|
2024-10-26 04:27:56 +02:00
|
|
|
[
|
|
|
|
"target/release/kanidm",
|
|
|
|
"usr/bin/",
|
|
|
|
"755",
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"../../examples/config",
|
|
|
|
"usr/share/kanidm/",
|
|
|
|
"444",
|
|
|
|
],
|
2024-10-15 04:27:48 +02:00
|
|
|
]
|
|
|
|
maintainer-scripts = "debian/"
|