# cargo-features = ["default-run"] [package] name = "kanidm" version = "1.1.0-alpha" authors = ["William Brown "] # default-run = "kanidm_core" edition = "2018" license = "MPL-2.0" description = "Kanidm Server Library and Binary" documentation = "https://docs.rs/kanidm/latest/kanidm/" homepage = "https://github.com/kanidm/kanidm/" repository = "https://github.com/kanidm/kanidm/" [lib] name = "kanidm" path = "src/lib/lib.rs" [[bin]] name = "kanidmd" path = "src/server/main.rs" # [[bench]] # name = "kanidm_benchmark" # harness = false [dependencies] kanidm_proto = { path = "../kanidm_proto", version = "1.1.0-alpha" } actix = "0.9" actix-rt = "1.1" actix-web = { version = "2.0", features = ["openssl"] } actix-session = "0.3" actix-files = "0.2" log = "0.4" env_logger = "0.7" rand = "0.7" toml = "0.5" chrono = "0.4" cookie = "0.14" regex = "1" lazy_static = "1.2.0" tokio = "0.2" futures = "0.3" uuid = { version = "0.8", features = ["serde", "v4" ] } serde = "1.0" serde_cbor = "0.11" serde_json = "1.0" serde_derive = "1.0" libsqlite3-sys = { version = "0.18" } rusqlite = { version = "0.23", features = ["backup"] } r2d2 = "0.8" r2d2_sqlite = "0.16" structopt = { version = "0.3", default-features = false } time = "0.1" hashbrown = "0.8" concread = "^0.1.18" # concread = { path = "../../concread" } crossbeam = "0.7" openssl = "0.10" sshkeys = "0.3" rpassword = "4.0" num_cpus = "1.10" idlset = { version = "0.1" , features = ["use_smallvec"] } # idlset = { path = "../../idlset", features = ["use_smallvec"] } zxcvbn = "2.0" base64 = "0.12" ldap3_server = "0.1" # ldap3_server = { path = "../../ldap3_server" } futures-util = "0.3" tokio-util = { version = "0.2", features = ["codec"] } tokio-openssl = "0.4" [features] default = [ "libsqlite3-sys/bundled", "openssl/vendored" ] [dev-dependencies] criterion = "0.3" [dev-dependencies.cargo-husky] version = "1" default-features = false # Disable features which are enabled by default features = ["precommit-hook", "run-cargo-fmt"]