build: bundled is a default feature

If you have sqlite lib on your system, build with `--no-default-features`
This commit is contained in:
əlemi 2022-06-12 11:59:53 +02:00
parent c13b54876c
commit feaf8fd37a
No known key found for this signature in database
GPG key ID: BBCBFE5D7244634E

View file

@ -8,17 +8,18 @@ name = "dashboard_bin"
path = "src/main.rs" path = "src/main.rs"
[features] [features]
default = [] default = ["bundled"]
bundled = ["rusqlite/bundled"] bundled = ["rusqlite/bundled"]
web = ["chrono/wasmbind", "eframe/persistence"]
[dependencies] [dependencies]
rand = "0.8" rand = "0.8"
dirs = "4" dirs = "4"
git-version = "0.3.5" git-version = "0.3.5"
chrono = { version = "0.4", features = ["wasmbind"] } chrono = "0.4"
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
serde_json = "1" serde_json = "1"
rusqlite = { version = "0.27" } rusqlite = "0.27"
jql = { version = "4", default-features = false } jql = { version = "4", default-features = false }
ureq = { version = "2", features = ["json"] } ureq = { version = "2", features = ["json"] }
eframe = { version = "0.18", features = ["persistence"] } eframe = "0.18"