不稳定的特性状态
Language
Feature | Status | Minimum Edition |
---|---|---|
impl Trait | Shipped, 1.26 | 2015 |
Basic slice patterns | Shipped, 1.26 | 2015 |
Default match bindings | Shipped, 1.26 | 2015 |
Anonymous lifetimes | Shipped, 1.26 | 2015 |
dyn Trait | Shipped, 1.27 | 2015 |
SIMD support | Shipped, 1.27 | 2015 |
? in main /tests | Shipping, 1.26 and 1.28 | 2015 |
In-band lifetimes | Unstable; tracking issue | 2015 |
Lifetime elision in impl s | Unstable; tracking issue | 2015 |
Non-lexical lifetimes | Implemented but not ready for preview | 2015 |
T: 'a inference in struct s | Unstable; tracking issue | 2015 |
Raw identifiers | Unstable; tracking issue | ? |
Import macros via use | Unstable; tracking issue | ? |
Module system path changes | Unstable; tracking issue | 2018 |
虽然 Rust 2015 中已经提供了其中一些功能,但是它们在这里被跟踪,因为它们是作为 Rust 2018 版本的一部分进行推广的。 因此,它们将在本指南的后续章节中讨论。标记为 “Shipped” 的功能现在都可以在稳定的 Rust 中使用,因此您可以立即开始使用它们!
Standard library
Feature | Status |
---|---|
Custom global allocators | Will ship in 1.28 |
Tooling
Tool | Status |
---|---|
RLS 1.0 | Feature-complete; see 1.0 milestone |
rustfmt 1.0 | Finalizing spec; 1.0 milestone, style guide RFC, stability RFC |
Clippy 1.0 | RFC |
Documentation
Tool | Status |
---|---|
Edition Guide | Initial draft complete |
TRPL | Updated as features stabilize |
Web site
视觉设计正在最终确定,早期的内容头脑风暴已经完成。