From: Rob N Date: Tue, 23 Apr 2024 07:27:30 +0000 (-1000) Subject: fix(cli-docs): windows build breaks with sqlite X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/scripts/static/struct.ScriptBuf.html?a=commitdiff_plain;h=dd24b0269d07d2a168baac03e174789b7a219ff9;p=bitcoindevkit.org fix(cli-docs): windows build breaks with sqlite --- diff --git a/docs/bdk-cli/installation.md b/docs/bdk-cli/installation.md index 93c197d24f..bdd095d99d 100644 --- a/docs/bdk-cli/installation.md +++ b/docs/bdk-cli/installation.md @@ -36,6 +36,13 @@ cargo install --git https://github.com/bitcoindevkit/bdk-cli --features=esplora- cargo install --git https://github.com/bitcoindevkit/bdk-cli ``` +For Windows users, the default SQLite database requires extensive configuration and `bdk-cli` will not build properly if SQLite is unconfigured. To proceed with the installation using `sled` instead, run: + +```bash +# disable sqlite and use sled +cargo install bdk-cli --no-default-features --features=key-value-db,esplora-ureq,compiler +``` + This command may take a while to finish, since it will fetch and compile all the dependencies and the `bdk` library itself. Once it's done, you can check if everything went fine by running `bdk-cli --help` which should print something like this: