summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHussein <huss@pep-project.org>2019-02-12 23:46:57 +0100
committerJustus Winter <justus@sequoia-pgp.org>2020-03-25 09:38:25 +0100
commitf94cdef75eb342f3cbdb72dcee887105f1fba59c (patch)
treeee655afe7fe263d9738a38f4ca5ff5d3ea93dda1
parent6a2a82648176e4b840bfed80e188c21b6bc63c4d (diff)
Use SQLite amalgamation for Android builds
-rw-r--r--Cargo.lock1
-rw-r--r--store/Cargo.toml4
2 files changed, 5 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 5d3f2643..6ac5b924 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -869,6 +869,7 @@ name = "libsqlite3-sys"
version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
+ "cc 1.0.50 (registry+https://github.com/rust-lang/crates.io-index)",
"pkg-config 0.3.17 (registry+https://github.com/rust-lang/crates.io-index)",
"vcpkg 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
diff --git a/store/Cargo.toml b/store/Cargo.toml
index a54a6008..4f576f28 100644
--- a/store/Cargo.toml
+++ b/store/Cargo.toml
@@ -40,6 +40,10 @@ thiserror = "1"
tokio-core = "0.1.10"
tokio-io = "0.1.4"
+[target.'cfg(target_os="android")'.dependencies.rusqlite]
+version = "0.19.0"
+features = ["bundled"]
+
[build-dependencies]
capnpc = "0.10"