rust-bitcoin-unsafe-fast/internals
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
src Use MIN/MAX consts instead of min/max_value 2023-05-03 08:22:30 +10:00
CHANGELOG.md update internals CHANGELOG for release 2023-03-08 02:39:15 +00:00
Cargo.toml rename bitcoin-internals to bitcoin-private 2023-03-13 16:02:12 +00:00
README.md Introduce bitcoin-internals crate 2022-09-13 08:59:57 +10:00
build.rs Activate `rust_v_1_46` when on high-enough rustc 2022-09-14 08:55:02 +02:00

README.md

Rust Bitcoin Internals

This crate is only meant to be used internally by crates in the rust-bitcoin ecosystem.

This crate will never be stabilized, depend on it at your own risk.