Skip to content

Commit 6e5c556

Browse files
committed
Merge #874: Fix release and do another RC: v0.32.0-beta.2
5648336 Bump version to 0.32.0-beta.2 (Tobin C. Harding) d4f22df Switch arg order in verify_ecdsa (Tobin C. Harding) bdcb242 Remove doc_auto_cfg (Tobin C. Harding) Pull request description: The changes in this release do not need a changelog entry because they are: - Remove `doc_auto_cfg` - Re-order args in deprecated method we just added already (changelog mentions it already). I noticed the arg thing while doing the upgrade in `bitcoin` and have tested the change. ACKs for top commit: apoelstra: ACK 5648336; successfully ran local tests Tree-SHA512: efb04ea5244e1ce4d5f4489b068c6d882fcf01a08803330c9555daeb0601f095723b88e348e15d9c2ea6f9c4b32742af689c810ec745e58b763ec615e91f4aa8
2 parents 7e2c2ff + 5648336 commit 6e5c556

File tree

6 files changed

+6
-8
lines changed

6 files changed

+6
-8
lines changed

Cargo-minimal.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2"
206206

207207
[[package]]
208208
name = "secp256k1"
209-
version = "0.32.0-beta.1"
209+
version = "0.32.0-beta.2"
210210
dependencies = [
211211
"arbitrary",
212212
"bincode",

Cargo-recent.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294"
197197

198198
[[package]]
199199
name = "secp256k1"
200-
version = "0.32.0-beta.1"
200+
version = "0.32.0-beta.2"
201201
dependencies = [
202202
"arbitrary",
203203
"bincode",

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "secp256k1"
3-
version = "0.32.0-beta.1"
3+
version = "0.32.0-beta.2"
44
authors = [ "Dawid Ciężarkiewicz <[email protected]>",
55
"Andrew Poelstra <[email protected]>" ]
66
license = "CC0-1.0"

secp256k1-sys/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
// Coding conventions
88
#![deny(non_upper_case_globals, non_camel_case_types, non_snake_case, unused_mut)]
99
#![cfg_attr(all(not(test), not(feature = "std")), no_std)]
10-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
1110

1211
#[cfg(any(test, feature = "std"))]
1312
extern crate core;

src/ecdsa/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -410,18 +410,18 @@ impl<C: Verification> Secp256k1<C> {
410410
/// #
411411
/// let message = Message::from_digest_slice(&[0xab; 32]).expect("32 bytes");
412412
/// let sig = secp.sign_ecdsa(message, &secret_key);
413-
/// assert_eq!(secp.verify_ecdsa(&sig, message, &public_key), Ok(()));
413+
/// assert_eq!(secp.verify_ecdsa(message, &sig, &public_key), Ok(()));
414414
///
415415
/// let message = Message::from_digest_slice(&[0xcd; 32]).expect("32 bytes");
416-
/// assert_eq!(secp.verify_ecdsa(&sig, message, &public_key), Err(Error::IncorrectSignature));
416+
/// assert_eq!(secp.verify_ecdsa(message, &sig, &public_key), Err(Error::IncorrectSignature));
417417
/// # }
418418
/// ```
419419
#[inline]
420420
#[deprecated(since = "0.32.0", note = "use ecdsa::verify instead")]
421421
pub fn verify_ecdsa(
422422
&self,
423-
sig: &Signature,
424423
msg: impl Into<Message>,
424+
sig: &Signature,
425425
pk: &PublicKey,
426426
) -> Result<(), Error> {
427427
self::verify(sig, msg, pk)

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@
149149
#![warn(missing_docs, missing_copy_implementations, missing_debug_implementations)]
150150
#![cfg_attr(all(not(test), not(feature = "std")), no_std)]
151151
// Experimental features we need.
152-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
153152
#![cfg_attr(bench, feature(test))]
154153

155154
#[cfg(feature = "alloc")]

0 commit comments

Comments
 (0)