2019-09-04 03:06:37 +02:00
|
|
|
[package]
|
2019-09-14 15:44:08 +02:00
|
|
|
name = "kanidm"
|
2022-08-02 05:14:25 +02:00
|
|
|
version = "1.1.0-alpha.9"
|
2019-09-04 03:06:37 +02:00
|
|
|
authors = ["William Brown <william@blackhats.net.au>"]
|
2022-03-31 06:12:53 +02:00
|
|
|
rust-version = "1.59"
|
2022-02-20 03:43:38 +01:00
|
|
|
edition = "2021"
|
2019-12-17 06:47:16 +01:00
|
|
|
license = "MPL-2.0"
|
|
|
|
description = "Kanidm Server Library and Binary"
|
|
|
|
documentation = "https://docs.rs/kanidm/latest/kanidm/"
|
2020-01-17 02:51:15 +01:00
|
|
|
homepage = "https://github.com/kanidm/kanidm/"
|
|
|
|
repository = "https://github.com/kanidm/kanidm/"
|
2019-09-04 03:06:37 +02:00
|
|
|
|
|
|
|
[lib]
|
2019-09-14 15:44:08 +02:00
|
|
|
name = "kanidm"
|
2022-04-27 02:56:18 +02:00
|
|
|
path = "src/lib.rs"
|
2019-09-04 03:06:37 +02:00
|
|
|
|
|
|
|
[dependencies]
|
2022-06-20 06:55:09 +02:00
|
|
|
async-std = { version = "^1.12.0", features = ["tokio1"] }
|
2022-08-02 05:14:25 +02:00
|
|
|
async-trait = "^0.1.57"
|
2022-06-28 01:22:31 +02:00
|
|
|
base64 = "^0.13.0"
|
2022-07-30 14:10:24 +02:00
|
|
|
base64urlsafedata = "0.1.0"
|
2022-08-08 23:50:37 +02:00
|
|
|
chrono = "^0.4.20"
|
2022-07-10 23:40:05 +02:00
|
|
|
compact_jwt = "^0.2.3"
|
2022-09-25 03:21:30 +02:00
|
|
|
concread = "^0.4.0"
|
2022-08-09 10:46:33 +02:00
|
|
|
dyn-clone = "^1.0.9"
|
2022-09-25 03:21:30 +02:00
|
|
|
fernet = { version = "^0.2.0", features = ["fernet_danger_timestamps"] }
|
2022-07-03 23:30:48 +02:00
|
|
|
filetime = "^0.2.17"
|
2022-04-27 05:35:26 +02:00
|
|
|
futures = "^0.3.21"
|
|
|
|
futures-util = "^0.3.21"
|
2022-07-18 11:58:02 +02:00
|
|
|
hashbrown = { version = "0.12.3", features = ["serde", "inline-more", "ahash"] }
|
2022-07-07 05:28:36 +02:00
|
|
|
idlset = { version = "^0.2.4" }
|
2022-06-28 01:22:31 +02:00
|
|
|
kanidm_proto = { path = "../../kanidm_proto" }
|
|
|
|
lazy_static = "^1.4.0"
|
|
|
|
ldap3_proto = "^0.2.3"
|
2022-08-09 10:38:07 +02:00
|
|
|
libc = "^0.2.127"
|
2022-07-25 01:41:35 +02:00
|
|
|
libsqlite3-sys = "^0.25.0"
|
2022-06-28 01:22:31 +02:00
|
|
|
num_enum = "^0.5.7"
|
2022-07-11 00:32:36 +02:00
|
|
|
openssl = "^0.10.41"
|
2022-06-28 01:22:31 +02:00
|
|
|
r2d2 = "^0.8.9"
|
2022-07-25 01:41:35 +02:00
|
|
|
r2d2_sqlite = "^0.21.0"
|
2022-06-28 01:22:31 +02:00
|
|
|
rand = "^0.8.5"
|
|
|
|
regex = "^1.5.6"
|
|
|
|
saffron = "^0.1.0"
|
2022-08-09 00:50:26 +02:00
|
|
|
serde = { version = "^1.0.142", features = ["derive"] }
|
2022-04-27 05:35:26 +02:00
|
|
|
serde_cbor = "^0.11.2"
|
2022-08-08 01:05:28 +02:00
|
|
|
serde_json = "^1.0.83"
|
2022-06-28 01:22:31 +02:00
|
|
|
smartstring = { version = "^1.0.1", features = ["serde"] }
|
2022-04-27 05:35:26 +02:00
|
|
|
smolset = "^1.3.1"
|
2021-03-15 01:20:54 +01:00
|
|
|
sshkeys = "^0.3.1"
|
2022-06-28 01:22:31 +02:00
|
|
|
tide = "^0.16.0"
|
|
|
|
time = { version = "=0.2.27", features = ["serde", "std"] }
|
2022-09-19 04:16:05 +02:00
|
|
|
tokio = { version = "^1.21.1", features = ["net", "sync", "time"] }
|
2022-09-12 00:45:20 +02:00
|
|
|
tokio-util = { version = "^0.7.4", features = ["codec"] }
|
2022-06-28 01:22:31 +02:00
|
|
|
toml = "^0.5.9"
|
|
|
|
touch = "^0.0.1"
|
2022-08-09 05:07:06 +02:00
|
|
|
|
|
|
|
sketching = { path = "../../sketching" }
|
|
|
|
tracing = { version = "^0.1.35", features = ["attributes"] }
|
|
|
|
|
2022-09-19 01:47:04 +02:00
|
|
|
url = { version = "^2.3.1", features = ["serde"] }
|
2022-09-05 06:39:43 +02:00
|
|
|
urlencoding = "2.1.2"
|
2022-06-28 01:22:31 +02:00
|
|
|
uuid = { version = "^1.1.2", features = ["serde", "v4" ] }
|
2022-07-31 23:51:51 +02:00
|
|
|
validator = { version = "^0.16.0", features = ["phone"] }
|
2022-09-25 03:21:30 +02:00
|
|
|
webauthn-rs = { workspace = true, features = ["resident-key-support", "preview-features", "danger-credential-internals"] }
|
|
|
|
webauthn-rs-core.workspace = true
|
2022-06-28 01:22:31 +02:00
|
|
|
zxcvbn = "^2.2.1"
|
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.rusqlite]
|
2022-07-25 01:41:35 +02:00
|
|
|
version = "^0.28.0"
|
2022-07-06 02:53:43 +02:00
|
|
|
features = ["bundled"]
|
|
|
|
|
|
|
|
[target.'cfg(not(target_family = "windows"))'.dependencies.rusqlite]
|
2022-07-25 01:41:35 +02:00
|
|
|
version = "^0.28.0"
|
2022-07-06 02:53:43 +02:00
|
|
|
|
|
|
|
[target.'cfg(target_family = "windows")'.dependencies]
|
2022-09-19 04:15:29 +02:00
|
|
|
whoami = "^1.2.3"
|
2022-07-06 02:53:43 +02:00
|
|
|
|
|
|
|
|
|
|
|
[target.'cfg(not(target_family = "windows"))'.dependencies]
|
|
|
|
users = "^0.11.0"
|
|
|
|
|
|
|
|
|
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-09-12 00:45:59 +02:00
|
|
|
criterion = { version = "^0.4.0", features = ["html_reports"] }
|
2020-12-02 02:12:07 +01:00
|
|
|
# For testing webauthn
|
2022-09-25 03:21:30 +02:00
|
|
|
webauthn-authenticator-rs.workspace = true
|
2021-02-13 04:46:22 +01:00
|
|
|
|
|
|
|
[build-dependencies]
|
2022-04-27 02:56:18 +02:00
|
|
|
profiles = { path = "../../profiles" }
|
2021-07-27 05:20:50 +02:00
|
|
|
|
2021-02-23 09:10:59 +01:00
|
|
|
[[bench]]
|
|
|
|
name = "scaling_10k"
|
|
|
|
harness = false
|
|
|
|
|