Use more recent Rust features and bump MSRV#64
Use more recent Rust features and bump MSRV#64hniksic wants to merge 5 commits intoAmanieu:masterfrom
Conversation
This requires Rust 1.53.0.
This requires Rust 1.63.0.
This requires Rust 1.70.0.
|
I've also removed the If this is undesirable, I'll revert or remove that commit. (The same of course applies to other changes grouped in this PR, which are all in separate commits, and therefore easy to undo.) |
|
UPDATE: This PR can be closed. I've raised two PRs that carry the remaining relevant changes over: Original messageFor reference:
In #76 there is a mention of
The |
|
You're right - closing, as this is indeed covered by other PRs (not all of them merged, though). |
This PR was inspired by the stabilization of
std::sync::OnceLock, which allows this crate to omit the dependency to theonce_cellexternal crate. This seems like a benefit that would justify an MSRV bump. And if we're bumping MSRV anyway, then we can also useusize::BITSand simplify the example using scoped threads.