/rust-101

A tutorial for the Rust language

Primary LanguageRustCreative Commons Attribution Share Alike 4.0 InternationalCC-BY-SA-4.0

Rust-101

This documents Rust-101, a tutorial for the Rust language.

Note that this tutorial was written for Rust 1.3 in 2015, and the language evolved a lot since then. Some of the idioms presented here may no longer reflect current practice.

Online tutorial

The most accessible form of the tutorial is its online version.

Offline Usage

You can either read through the sources in src/, or generate the HTML in docs/ using make docs. This steps assumes pipx install pycco has been run before; it will use the pipx-created venv to import pycco.

The files workspace/src/part*.rs are generated by make workspace.

Source, License

You can find the sources in the git repository (also available on GitHub). They are provided under a Creative Commons Attribution-ShareAlike 4.0 International license (CC-BY-SA 4.0). See the file LICENSE-CC for more details.

Contact

If you found a bug, or want to leave a comment, please send me a mail. I'm also happy about pull requests :)