Rust has undergone significant changes over the years:
- 1.0 to 2018 edition: Focused on finishing 1.0 job with language and library stabilizations, performance improvements. Notable language changes include
?operator, inclusive ranges, returningResultfrommainand tests, various import and macro enhancements, and more. Library changes include SIMD intrinsics,Duration, etc. Tooling improvements like Rustup 1.0, Clippy and Rustfmt 1.0, etc. - 2018 edition to 2021 edition: Slower pace with a few big new features like
asyncfunctions, const generics. Language saw improvements like usingSelfin typewhereclauses. Library additions likePin,Unpin, etc. Tooling had new feature resolver, alternate registries, etc. - 2021 edition to today: Some big additions like generic associated types,
let else, etc. Library got scoped threads, new collection methods. Tooling hadcargo add,cargo remove, etc. and Rust Analyzer distributed by rustup.
In general, Rust has matured with a steady stream of changes improving various aspects and supporting a wider range of use cases.
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用。你还可以使用@来通知其他用户。