2019-09-04 03:06:37 +02:00
|
|
|
[package]
|
2022-10-05 01:48:48 +02:00
|
|
|
name = "kanidmd_lib"
|
|
|
|
description = "Kanidm Server Backend Library"
|
2019-12-17 06:47:16 +01:00
|
|
|
documentation = "https://docs.rs/kanidm/latest/kanidm/"
|
2022-10-01 08:08:51 +02:00
|
|
|
|
2023-06-27 03:38:22 +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
|
|
|
|
|
|
|
[lib]
|
2022-10-05 01:48:48 +02:00
|
|
|
name = "kanidmd_lib"
|
2022-04-27 02:56:18 +02:00
|
|
|
path = "src/lib.rs"
|
2019-09-04 03:06:37 +02:00
|
|
|
|
2022-10-01 08:08:51 +02:00
|
|
|
[[bench]]
|
|
|
|
name = "scaling_10k"
|
|
|
|
harness = false
|
|
|
|
|
2019-09-04 03:06:37 +02:00
|
|
|
[dependencies]
|
2023-06-27 03:38:22 +02:00
|
|
|
base64 = { workspace = true }
|
|
|
|
base64urlsafedata = { workspace = true }
|
2023-02-01 07:21:00 +01:00
|
|
|
compact_jwt = { workspace = true, features = ["openssl"] }
|
2023-06-27 03:38:22 +02:00
|
|
|
concread = { workspace = true }
|
|
|
|
dyn-clone = { workspace = true }
|
2022-10-01 08:08:51 +02:00
|
|
|
fernet = { workspace = true, features = ["fernet_danger_timestamps"] }
|
2023-06-27 03:38:22 +02:00
|
|
|
filetime = { workspace = true }
|
2023-07-31 14:27:21 +02:00
|
|
|
# futures-util = { workspace = true }
|
2023-06-27 03:38:22 +02:00
|
|
|
hashbrown = { workspace = true }
|
|
|
|
idlset = { workspace = true }
|
|
|
|
kanidm_proto = { workspace = true }
|
|
|
|
kanidm_lib_crypto = { workspace = true }
|
|
|
|
lazy_static = { workspace = true }
|
|
|
|
ldap3_proto = { workspace = true }
|
|
|
|
libc = { workspace = true }
|
|
|
|
libsqlite3-sys = { workspace = true }
|
|
|
|
num_enum = { workspace = true }
|
2023-01-10 04:50:53 +01:00
|
|
|
# We need to explicitly ask for openssl-sys so that we get the version propagated
|
2022-11-04 05:48:00 +01:00
|
|
|
# into the build.rs for legacy feature checks.
|
2023-06-27 03:38:22 +02:00
|
|
|
openssl-sys = { workspace = true }
|
|
|
|
openssl = { workspace = true }
|
|
|
|
rand = { workspace = true }
|
2023-04-20 07:49:51 +02:00
|
|
|
regex = { workspace = true, features = ["std", "perf", "perf-inline", "unicode", "unicode-gencat"] }
|
2022-10-01 08:08:51 +02:00
|
|
|
serde = { workspace = true, features = ["derive"] }
|
2023-06-27 03:38:22 +02:00
|
|
|
serde_cbor = { workspace = true }
|
|
|
|
serde_json = { workspace = true }
|
|
|
|
sketching = { workspace = true }
|
2022-10-01 08:08:51 +02:00
|
|
|
smartstring = { workspace = true, features = ["serde"] }
|
2023-06-27 03:38:22 +02:00
|
|
|
smolset = { workspace = true }
|
|
|
|
sshkeys = { workspace = true }
|
2022-10-01 08:08:51 +02:00
|
|
|
time = { workspace = true, features = ["serde", "std"] }
|
2023-03-27 03:38:09 +02:00
|
|
|
tokio = { workspace = true, features = ["net", "sync", "time", "rt"] }
|
2022-10-01 08:08:51 +02:00
|
|
|
tokio-util = { workspace = true, features = ["codec"] }
|
2023-06-27 03:38:22 +02:00
|
|
|
toml = { workspace = true }
|
|
|
|
touch = { workspace = true }
|
2023-03-30 03:41:52 +02:00
|
|
|
nonempty = { workspace = true, features = ["serialize"] }
|
2022-08-09 05:07:06 +02:00
|
|
|
|
2022-10-01 08:08:51 +02:00
|
|
|
tracing = { workspace = true, features = ["attributes"] }
|
2022-08-09 05:07:06 +02:00
|
|
|
|
2022-10-01 08:08:51 +02:00
|
|
|
url = { workspace = true, features = ["serde"] }
|
2023-06-27 03:38:22 +02:00
|
|
|
urlencoding = { workspace = true }
|
2022-10-01 08:08:51 +02:00
|
|
|
uuid = { workspace = true, features = ["serde", "v4" ] }
|
2022-09-25 03:21:30 +02:00
|
|
|
webauthn-rs = { workspace = true, features = ["resident-key-support", "preview-features", "danger-credential-internals"] }
|
2023-06-27 03:38:22 +02:00
|
|
|
webauthn-rs-core = { workspace = true }
|
|
|
|
zxcvbn = { workspace = true }
|
2021-08-19 03:04:24 +02:00
|
|
|
|
2022-07-06 02:53:43 +02:00
|
|
|
# because windows really can't build without the bundled one
|
|
|
|
[target.'cfg(target_family = "windows")'.dependencies]
|
2022-10-01 08:08:51 +02:00
|
|
|
rusqlite = { workspace = true, features = ["bundled"] }
|
2023-06-27 03:38:22 +02:00
|
|
|
whoami = { workspace = true }
|
2022-07-06 02:53:43 +02:00
|
|
|
|
|
|
|
[target.'cfg(not(target_family = "windows"))'.dependencies]
|
2023-06-27 03:38:22 +02:00
|
|
|
rusqlite = { workspace = true }
|
2023-07-31 14:27:21 +02:00
|
|
|
kanidm_utils_users = { workspace = true }
|
2022-07-06 02:53:43 +02:00
|
|
|
|
2020-05-01 19:24:28 +02:00
|
|
|
[features]
|
2020-12-02 02:12:07 +01:00
|
|
|
# default = [ "libsqlite3-sys/bundled", "openssl/vendored" ]
|
2020-05-01 19:24:28 +02:00
|
|
|
|
2020-01-26 10:55:53 +01:00
|
|
|
[dev-dependencies]
|
2022-10-01 08:08:51 +02:00
|
|
|
criterion = { workspace = true, features = ["html_reports"] }
|
2023-06-27 03:38:22 +02:00
|
|
|
webauthn-authenticator-rs = { workspace = true }
|
2021-02-13 04:46:22 +01:00
|
|
|
|
2023-06-27 03:38:22 +02:00
|
|
|
futures = { workspace = true }
|
|
|
|
kanidmd_lib_macros = { workspace = true }
|
2023-03-01 04:10:52 +01:00
|
|
|
|
2021-02-13 04:46:22 +01:00
|
|
|
[build-dependencies]
|
2023-06-27 03:38:22 +02:00
|
|
|
profiles = { workspace = true }
|
2021-02-23 09:10:59 +01:00
|
|
|
|