Bump sys version to 0.4.1
This commit is contained in:
parent
aa6bdaff3c
commit
455ee57ba4
|
@ -29,7 +29,7 @@ global-context = ["std", "rand-std", "global-context-less-secure"]
|
||||||
global-context-less-secure = []
|
global-context-less-secure = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
secp256k1-sys = { version = "0.4.0", default-features = false, path = "./secp256k1-sys" }
|
secp256k1-sys = { version = "0.4.1", default-features = false, path = "./secp256k1-sys" }
|
||||||
bitcoin_hashes = { version = "0.9", optional = true }
|
bitcoin_hashes = { version = "0.9", optional = true }
|
||||||
rand = { version = "0.6", default-features = false, optional = true }
|
rand = { version = "0.6", default-features = false, optional = true }
|
||||||
serde = { version = "1.0", default-features = false, optional = true }
|
serde = { version = "1.0", default-features = false, optional = true }
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "secp256k1-sys"
|
name = "secp256k1-sys"
|
||||||
version = "0.4.0"
|
version = "0.4.1"
|
||||||
authors = [ "Dawid Ciężarkiewicz <dpc@ucore.info>",
|
authors = [ "Dawid Ciężarkiewicz <dpc@ucore.info>",
|
||||||
"Andrew Poelstra <apoelstra@wpsoftware.net>",
|
"Andrew Poelstra <apoelstra@wpsoftware.net>",
|
||||||
"Steven Roose <steven@stevenroose.org>" ]
|
"Steven Roose <steven@stevenroose.org>" ]
|
||||||
|
|
|
@ -348,6 +348,18 @@ extern "C" {
|
||||||
sk: *mut c_uchar,
|
sk: *mut c_uchar,
|
||||||
tweak: *const c_uchar)
|
tweak: *const c_uchar)
|
||||||
-> c_int;
|
-> c_int;
|
||||||
|
|
||||||
|
#[cfg_attr(not(rust_secp_no_symbol_renaming), link_name = "rustsecp256k1_v0_4_1_keypair_sec")]
|
||||||
|
pub fn secp256k1_keypair_sec(cx: *const Context,
|
||||||
|
output_seckey: *mut c_uchar,
|
||||||
|
keypair: *const KeyPair)
|
||||||
|
-> c_int;
|
||||||
|
|
||||||
|
#[cfg_attr(not(rust_secp_no_symbol_renaming), link_name = "rustsecp256k1_v0_4_1_keypair_pub")]
|
||||||
|
pub fn secp256k1_keypair_pub(cx: *const Context,
|
||||||
|
output_pubkey: *mut PublicKey,
|
||||||
|
keypair: *const KeyPair)
|
||||||
|
-> c_int;
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(fuzzing))]
|
#[cfg(not(fuzzing))]
|
||||||
|
@ -518,20 +530,6 @@ extern "C" {
|
||||||
internal_pubkey: *const XOnlyPublicKey,
|
internal_pubkey: *const XOnlyPublicKey,
|
||||||
tweak32: *const c_uchar,
|
tweak32: *const c_uchar,
|
||||||
) -> c_int;
|
) -> c_int;
|
||||||
|
|
||||||
#[cfg_attr(not(rust_secp_no_symbol_renaming), link_name = "rustsecp256k1_v0_4_1_keypair_sec")]
|
|
||||||
pub fn secp256k1_keypair_sec(
|
|
||||||
cx: *const Context,
|
|
||||||
output_seckey: *mut c_uchar,
|
|
||||||
keypair: *const KeyPair
|
|
||||||
) -> c_int;
|
|
||||||
|
|
||||||
#[cfg_attr(not(rust_secp_no_symbol_renaming), link_name = "rustsecp256k1_v0_4_1_keypair_pub")]
|
|
||||||
pub fn secp256k1_keypair_pub(
|
|
||||||
cx: *const Context,
|
|
||||||
output_pubkey: *mut PublicKey,
|
|
||||||
keypair: *const KeyPair
|
|
||||||
) -> c_int;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A reimplementation of the C function `secp256k1_context_create` in rust.
|
/// A reimplementation of the C function `secp256k1_context_create` in rust.
|
||||||
|
|
Loading…
Reference in New Issue