Skip to content

Commit c4966e5

Browse files
committed
fix(bdk_esplora): backport #2099 to fix no-std
1 parent 1a77475 commit c4966e5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

crates/esplora/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ bdk_core = { path = "../core", version = "0.6.1", default-features = false }
1919
esplora-client = { version = "0.12.1", default-features = false }
2020
async-trait = { version = "0.1.66", optional = true }
2121
futures = { version = "0.3.26", optional = true }
22+
serde_json = { version = "1.0", features = ["alloc"] }
2223

2324
[dev-dependencies]
2425
esplora-client = { version = "0.12.0" }

examples/example_cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ anyhow = "1"
1515
clap = { version = "4.5.17", features = ["derive", "env"] }
1616
rand = "0.8"
1717
serde = { version = "1", features = ["derive"] }
18-
serde_json = "1.0"
18+
serde_json = { version = "1.0", features = ["alloc"] }

0 commit comments

Comments
 (0)