rust-bitcoin-unsafe-fast/bitcoin
Andrew Poelstra ac664106be
Merge rust-bitcoin/rust-bitcoin#1829: Remove `min_value` and `max_value`
6cab7beba3 Deprecate min/max_value methods (Tobin C. Harding)
5fbbd483ea Use MIN/MAX consts instead of min/max_value (Tobin C. Harding)
3885f4d430 Add MIN/MAX consts to amounts (Tobin C. Harding)

Pull request description:

  The new MSRV (1.48.0) uses associated consts MAX/MIN instead of functions, we had functions to be compliant with the old MSRV.

  ~Remove all methods `min_value` and `max_value` including calls to these methods on stdlib types.~

  PR is now split into three patches:
  - patch 1: Add missing associated consts MIN/MAX as needed
  - patch 2: Use consts instead of method calls
  - patch 3: Deprecate methods `min_value` and `max_value`

ACKs for top commit:
  sanket1729:
    ACK 6cab7beba3
  apoelstra:
    ACK 6cab7beba3
  Kixunil:
    ACK 6cab7beba3

Tree-SHA512: 60949d1bb971e0dfbab7f573b4447f889b5fa1a5f1c9ac9325a2970fe17a19ccc93418dba57f07bed7e13864b130de48b6b3741d1d80266c6144237dd4565ff7
2023-05-04 12:59:56 +00:00
..
contrib Test with minimal dependency versions 2023-05-03 08:06:46 +10:00
embedded embedded: Remove error handler 2023-04-26 14:29:39 +10:00
examples Run the formatter 2023-03-06 10:22:29 +11:00
src Deprecate min/max_value methods 2023-05-03 08:26:58 +10:00
tests Update clippy MSRV configuration 2023-04-02 16:28:10 +02:00
CHANGELOG.md Bump version to v0.30.0 2023-03-22 08:41:21 +11:00
Cargo.toml Bump core2 dependency from 0.3.0 -> 0.3.2 2023-05-01 10:07:43 +10:00
build.rs Remove rust_v_1_46 2023-03-23 08:27:10 +11:00