From 38c41e46128a9a160f602cbc11ebb7543dfeda71 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Wed, 11 May 2022 10:33:03 +1000 Subject: [PATCH] Replace base64-compat dependency Now that we have MSRV 1.41.1 we can use the more modern `base64` instead of the compat crate. Requires no changes other than changing the dependency. --- Cargo.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d89cee194c..8b46fdd283 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,6 @@ exclude = ["./test_data"] # Please don't forget to add relevant features to docs.rs below [features] default = [ "std", "secp-recovery" ] -base64 = [ "base64-compat" ] unstable = [] rand = ["secp256k1/rand-std"] use-serde = ["serde", "bitcoin_hashes/serde", "secp256k1/serde"] @@ -39,7 +38,7 @@ bitcoin_hashes = { version = "0.10.0", default-features = false } secp256k1 = { version = "0.22.0", default-features = false } core2 = { version = "0.3.0", optional = true, default-features = false } -base64-compat = { version = "1.0.0", optional = true } +base64 = { version = "0.13.0", optional = true } bitcoinconsensus = { version = "0.19.0-3", optional = true } serde = { version = "1", default-features = false, features = [ "derive", "alloc" ], optional = true } hashbrown = { version = "0.8", optional = true }