kanidm/kanidm_unix_int/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

74 lines
1.6 KiB
TOML

[package]
name = "kanidm_unix_int"
version = "0.1.2"
authors = ["William Brown <william@blackhats.net.au>"]
edition = "2018"
license = "MPL-2.0"
description = "Kanidm Unix Integration Clients"
documentation = "https://docs.rs/kanidm/latest/kanidm/"
homepage = "https://github.com/kanidm/kanidm/"
repository = "https://github.com/kanidm/kanidm/"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "kanidm_unix_common"
path = "src/lib.rs"
[[bin]]
name = "kanidm_unixd"
path = "src/daemon.rs"
[[bin]]
name = "kanidm_ssh_authorizedkeys"
path = "src/ssh_authorizedkeys.rs"
[[bin]]
name = "kanidm_cache_invalidate"
path = "src/cache_invalidate.rs"
[[bin]]
name = "kanidm_cache_clear"
path = "src/cache_clear.rs"
[[bin]]
name = "kanidm_unixd_status"
path = "src/daemon_status.rs"
[[bin]]
name = "kanidm_test_auth"
path = "src/test_auth.rs"
[dependencies]
kanidm_client = { path = "../kanidm_client", version = "0.1" }
kanidm_proto = { path = "../kanidm_proto", version = "0.1" }
kanidm = { path = "../kanidmd" }
toml = "0.5"
rpassword = "4.0"
tokio = { version = "0.2", features=["full"] }
tokio-util = { version = "0.3", features = ["codec"] }
futures = "0.3"
bytes = "0.5"
libc = "0.2"
log = "0.4"
env_logger = "0.7"
serde = "1.0"
serde_derive = "1.0"
serde_cbor = "0.11"
structopt = { version = "0.3", default-features = false }
libsqlite3-sys = { version = "0.17" }
rusqlite = { version = "0.21" }
r2d2 = "0.8"
r2d2_sqlite = "0.14"
reqwest = { version = "0.10" }
[features]
default = [ "libsqlite3-sys/bundled" ]
[dev-dependencies]
kanidm = { path = "../kanidmd", version = "0.1" }
actix = "0.9"