2019-09-04 03:06:37 +02:00
|
|
|
# cargo-features = ["default-run"]
|
|
|
|
|
|
|
|
[package]
|
2019-09-14 15:44:08 +02:00
|
|
|
name = "kanidm"
|
2020-10-01 02:04:25 +02:00
|
|
|
version = "1.1.0-alpha.2"
|
2019-09-04 03:06:37 +02:00
|
|
|
authors = ["William Brown <william@blackhats.net.au>"]
|
2019-09-14 15:44:08 +02:00
|
|
|
# default-run = "kanidm_core"
|
2019-09-04 03:06:37 +02:00
|
|
|
edition = "2018"
|
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"
|
2019-09-04 03:06:37 +02:00
|
|
|
path = "src/lib/lib.rs"
|
|
|
|
|
|
|
|
[[bin]]
|
2019-09-14 15:44:08 +02:00
|
|
|
name = "kanidmd"
|
2019-09-04 03:06:37 +02:00
|
|
|
path = "src/server/main.rs"
|
|
|
|
|
2020-01-26 10:55:53 +01:00
|
|
|
# [[bench]]
|
|
|
|
# name = "kanidm_benchmark"
|
|
|
|
# harness = false
|
|
|
|
|
2019-09-04 03:06:37 +02:00
|
|
|
|
|
|
|
[dependencies]
|
2020-06-30 06:58:35 +02:00
|
|
|
kanidm_proto = { path = "../kanidm_proto", version = "1.1.0-alpha" }
|
2019-09-04 03:06:37 +02:00
|
|
|
|
2020-12-02 02:12:07 +01:00
|
|
|
url = "2.1"
|
|
|
|
tide = "0.15"
|
2020-09-06 00:44:35 +02:00
|
|
|
async-trait = "0.1"
|
|
|
|
async-h1 = "2.0"
|
2020-12-02 02:12:07 +01:00
|
|
|
tide-rustls = "0.1"
|
2020-09-18 05:19:57 +02:00
|
|
|
fernet = { git = "https://github.com/mozilla-services/fernet-rs.git" }
|
2019-09-14 10:21:41 +02:00
|
|
|
|
2020-08-24 04:15:21 +02:00
|
|
|
async-std = "1.6"
|
|
|
|
|
2019-09-04 03:06:37 +02:00
|
|
|
log = "0.4"
|
2020-04-11 02:32:56 +02:00
|
|
|
env_logger = "0.7"
|
|
|
|
rand = "0.7"
|
2020-06-18 02:30:42 +02:00
|
|
|
toml = "0.5"
|
2019-09-04 03:06:37 +02:00
|
|
|
|
|
|
|
chrono = "0.4"
|
|
|
|
regex = "1"
|
|
|
|
lazy_static = "1.2.0"
|
|
|
|
|
2020-03-07 01:49:39 +01:00
|
|
|
futures = "0.3"
|
2020-09-06 00:44:35 +02:00
|
|
|
futures-util = "0.3"
|
|
|
|
tokio = { version = "0.2", features = ["rt-threaded", "macros", "rt-util", "sync", "time", "net", "io-util", "signal"] }
|
2020-09-08 04:46:10 +02:00
|
|
|
tokio-util = { version = "0.3", features = ["codec"] }
|
2020-09-06 00:44:35 +02:00
|
|
|
tokio-openssl = "0.4"
|
|
|
|
openssl = "0.10"
|
|
|
|
|
2020-04-11 02:32:56 +02:00
|
|
|
uuid = { version = "0.8", features = ["serde", "v4" ] }
|
2019-09-04 03:06:37 +02:00
|
|
|
serde = "1.0"
|
2020-04-11 02:32:56 +02:00
|
|
|
serde_cbor = "0.11"
|
2019-09-04 03:06:37 +02:00
|
|
|
serde_json = "1.0"
|
|
|
|
serde_derive = "1.0"
|
|
|
|
|
2020-06-30 06:58:35 +02:00
|
|
|
libsqlite3-sys = { version = "0.18" }
|
|
|
|
rusqlite = { version = "0.23", features = ["backup"] }
|
2019-09-04 03:06:37 +02:00
|
|
|
r2d2 = "0.8"
|
2020-06-30 06:58:35 +02:00
|
|
|
r2d2_sqlite = "0.16"
|
2019-09-04 03:06:37 +02:00
|
|
|
|
2020-04-11 02:32:56 +02:00
|
|
|
structopt = { version = "0.3", default-features = false }
|
2020-10-10 02:31:51 +02:00
|
|
|
time = { version = "0.2", features = ["serde", "std"] }
|
2019-09-04 03:06:37 +02:00
|
|
|
|
2020-06-26 03:36:37 +02:00
|
|
|
hashbrown = "0.8"
|
2020-10-22 06:40:31 +02:00
|
|
|
concread = "^0.2.5"
|
2020-12-02 02:12:07 +01:00
|
|
|
# concread = { version = "^0.2.5", features = ["simd_support"] }
|
2020-05-11 13:12:32 +02:00
|
|
|
# concread = { path = "../../concread" }
|
2020-12-02 02:12:07 +01:00
|
|
|
# concread = { path = "../../concread", features = ["asynch"] }
|
2020-09-08 04:46:10 +02:00
|
|
|
# crossbeam = "0.7"
|
2019-09-04 03:06:37 +02:00
|
|
|
|
2020-06-30 06:58:35 +02:00
|
|
|
sshkeys = "0.3"
|
2019-09-04 03:06:37 +02:00
|
|
|
|
2020-04-11 02:32:56 +02:00
|
|
|
rpassword = "4.0"
|
2019-09-14 10:21:41 +02:00
|
|
|
num_cpus = "1.10"
|
2019-09-04 03:06:37 +02:00
|
|
|
|
2020-03-26 02:27:04 +01:00
|
|
|
idlset = { version = "0.1" , features = ["use_smallvec"] }
|
2020-05-11 13:12:32 +02:00
|
|
|
# idlset = { path = "../../idlset", features = ["use_smallvec"] }
|
2020-03-26 02:27:04 +01:00
|
|
|
|
2019-12-12 23:49:32 +01:00
|
|
|
zxcvbn = "2.0"
|
2020-03-26 23:27:07 +01:00
|
|
|
base64 = "0.12"
|
2019-09-25 12:38:20 +02:00
|
|
|
|
2020-06-10 04:07:43 +02:00
|
|
|
ldap3_server = "0.1"
|
|
|
|
# ldap3_server = { path = "../../ldap3_server" }
|
|
|
|
|
2020-12-02 02:12:07 +01:00
|
|
|
webauthn-rs = "0.3.0-alpha.1"
|
|
|
|
# webauthn-rs = { path = "../../webauthn-rs" }
|
|
|
|
|
2020-07-28 08:55:58 +02:00
|
|
|
libc = "0.2"
|
|
|
|
users = "0.10"
|
|
|
|
|
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]
|
|
|
|
criterion = "0.3"
|
2020-12-02 02:12:07 +01:00
|
|
|
# For testing webauthn
|
|
|
|
webauthn-authenticator-rs = "0.3.0-alpha.1"
|
|
|
|
# webauthn-authenticator-rs = { path = "../../webauthn-authenticator-rs" }
|
2020-01-26 10:55:53 +01:00
|
|
|
|
2020-05-11 14:16:09 +02:00
|
|
|
[dev-dependencies.cargo-husky]
|
|
|
|
version = "1"
|
|
|
|
default-features = false # Disable features which are enabled by default
|
|
|
|
features = ["precommit-hook", "run-cargo-fmt"]
|