From 250f6525fc2109454c00232e4f8d9a241e9e64b5 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Thu, 16 Nov 2023 07:59:11 -0700 Subject: [PATCH] dsa+ecdsa: support `signature` up to v2.2 (#756) The v2.2.0 release bumped MSRV to 1.60, however that's still compatible with the MSRV of `dsa` and `ecdsa`, which are both MSRV 1.65. --- dsa/Cargo.toml | 2 +- ecdsa/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dsa/Cargo.toml b/dsa/Cargo.toml index 6167cb1d..b69696c2 100644 --- a/dsa/Cargo.toml +++ b/dsa/Cargo.toml @@ -21,7 +21,7 @@ num-traits = { version = "0.2", default-features = false } pkcs8 = { version = "0.10", default-features = false, features = ["alloc"] } rfc6979 = { version = "0.4", path = "../rfc6979" } sha2 = { version = "0.10", default-features = false } -signature = { version = "2.0, <2.2", default-features = false, features = ["alloc", "digest", "rand_core"] } +signature = { version = "2.0, <2.3", default-features = false, features = ["alloc", "digest", "rand_core"] } zeroize = { version = "1", default-features = false } [dev-dependencies] diff --git a/ecdsa/Cargo.toml b/ecdsa/Cargo.toml index 2091d9ba..d5fa41f9 100644 --- a/ecdsa/Cargo.toml +++ b/ecdsa/Cargo.toml @@ -17,7 +17,7 @@ rust-version = "1.65" [dependencies] elliptic-curve = { version = "0.13.6", default-features = false, features = ["digest", "sec1"] } -signature = { version = "2.0, <2.2", default-features = false, features = ["rand_core"] } +signature = { version = "2.0, <2.3", default-features = false, features = ["rand_core"] } # optional dependencies der = { version = "0.7", optional = true }