diff --git a/ecdsa_fun/Cargo.toml b/ecdsa_fun/Cargo.toml index 0fefb544..1e04d192 100644 --- a/ecdsa_fun/Cargo.toml +++ b/ecdsa_fun/Cargo.toml @@ -21,7 +21,7 @@ bincode = { version = "1.0", optional = true } [dev-dependencies] rand = "0.8" -criterion = "0.3" +criterion = "0.4" lazy_static = "1.4" sha2 = "0.10" serde_json = "1" @@ -29,6 +29,8 @@ serde_json = "1" [[bench]] name = "bench_ecdsa" harness = false +required-features = ["libsecp_compat"] + [features] default = ["std"] diff --git a/schnorr_fun/Cargo.toml b/schnorr_fun/Cargo.toml index 2a4ad024..3e6f17f6 100644 --- a/schnorr_fun/Cargo.toml +++ b/schnorr_fun/Cargo.toml @@ -32,6 +32,7 @@ wasm-bindgen-test = "0.3" [[bench]] name = "bench_schnorr" harness = false +required-features = ["libsecp_compat"] [features] diff --git a/secp256kfun/Cargo.toml b/secp256kfun/Cargo.toml index 7a2912e9..14814c61 100644 --- a/secp256kfun/Cargo.toml +++ b/secp256kfun/Cargo.toml @@ -31,7 +31,7 @@ rand = { version = "0.8" } lazy_static = "1.4" sha2 = "0.10" proptest = "1" -criterion = "0.3" +criterion = "0.4" [target.'cfg(target_arch = "wasm32")'.dev-dependencies] wasm-bindgen-test = "0.3" diff --git a/secp256kfun/src/lib.rs b/secp256kfun/src/lib.rs index 4b4ff658..bef76baf 100755 --- a/secp256kfun/src/lib.rs +++ b/secp256kfun/src/lib.rs @@ -41,6 +41,7 @@ pub use scalar::Scalar; pub use slice::Slice; #[cfg(feature = "libsecp_compat")] +/// Re-export `secp256k1` pub extern crate secp256k1; /// Re-export `serde` @@ -59,6 +60,7 @@ mod libsecp_compat; mod proptest_impls; #[cfg(feature = "proptest")] #[cfg_attr(docsrs, doc(cfg(feature = "proptest")))] +/// Re-export `proptest` pub extern crate proptest; /// The main basepoint for secp256k1 as specified in [_SEC 2: Recommended Elliptic Curve Domain Parameters_] and used in Bitcoin. ///