rust-secp256k1-unsafe-fast/src
Andrew Poelstra a1ac3fb311
Merge rust-bitcoin/rust-secp256k1#448: Add clippy to CI
65186e732a Add githooks (Tobin C. Harding)
6d76bd4a89 Add clippy to CI (Tobin C. Harding)
9f1ebb93cb Allow nonminimal_bool in unit test (Tobin C. Harding)
685444c342 Use "a".repeats() instead of manual implementation (Tobin C. Harding)
42de876e01 Allow let_and_return for feature guarded code (Tobin C. Harding)
d64132cd4b Allow missing_safety_doc (Tobin C. Harding)
2cb687fc69 Use to_le_bytes instead of mem::transmute (Tobin C. Harding)
c15b9d2699 Remove unneeded explicit reference (Tobin C. Harding)
35d59e7cc6 Remove explicit 'static lifetime (Tobin C. Harding)
1a582db160 Remove redundant import (Tobin C. Harding)

Pull request description:

  The first 8 patches clear clippy warnings. Next we add a CI job to run clippy. Finally we add a `githooks` directory that includes running clippy, also adds a section to the README on how to use the githooks. This is identical to the text in the [open PR](https://github.com/rust-bitcoin/rust-bitcoin/pull/1044) on `rust-bitcoin` that adds githooks _without_ yet adding clippy.

  **Note**: The new clippy CI job runs and is green :)

ACKs for top commit:
  Kixunil:
    ACK 65186e732a
  apoelstra:
    ACK 65186e732a

Tree-SHA512: f70a157896ce2a83af8cfc10f2fbacc8f68256ac96ef7dec4d190aa72324b568d2267418eb4fe99099aeda5486957c31070943d7c209973859b7b9290676ccd7
2022-06-17 17:12:12 +00:00
..
ecdsa Use to_le_bytes instead of mem::transmute 2022-06-17 10:16:00 +10:00
constants.rs Deprecate SCHNORRSIG_SIGNATURE_SIZE 2022-03-04 14:28:24 +00:00
context.rs Allow let_and_return for feature guarded code 2022-06-17 10:17:21 +10:00
ecdh.rs Remove unneeded explicit reference 2022-06-16 09:56:52 +10:00
key.rs Merge rust-bitcoin/rust-secp256k1#448: Add clippy to CI 2022-06-17 17:12:12 +00:00
lib.rs Allow missing_safety_doc 2022-06-17 10:17:21 +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