Skip to content

Commit 44b3826

Browse files
committed
bump dependencies and release new version
1 parent 7bde8df commit 44b3826

File tree

7 files changed

+23
-17
lines changed

7 files changed

+23
-17
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
# Unreleased
1+
# 0.10.0 - 2024-01-02
2+
3+
- update `secp256k1` to 0.28.0
4+
- update `secp256k1-sys` to 0.9.0
5+
- update `hashes` to 0.13.0
6+
- rename `bitcoin_hashes` feature to `hashes`
7+
- bump MSRV to 1.56.1
28

39
# 0.9.2 - 2023-07-18
410

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "secp256k1-zkp"
3-
version = "0.9.2"
3+
version = "0.10.0"
44
authors = [ "Dawid Ciężarkiewicz <dpc@ucore.info>",
55
"Andrew Poelstra <apoelstra@wpsoftware.net>",
66
"Lucas Soriano <lucas@comit.network>",
@@ -26,15 +26,15 @@ rand-std = ["actual-rand/std", "secp256k1/rand-std"]
2626
recovery = ["secp256k1-zkp-sys/recovery", "secp256k1/recovery"]
2727
lowmemory = ["secp256k1-zkp-sys/lowmemory", "secp256k1/lowmemory"]
2828
global-context = ["std", "rand-std", "secp256k1/global-context"]
29-
bitcoin_hashes = ["secp256k1/bitcoin_hashes"]
29+
hashes = ["secp256k1/hashes"]
3030
serde = ["actual-serde", "secp256k1/serde"]
3131
rand = ["actual-rand", "secp256k1/rand"]
3232

3333
[dependencies]
3434
actual-serde = { package = "serde", version = "1.0", default-features = false, optional = true }
3535
actual-rand = { package = "rand", version = "0.8", default-features = false, optional = true }
36-
secp256k1 = "0.27.0"
37-
secp256k1-zkp-sys = { version = "0.8.1", default-features = false, path = "./secp256k1-zkp-sys" }
36+
secp256k1 = "0.28.0"
37+
secp256k1-zkp-sys = { version = "0.9.0", default-features = false, path = "./secp256k1-zkp-sys" }
3838
internals = { package = "bitcoin-private", version = "0.1.0" }
3939

4040
[dev-dependencies]

contrib/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh -ex
22

3-
FEATURES="bitcoin_hashes global-context lowmemory rand rand-std recovery serde"
3+
FEATURES="hashes global-context lowmemory rand rand-std recovery serde"
44

55
cargo --version
66
rustc --version

secp256k1-zkp-sys/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "secp256k1-zkp-sys"
3-
version = "0.8.1"
3+
version = "0.9.0"
44
authors = [ "Dawid Ciężarkiewicz <dpc@ucore.info>",
55
"Andrew Poelstra <apoelstra@wpsoftware.net>",
66
"Steven Roose <steven@stevenroose.org>",
@@ -23,7 +23,7 @@ features = [ "recovery", "lowmemory" ]
2323
cc = "1.0.28"
2424

2525
[dependencies]
26-
secp256k1-sys = "0.8.0"
26+
secp256k1-sys = "0.9.0"
2727

2828
[features]
2929
default = ["std"]

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub use secp256k1_zkp_sys as ffi;
4040

4141
extern crate secp256k1;
4242

43-
#[cfg(feature = "bitcoin_hashes")]
43+
#[cfg(feature = "hashes")]
4444
pub use secp256k1::hashes;
4545
/// Re-export of the `rand` crate
4646
#[cfg(feature = "actual-rand")]

src/zkp/rangeproof.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ impl RangeProof {
203203
}
204204
}
205205

206-
#[cfg(feature = "bitcoin_hashes")]
206+
#[cfg(feature = "hashes")]
207207
impl ::core::fmt::Display for RangeProof {
208208
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
209209
use internals::hex::display::DisplayHex;
@@ -223,7 +223,7 @@ impl str::FromStr for RangeProof {
223223
}
224224
}
225225

226-
#[cfg(all(feature = "serde", feature = "bitcoin_hashes"))]
226+
#[cfg(all(feature = "serde", feature = "hashes"))]
227227
impl ::serde::Serialize for RangeProof {
228228
fn serialize<S: ::serde::Serializer>(&self, s: S) -> Result<S::Ok, S::Error> {
229229
if s.is_human_readable() {
@@ -234,7 +234,7 @@ impl ::serde::Serialize for RangeProof {
234234
}
235235
}
236236

237-
#[cfg(all(feature = "serde", feature = "bitcoin_hashes"))]
237+
#[cfg(all(feature = "serde", feature = "hashes"))]
238238
impl<'de> ::serde::Deserialize<'de> for RangeProof {
239239
fn deserialize<D: ::serde::Deserializer<'de>>(d: D) -> Result<RangeProof, D::Error> {
240240
use crate::serde_util;
@@ -309,7 +309,7 @@ mod tests {
309309
)
310310
.unwrap();
311311

312-
#[cfg(feature = "bitcoin_hashes")]
312+
#[cfg(feature = "hashes")]
313313
{
314314
use std::str::FromStr;
315315
use std::string::ToString;

src/zkp/surjection_proof.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ impl SurjectionProof {
190190
}
191191
}
192192

193-
#[cfg(feature = "bitcoin_hashes")]
193+
#[cfg(feature = "hashes")]
194194
impl ::core::fmt::Display for SurjectionProof {
195195
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
196196
use internals::hex::display::DisplayHex;
@@ -210,7 +210,7 @@ impl str::FromStr for SurjectionProof {
210210
}
211211
}
212212

213-
#[cfg(all(feature = "serde", feature = "bitcoin_hashes"))]
213+
#[cfg(all(feature = "serde", feature = "hashes"))]
214214
impl ::serde::Serialize for SurjectionProof {
215215
fn serialize<S: ::serde::Serializer>(&self, s: S) -> Result<S::Ok, S::Error> {
216216
if s.is_human_readable() {
@@ -221,7 +221,7 @@ impl ::serde::Serialize for SurjectionProof {
221221
}
222222
}
223223

224-
#[cfg(all(feature = "serde", feature = "bitcoin_hashes"))]
224+
#[cfg(all(feature = "serde", feature = "hashes"))]
225225
impl<'de> ::serde::Deserialize<'de> for SurjectionProof {
226226
fn deserialize<D: ::serde::Deserializer<'de>>(d: D) -> Result<SurjectionProof, D::Error> {
227227
use crate::serde_util;
@@ -300,7 +300,7 @@ mod tests {
300300

301301
assert_eq!(parsed, proof);
302302

303-
#[cfg(feature = "bitcoin_hashes")]
303+
#[cfg(feature = "hashes")]
304304
{
305305
use std::str::FromStr;
306306
use std::string::ToString;

0 commit comments

Comments
 (0)