Skip to content

Commit

Permalink
Fix various warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
LLFourn committed May 8, 2023
1 parent 79ae667 commit d853c66
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion ecdsa_fun/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,16 @@ 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"

[[bench]]
name = "bench_ecdsa"
harness = false
required-features = ["libsecp_compat"]


[features]
default = ["std"]
Expand Down
1 change: 1 addition & 0 deletions schnorr_fun/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ wasm-bindgen-test = "0.3"
[[bench]]
name = "bench_schnorr"
harness = false
required-features = ["libsecp_compat"]


[features]
Expand Down
2 changes: 1 addition & 1 deletion secp256kfun/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions secp256kfun/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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.
///
Expand Down

0 comments on commit d853c66

Please sign in to comment.