kanidm/kanidmd/Cargo.toml
Pando85 d6acffd869 Fix sqlite fails in CI tests and fmt error
Add `libsqlite3-sys` crate to avoid sqlite3 missmatching version.

From [https://lib.rs/crates/libsqlite3-sys](https://lib.rs/crates/libsqlite3-sys)
> If you use the bundled feature, libsqlite3-sys will use the cc crate to compile SQLite from source and link against that. This source is embedded in the libsqlite3-sys crate and is currently SQLite 3.30.1 (as of rusqlite 0.21.0 / libsqlite3-sys 0.17.0). This is probably the simplest solution to any build problems.

Remove sqlite OS packages dependencies for build.

Also, we fix a format error to allow CI tests to pass again.
2020-05-06 10:16:26 +10:00

82 lines
1.5 KiB
TOML

# cargo-features = ["default-run"]
[package]
name = "kanidm"
version = "0.1.2"
authors = ["William Brown <william@blackhats.net.au>"]
# 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 = "0.1" }
actix = "0.9"
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"
chrono = "0.4"
cookie = "0.13"
regex = "1"
lazy_static = "1.2.0"
# lru = "0.1"
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.17" }
rusqlite = { version = "0.21", features = ["backup"] }
r2d2 = "0.8"
r2d2_sqlite = "0.14"
structopt = { version = "0.3", default-features = false }
time = "0.1"
concread = "0.1"
openssl = "0.10"
sshkeys = "0.1"
rpassword = "4.0"
num_cpus = "1.10"
idlset = { version = "0.1" , features = ["use_smallvec"] }
# idlset = { version = "0.1" }
zxcvbn = "2.0"
base64 = "0.12"
[features]
default = [ "libsqlite3-sys/bundled" ]
[dev-dependencies]
criterion = "0.3"