From: Vadim Anufriev Date: Tue, 24 Mar 2026 17:43:08 +0000 (+0400) Subject: chore(deps): make shlex a non-optional dependency X-Git-Url: http://internal-gitweb-vhost/blockdata/script/encode/-script/scripts/struct.ScriptHash.html?a=commitdiff_plain;h=dd125049ca17f40aae28dead441660b2c201b495;p=bdk-cli chore(deps): make shlex a non-optional dependency Although not directly related to this PR's changes, during review we agreed to make shlex non-optional since it's used by the default `repl` feature and the package is under 20 KiB. See: https://github.com/bitcoindevkit/bdk-cli/pull/225#discussion_r2671741961 --- diff --git a/Cargo.toml b/Cargo.toml index 8f76de0..b7d36e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,6 +26,7 @@ tracing = "0.1.44" tracing-subscriber = "0.3.20" toml = "1.1.0" serde= {version = "1.0", features = ["derive"]} +shlex = "1.3.0" # Optional dependencies bdk_bitcoind_rpc = { version = "0.21.0", features = ["std"], optional = true } @@ -34,7 +35,6 @@ bdk_esplora = { version = "0.22.1", features = ["async-https", "tokio"], optiona bdk_kyoto = { version = "0.15.4", optional = true } bdk_redb = { version = "0.1.1", optional = true } bdk_sp = { version = "0.1.0", optional = true, git = "https://github.com/bitcoindevkit/bdk-sp", tag = "v0.1.0" } -shlex = { version = "1.3.0", optional = true } payjoin = { version = "=1.0.0-rc.1", features = ["v1", "v2", "io", "_test-utils"], optional = true} reqwest = { version = "0.13.2", default-features = false, optional = true } url = { version = "2.5.8", optional = true } @@ -44,7 +44,7 @@ bdk_bip322 = { version = "0.1.0", optional = true } default = ["repl", "sqlite"] # To use the app in a REPL mode -repl = ["shlex"] +repl = [] # Available database options sqlite = ["bdk_wallet/rusqlite"]