nightly2version
This is a very lightweight, very fast, #[no_std]-compatible Rust crate destined to converting from a Rust version to a timestamp and vice-versa (Along other kinds of version-checking shenanigans)
use RustVersion;
You can convert from a timestamp to a [RustVersion], change the minor, check if the mutated version exists and then get a timestamp from that, in just a few method calls. It's really great!