From feaf8fd37aa829306a2fe402c2edc9b2a76824e3 Mon Sep 17 00:00:00 2001 From: alemidev Date: Sun, 12 Jun 2022 11:59:53 +0200 Subject: [PATCH] build: bundled is a default feature If you have sqlite lib on your system, build with `--no-default-features` --- Cargo.toml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b68efcf..b385ffb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,17 +8,18 @@ name = "dashboard_bin" path = "src/main.rs" [features] -default = [] +default = ["bundled"] bundled = ["rusqlite/bundled"] +web = ["chrono/wasmbind", "eframe/persistence"] [dependencies] rand = "0.8" dirs = "4" git-version = "0.3.5" -chrono = { version = "0.4", features = ["wasmbind"] } +chrono = "0.4" serde = { version = "1", features = ["derive"] } serde_json = "1" -rusqlite = { version = "0.27" } +rusqlite = "0.27" jql = { version = "4", default-features = false } ureq = { version = "2", features = ["json"] } -eframe = { version = "0.18", features = ["persistence"] } \ No newline at end of file +eframe = "0.18" \ No newline at end of file