[package]
name = "chartered-db"
version = "0.1.0"
edition = "2018"
[dependencies]
chartered-fs = { path = "../chartered-fs" }
chartered-types = { path = "../chartered-types" }
base64 = "0.13"
bitflags = "1"
chrono = "0.4"
diesel = { version = "1", features = ["r2d2", "chrono"] }
diesel_migrations = "1.4"
diesel-tracing = "0.1"
displaydoc = "0.2"
hex = "0.4"
http = "0.2"
itertools = "0.10"
libsqlite3-sys = { version = "*", features = ["bundled"], optional = true }
option_set = "0.1"
rand = "0.8"
reqwest = "0.11"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"
tracing = "0.1"
tokio = "1"
uuid = "0.8"
dotenv = "0.15"
thrussh-keys = "0.21"
[features]
sqlite = ["libsqlite3-sys", "diesel/sqlite", "diesel-tracing/sqlite"]
postgres = ["diesel/postgres", "diesel-tracing/postgres"]