Rust Language

What’s new in Rust 1.30

Rust 1.30 ushers in advanced procedural macros and a better-behaved module system

Become An Insider

Sign up now and get FREE access to hundreds of Insider articles, guides, reviews, interviews, blogs, and other premium content. Learn more.

Version 1.30 of the Rust systems programming language is now available.

Current version: What’s new in Rust 1.30

Version 1.30 of Rust, released on October 25, 2018, adds a few new features:

  • Procedural macros allow you to generate custom attributes and functions by way of macros. Rust 1.30 also makes it easier to apply macros to code by way of the use keyword, so that code that uses macros doesn’t have to be cluttered with as many annotations.
  • A number of improvements to the module system are being rolled out starting with this release, many also involving the use keyword. The upshot is that many module system behaviors will be less cumbersome to apply correctly, allow for clearer code, and make it easier to move use statements around in a codebase without having them break spontaneously.
  • Rust has long made it possible to write libraries that have no dependencies on the standard library. It’s now also possible to build applications that have no standard library dependencies, and thus no dependencies on any specific platform. Work on this has been in progress since Rust 1.6.

Previous version: What’s new in Rust 1.29

To continue reading this article register now