O'Reilly logo

Mastering Rust by Vesa Kaihlavirta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Editor integrations

Rust's popularity pretty much guarantees that whichever coder's editor you are using, it has at least some preliminary out-of-the-box support for it. The Rust community has several tools that facilitate deeper support for text editors:

  • rustfmt: It formats code according to conventions.
  • clippy: It makes several additional checks that are beyond the scope of what a compiler should do. It can warn you of bad style and potential problems. Clippy relies on compiler plugins, so it is unfortunately available with nightly Rust only.
  • racer: It can do lookups into Rust standard libraries, giving you code completion and tooltips.
  • rustsym: It can query Rust code for symbols.

Of course, many editors integrate with Cargo.

All of these ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required