Browse Source

Allow building with bundled sqlite

master
Alex Mikhalev 4 years ago
parent
commit
cffd420f86
  1. 3
      sprinklers_database/Cargo.toml
  2. 3
      sprinklers_rs/Cargo.toml

3
sprinklers_database/Cargo.toml

@ -6,6 +6,9 @@ edition = "2018" @@ -6,6 +6,9 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
bundled = ["rusqlite/bundled"]
[dependencies]
sprinklers_core = { path = "../sprinklers_core" }
rusqlite = "0.24.0"

3
sprinklers_rs/Cargo.toml

@ -6,6 +6,9 @@ edition = "2018" @@ -6,6 +6,9 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
bundled_sqlite = ["sprinklers_database/bundled"]
[dependencies]
sprinklers_core = { path = "../sprinklers_core" }
sprinklers_database = { path = "../sprinklers_database" }

Loading…
Cancel
Save