]> Untitled Git - bdk-cli/commitdiff
chore(deps): make shlex a non-optional dependency
authorVadim Anufriev <mailbox@vaan.io>
Tue, 24 Mar 2026 17:43:08 +0000 (21:43 +0400)
committerVadim Anufriev <m@vaan.io>
Wed, 27 May 2026 07:56:16 +0000 (11:56 +0400)
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

Cargo.toml

index 8f76de0dae98392c28b1f3cc8e4e4295265a718e..b7d36e3d2133525927b4d46d0ce4fc9b9a9f8015 100644 (file)
@@ -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"]