Skip to content

Commit f7baa53

Browse files
committed
Merge #357: release secp256k1-sys 0.4.2; make new ZERO type publically accessible
c50411f release secp256k1-sys 0.4.2; make new `ZERO` type publically accessible (Andrew Poelstra) Pull request description: Exposes the new const object provided by #345 ACKs for top commit: elichai: ACK c50411f Tree-SHA512: 42fce191b68a88811c339ff267dafbb616e765108f5b2e70514b5153f64ef5152f5704982ddc0b20ece5ad15da23927e18f9c78af2763ef971c0e3b9bbf490a5
2 parents 11ef535 + c50411f commit f7baa53

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ global-context = ["std", "rand-std", "global-context-less-secure"]
2929
global-context-less-secure = []
3030

3131
[dependencies]
32-
secp256k1-sys = { version = "0.4.1", default-features = false, path = "./secp256k1-sys" }
32+
secp256k1-sys = { version = "0.4.2", default-features = false, path = "./secp256k1-sys" }
3333
bitcoin_hashes = { version = "0.10", optional = true }
3434
rand = { version = "0.6", default-features = false, optional = true }
3535
serde = { version = "1.0", default-features = false, optional = true }

secp256k1-sys/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-sys"
3-
version = "0.4.1"
3+
version = "0.4.2"
44
authors = [ "Dawid Ciężarkiewicz <[email protected]>",
55
"Andrew Poelstra <[email protected]>",
66
"Steven Roose <[email protected]>" ]

secp256k1-sys/src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ impl AlignedType {
4242
}
4343

4444
/// A static zeroed out AlignedType for use in static assignments of [AlignedType; _]
45-
const ZERO: AlignedType = AlignedType([0u8; 16]);
45+
pub const ZERO: AlignedType = AlignedType([0u8; 16]);
4646
}
4747

4848
#[cfg(all(feature = "std", not(rust_secp_no_symbol_renaming)))]

0 commit comments

Comments
 (0)