Hi, As rust tries to become more and more stable there's an important feature in any stable compiled language that aims to be a system language, Stability.
This requires 2 main things:
- That the code I wrote a year ago still compile with the latest compiler(latest in the same major version).
- That the code I wrote a year ago still compile with the same compiler I've used (i.e. a compiler that was audited / air gapped approved by some regulation)
The first requirement is already pretty good while the second one is currently a disaster. Most of the ecosystem assumes you're always updating your compiler and allow themselves to increase compiler requirements in minor version bumps.
I'm not saying this is necessarily bad practice,
But I'm suggesting to add minimum compiler version to
Cargo.toml such that the compiler can take that into account when resolving dependencies, and if there's version X.Y.Z but it doesn't support the used compiler it could check X.Y.Z-1 etc.