Series: The Rust Annals
Vol. I Issue 23 nlopes.dev
Announcing Rust 1.22 (and 1.22.1)
Incremental minor release with standard library refinements and Cargo usability improvements, lacking a transformative language feature or major ecosystem impact.
Library stabilizations
A few new APIs were stabilized this release:
Box<Error>now implsFrom<Cow<str>>std::mem::Discriminantis now guaranteed to beSend + Syncfs::copynow returns the length of the main stream on NTFS.- Properly detect overflow in
Instant += Duration. - impl
Hasherfor{&mut Hasher, Box<Hasher>} - impl
fmt::DebugforSplitWhitespace.
See the detailed release notes for more.
Cargo features
If you have a big example to show your users, Cargo has grown
the ability to build multi-file
examples by
creating a subdirectory inside examples that contains a
main.rs.
Cargo now has the ability to vendor git repositories.
See the detailed release notes for more.