From c6eeb7b989f149a4632e740302787802cbdf4e6d Mon Sep 17 00:00:00 2001 From: Steve Myers Date: Fri, 11 Mar 2022 19:44:31 -0600 Subject: [PATCH] Add sqlite-bundled feature --- .github/workflows/cont_integration.yml | 3 ++- CHANGELOG.md | 2 ++ Cargo.toml | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cont_integration.yml b/.github/workflows/cont_integration.yml index 5bf54f07..badcd2e6 100644 --- a/.github/workflows/cont_integration.yml +++ b/.github/workflows/cont_integration.yml @@ -28,6 +28,7 @@ jobs: - async-interface - use-esplora-reqwest - sqlite + - sqlite-bundled steps: - name: checkout uses: actions/checkout@v2 @@ -114,7 +115,7 @@ jobs: override: true - name: Test run: cargo test --no-default-features --features ${{ matrix.blockchain.features }} ${{ matrix.blockchain.name }}::bdk_blockchain_tests - + check-wasm: name: Check WASM runs-on: ubuntu-20.04 diff --git a/CHANGELOG.md b/CHANGELOG.md index 44e6ed4a..1dabc409 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +- Add `sqlite-bundled` feature for deployments that need a bundled version of sqlite, ie. for mobile platforms. + ## [v0.17.0] - [v0.16.1] - Removed default verification from `wallet::sync`. sync-time verification is added in `script_sync` and is activated by `verify` feature flag. diff --git a/Cargo.toml b/Cargo.toml index 49fc8a22..412ac865 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,6 +55,7 @@ compiler = ["miniscript/compiler"] verify = ["bitcoinconsensus"] default = ["key-value-db", "electrum"] sqlite = ["rusqlite", "ahash"] +sqlite-bundled = ["sqlite", "rusqlite/bundled"] compact_filters = ["rocksdb", "socks", "lazy_static", "cc"] key-value-db = ["sled"] all-keys = ["keys-bip39"]