sekineh / binary-heap-plus-rs

Enhancement over Rust's `std::collections::BinaryHeap`. Supports other than max heap.
MIT License
57 stars 18 forks source link

Migrate to Rust 2021 edition #38

Closed clint-white closed 2 years ago

clint-white commented 2 years ago

Resolves #37.

This migrates the crate to the Rust 2021 edition and increases the MSRV to 1.56.0, as discussed in #34.

Now that Rust 1.56.0 is required, we can remove build.rs and the remaining uses of conditional compilation. We also port two more changes from std that were not part of #34 because of version requirements:

Finally, while not exactly related to the edition migration, this PR includes a few other small fixes: