Skip to content

Commit 2c67681

Browse files
committed
Add base64 feature
Add a "base64" feature that enables the `base64` dependency in `rust-bitcoin`. This enables `Psbt::from_str()`. Fix: #480
1 parent 7664570 commit 2c67681

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ trace = []
2020
unstable = []
2121
serde = ["actual-serde", "bitcoin/serde"]
2222
rand = ["bitcoin/rand"]
23+
base64 = ["bitcoin/base64"]
2324

2425
[dependencies]
2526
bitcoin = { version = "0.29.1", default-features = false }

contrib/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -ex
44

5-
FEATURES="compiler serde rand"
5+
FEATURES="compiler serde rand base64"
66

77
cargo update -p serde --precise 1.0.142
88
cargo update -p serde_derive --precise 1.0.142

0 commit comments

Comments
 (0)