Updated Rust Improves Documentation
Updated Rust Improves Documentation
Written by Kay Ewbank   
Monday, 12 June 2017

There's a new version of the systems programming language Rust with improvements to package handling and rewritten documentation.


Rust was originally sponsored by Mozilla, and is designed to be safe, fast and concurrent without having a garbage collector. Intended uses include embedding in other languages, writing programs with specific space and time requirements, and writing low-level code, like device drivers and operating systems.

A major improvement to the new version is a new edition of “The Rust Programming Language”, the official book about Rust. The new edition is a complete re-write on the previous edition, with better explanations for a lot of Rust’s core concepts, and instructions for new projects to build.

In the language, the way the pub keyword works has been changed to make it easier to declare APIs that are “public to your crate”, but not exposed to your users.

Seven new APIs were stabilized this release: 

  • Child::try_wait is a non-blocking form of Child::wait.

  • HashMap::retain and HashSet::retain bring the retain API Vec<T> has to these two hash data structures.

  • PeekMut::pop lets you pop the top element from a BinaryHeap<T> after you’ve already peeked at it without needing to reorder the heap a second time.

  • TcpStream::peek, UdpSocket::peek, UdpSocket::peek_from let you peek at a stream or socket.


Cargo has also been improved. Cargo lets developers use modern application package management within Rust. The updated version has added support for the Pijul VCS. Cargo also has several new flags including  --bins, --examples, --tests, and --benches, which will let you build all programs of that type. Finally, Cargo now supports Haiku and Android.

The next release of Rust, which is currently in beta, will focus more on improvements to the compiler speed.


More Information

Rust Language Site

Related Articles

Rust 1.16

Rust 1.12

Rust 1.6 Released

Rust 1.3 Released

Rust Releases New Versions

Rust Hits Stable 1.0 - So What?

Rust 1.0 Alpha Released       

Rust Reaches 0.9

Rust 0.7 Released

Rust 0.4 Full Integration of Borrowed Pointers


To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on, Twitter, FacebookGoogle+ or Linkedin.


HBase 1.4 With New Shaded Client

Apache has released an updated version of HBase with a new shaded client intended to improve compatibility, along with improvements to the REST client, enhanced autorestart capabilities, and improveme [ ... ]

How Spectre Works

This the second part of our examination of how Meltdown and Spectre work. The aim is not to explain how to manage the vulnerabliities but to understand how they work and what exactly the flaw is in th [ ... ]

More News



blog comments powered by Disqus

Last Updated ( Monday, 12 June 2017 )

RSS feed of news items only
I Programmer News
Copyright © 2018 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.