rust-secp256k1-unsafe-fast/src
Andrew Poelstra 5f59820a8a
Merge rust-bitcoin/rust-secp256k1#465: Add must_use for mut self key manipulation methods
56f18430ff Add must_use for mut self key manipulation methods (Tobin C. Harding)
5b86e38aea Put compiler attributes below rustdocs (Tobin C. Harding)

Pull request description:

  We recently added a bunch of key tweaking methods that take `mut self`
  and return the tweaked/negated keys. These functions are pure and as
  such the returned result is expected to be used. To help downstream
  users use the API correctly add `must_use` attributes with a descriptive
  error string for each of the methods that takes `mut self`.

  Patch 1 is preparatory cleanup.

ACKs for top commit:
  apoelstra:
    ACK 56f18430ff

Tree-SHA512: 95ee63d5d0a34a9915551471d2f71de1963875eda04bf4217544076be0ed2836dcdee1875432dba5e02678556af86d7487e39daac6e928083807661430ddbcd6
2022-06-28 14:56:58 +00:00
..
ecdsa Merge rust-bitcoin/rust-secp256k1#462: derive Hash for RecoverableSignature 2022-06-27 14:02:41 +00: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#465: Add must_use for mut self key manipulation methods 2022-06-28 14:56:58 +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