From 4d54b161e7d09b4db7e5f6e3b890760f2eed0010 Mon Sep 17 00:00:00 2001 From: Martin Habovstiak Date: Tue, 13 Sep 2022 15:47:21 +0200 Subject: [PATCH] Fix serde versions `Cargo.toml` claimed that this crate works with very old versions of `serde` which wasn't the case. This commit changes the versions to minimal known-to-work values. --- bitcoin/Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bitcoin/Cargo.toml b/bitcoin/Cargo.toml index e8717845..41110419 100644 --- a/bitcoin/Cargo.toml +++ b/bitcoin/Cargo.toml @@ -42,12 +42,12 @@ core2 = { version = "0.3.0", optional = true, default-features = false } base64 = { version = "0.13.0", optional = true } bitcoinconsensus = { version = "0.20.2-0.5.0", optional = true } # Do NOT use this as a feature! Use the `serde` feature instead. -actual-serde = { package = "serde", version = "1", default-features = false, features = [ "derive", "alloc" ], optional = true } +actual-serde = { package = "serde", version = "1.0.103", default-features = false, features = [ "derive", "alloc" ], optional = true } hashbrown = { version = "0.8", optional = true } [dev-dependencies] -serde_json = "<1.0.45" -serde_test = "1" +serde_json = "1.0.0" +serde_test = "1.0.19" secp256k1 = { version = "0.24.0", features = [ "recovery", "rand-std" ] } bincode = "1.3.1"