Skip to content

Commit bb240fe

Browse files
Remove unused dependencies from Cargo.toml
1 parent cb05e26 commit bb240fe

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

Cargo.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,15 @@ version = "0.1.3"
44
authors = ["Daniela Brozzoni <danielabrozzoni@protonmail.com>"]
55
edition = "2018"
66
license = "MIT"
7-
description = "Rust wrapper for Bitcoin Core Hardware Wallet Interface."
8-
repository = "https://github.com/MagicalBitcoin/rust-hwi"
7+
description = "Rust wrapper for the Bitcoin Core Hardware Wallet Interface."
8+
repository = "https://github.com/bitcoindevkit/rust-hwi"
99

1010
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1111

1212
[dependencies]
1313
bitcoin = { version = "0.28", features = ["use-serde", "base64"] }
1414
serde = { version = "^1.0", features = ["derive"] }
1515
serde_json = { version = "^1.0" }
16-
strum_macros = "0.24.0"
17-
base64 = "^0.13.0"
1816
pyo3 = { version = "0.15.1", features = ["auto-initialize"]}
1917

2018
[dev-dependencies]

src/interface.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use bitcoin::consensus::encode::serialize;
44
use bitcoin::util::bip32::DerivationPath;
55
use bitcoin::util::psbt::PartiallySignedTransaction;
66

7-
use base64;
7+
use bitcoin::base64;
88

99
use serde_json::value::Value;
1010

src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub struct HWISignature {
3030

3131
fn from_b64<'de, D: Deserializer<'de>>(d: D) -> Result<Vec<u8>, D::Error> {
3232
let b64_string = String::deserialize(d)?;
33-
base64::decode(&b64_string)
33+
bitcoin::base64::decode(&b64_string)
3434
.map_err(|_| serde::de::Error::custom("Error while Deserializing Signature"))
3535
}
3636

0 commit comments

Comments
 (0)