Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit f720747

Browse files
committed
Remove base64 dependency
We currently use `base64` to deserialize a vector. At the same time we use `base64` indirectly from `rust-bitcoin` when deserializing a PSBT. If we remove the dependency on `base64` and use the re-export from bitcoin it saves having to keep the dependency and transient dependency in sync so we don't get multiple versions of the same crate in the dependency tree.
1 parent 1ce33fa commit f720747

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ bitcoin = { version = "0.30.0", features = ["serde", "base64"] }
1515
serde = { version = "^1.0", features = ["derive"] }
1616
serde_json = { version = "^1.0" }
1717
pyo3 = { version = "0.15.1", features = ["auto-initialize"] }
18-
base64 = "0.13.0"
1918

2019
miniscript = { version = "10.0", features = ["serde"], optional = true }
2120

src/types.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ use std::ops::Deref;
33
use std::str::FromStr;
44

55
use bitcoin::address::{Address, NetworkUnchecked};
6+
use bitcoin::base64;
67
use bitcoin::bip32::{ExtendedPubKey, Fingerprint};
78
use bitcoin::psbt::PartiallySignedTransaction;
89
use bitcoin::Network;

0 commit comments

Comments
 (0)