From: Steve Myers Date: Sat, 12 Mar 2022 01:44:31 +0000 (-0600) Subject: Add sqlite-bundled feature X-Git-Tag: v0.18.0~12^2 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/enum.FileStoreError.html?a=commitdiff_plain;h=c6eeb7b989f149a4632e740302787802cbdf4e6d;p=bdk Add sqlite-bundled feature --- 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"]