rust-secp256k1-unsafe-fast/src
Andrew Poelstra 71b47d1273
Merge rust-bitcoin/rust-secp256k1#473: Create configuration conditional "bench"
a431edb86a Create configuration conditional bench (Tobin C. Harding)
2a1c9ab4b8 Remove rand-std feature from unstable (Tobin C. Harding)
ddc108c117 Increase heading size (Tobin C. Harding)
596adff8ba Remove unneeded whitespace (Tobin C. Harding)

Pull request description:

  As we did in rust-bitcoin [0] create a configuration conditional `bench`
  that we can use to guard bench mark code. This has the benefit of
  making our features additive i.e., we can now test with `--all-features`
  with a stable toolchain (currently this fails because of our use of the
  `test` crate).

  Please note, this patch maintains the current behaviour of turning on
  the `recovery` and `rand-std` features when benching although I was
  unable to ascertain why this is needed.

  [0] - https://github.com/rust-bitcoin/rust-bitcoin/pull/1092

ACKs for top commit:
  sanket1729:
    ACK a431edb86a.
  apoelstra:
    ACK a431edb86a

Tree-SHA512: 913f5fbe0da08ec649081bf237c1d31cee58dacdac251d6030afabb99d455286c6d1dbdb6b2ac892b5d3c24584933254d1cfeec8e12f531cc420bd9d455a6531
2022-07-19 21:11:13 +00:00
..
ecdsa Create configuration conditional bench 2022-07-14 09:35:23 +10:00
constants.rs Deprecate SCHNORRSIG_SIGNATURE_SIZE 2022-03-04 14:28:24 +00:00
context.rs context: unconditionally disable auto-rerandomization on wasm 2022-07-14 14:08:04 +00:00
ecdh.rs Create configuration conditional bench 2022-07-14 09:35:23 +10:00
key.rs Create configuration conditional bench 2022-07-14 09:35:23 +10:00
lib.rs Create configuration conditional bench 2022-07-14 09:35:23 +10:00
macros.rs Improve Error display 2022-06-14 09:33:48 +10:00
scalar.rs Add `Scalar` newtype and use it in tweaking APIs 2022-06-09 15:08:19 +02:00
schnorr.rs Use "a".repeats() instead of manual implementation 2022-06-17 10:17:21 +10:00
secret.rs Update secp256k1 to edition 2018 and fix imports 2022-06-07 23:59:25 +03:00
serde_util.rs Use fixed width serde impls for keys 2022-06-09 16:09:31 +10:00