Skip to content

ralfbiedert/cheats.rs

Repository files navigation

Logo Rust Language Cheat Sheet

Read Online PDF

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.

Building

Built with Zola, the static site generator written in Rust. See .zolaversion for the exact version the official site was deployed with. To develop locally download the indicated version, 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 [email protected], 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!

Also:

  • The Bronshtein and Semendyayev Handbook of Mathematics, the mother of all cheat sheets
  • The Book (some tables)
  • Idiomatic Rust Libraries (idiomatic Rust)
  • Ferris (Rust mascot by Karen Rustad Tölva)
  • Rust container cheat sheet (for data layout; Raph Levien)
  • That one IEEE 754-2008 Powerpoint deck I can't find anymore ...
  • String Conversions
  • steffahn from users.rust-lang.org (for outstanding explanations)
  • eddyb for feedback and explanations

FAQ

Answers to frequently asked questions can be found here.

Legal & License

Please see here for details.