From dd24b0269d07d2a168baac03e174789b7a219ff9 Mon Sep 17 00:00:00 2001 From: Rob N Date: Mon, 22 Apr 2024 21:27:30 -1000 Subject: [PATCH] fix(cli-docs): windows build breaks with sqlite --- docs/bdk-cli/installation.md | 7 +++++++ 1 file changed, 7 insertions(+) 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: -- 2.49.0