Need help with rust-by-example?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

4.1K Stars 827 Forks Other 2.4K Commits 105 Opened issues


Learn Rust with examples (Live code editor included)

Services available


Need anything else?

Contributors list

Rust By Example

Build Status

Learn Rust with examples (Live code editor included)


If you'd like to read Rust by Example, you can visit to read it online.

If you'd like to read it locally, install Rust, and then:

$ git clone
$ cd rust-by-example
$ cargo install mdbook
$ mdbook build
$ mdbook serve

To be able to run the examples, you must be connected to the internet; you can read all content offline, however!


Please see the file for more details.

Translations to other languages


Rust by Example is licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Rust by Example by you, as defined in the Apache-2.0 license, shall be dually licensed as above, without any additional terms or conditions.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.