/cheats.rs

Rust Language Cheat Sheet - https://cheats.rs

Primary LanguageRust

Logo Rust Language Cheat Sheet

Read Online Cached PDF

† PDF is only updated occasionally for those who can't use the "Generate PDF" button on the site; online version is generally recommended.

Background

A single-page Rust resource for people who like high information density.

Use cases, in order of priority:

  • identification & lookup guide for constructs encountered in code,
  • discover parts of the language you might not know,
  • learn about Rust if you have prior programming experience.

Design guides:

  • have high information density; every word counts.
  • be printer and mobile friendly
  • don't repeat what's better explained elsewhere, but do state the very essence.
  • have memorable URL :)

Building

Built with Zola, the static site generator written in Rust. To develop locally install Zola, then run:

zola serve

Contributing

Contributions are welcome and you can PR bug fixes directly. If you somehow ended up here but prefer not to use Github write to webmaster@cheats.rs, or use the on-site buttons.

Constructive feedback would be most actionable, but if you just want to vent your frustration that's fine too :)

Credits

Big shout-out to all the contributors and people filing issues and pull requests for being awesome!

Took additional inspiration from:

Legal & License

Please see here for details.