Skip to content

Commit

Permalink
release secp256k1-sys 0.4.2; make new ZERO type publically accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
apoelstra committed Jan 5, 2022
1 parent 11ef535 commit c50411f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ global-context = ["std", "rand-std", "global-context-less-secure"]
global-context-less-secure = []

[dependencies]
secp256k1-sys = { version = "0.4.1", default-features = false, path = "./secp256k1-sys" }
secp256k1-sys = { version = "0.4.2", default-features = false, path = "./secp256k1-sys" }
bitcoin_hashes = { version = "0.10", optional = true }
rand = { version = "0.6", default-features = false, optional = true }
serde = { version = "1.0", default-features = false, optional = true }
Expand Down
2 changes: 1 addition & 1 deletion secp256k1-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "secp256k1-sys"
version = "0.4.1"
version = "0.4.2"
authors = [ "Dawid Ciężarkiewicz <dpc@ucore.info>",
"Andrew Poelstra <apoelstra@wpsoftware.net>",
"Steven Roose <steven@stevenroose.org>" ]
Expand Down
2 changes: 1 addition & 1 deletion secp256k1-sys/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl AlignedType {
}

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

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

0 comments on commit c50411f

Please sign in to comment.