Allow building with bundled sqlite

This commit is contained in:
Alex Mikhalev 2020-10-14 17:45:41 -06:00
parent c571eae5ce
commit cffd420f86
2 changed files with 6 additions and 0 deletions

View File

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

View File

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