From cffd420f8636db320e85e287d8b492b43327203c Mon Sep 17 00:00:00 2001 From: Alex Mikhalev Date: Wed, 14 Oct 2020 17:45:41 -0600 Subject: [PATCH] Allow building with bundled sqlite --- sprinklers_database/Cargo.toml | 3 +++ sprinklers_rs/Cargo.toml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/sprinklers_database/Cargo.toml b/sprinklers_database/Cargo.toml index 0992a03..1031d37 100644 --- a/sprinklers_database/Cargo.toml +++ b/sprinklers_database/Cargo.toml @@ -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" diff --git a/sprinklers_rs/Cargo.toml b/sprinklers_rs/Cargo.toml index daaf812..e89022d 100644 --- a/sprinklers_rs/Cargo.toml +++ b/sprinklers_rs/Cargo.toml @@ -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" }