Skip to content

gaurarpit/rust-by-example

This branch is 30 commits behind rust-lang/rust-by-example:master.

Folders and files

NameName
Last commit message
Last commit date
Nov 7, 2024
Sep 23, 2024
Oct 30, 2024
Nov 7, 2024
Jan 26, 2018
Sep 29, 2024
Nov 27, 2020
Sep 29, 2024
Apr 24, 2014
Apr 24, 2014
Sep 29, 2024
Sep 29, 2024
Jan 5, 2024
Aug 31, 2024
Nov 20, 2023
Nov 27, 2022

Repository files navigation

Rust By Example

Build Status

Learn Rust with examples (Live code editor included)

Using

If you'd like to read Rust by Example, you can visit https://doc.rust-lang.org/rust-by-example/ to read it online.

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

git clone https://github.com/rust-lang/rust-by-example
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!

The following warnings can be ignored safely.

[WARN] (mdbook::preprocess::cmd): The command wasn't found, is the "gettext" preprocessor installed?
[WARN] (mdbook::preprocess::cmd):   Command: mdbook-gettext

Using translated version

If there is a translated resource in po/ directory, it can be specified through MDBOOK_BOOK__LANGUAGE like below:

git clone https://github.com/rust-lang/rust-by-example
cd rust-by-example
cargo install mdbook
MDBOOK_BOOK__LANGUAGE=ja mdbook build
MDBOOK_BOOK__LANGUAGE=ja mdbook serve

Contributing

Please see the CONTRIBUTING.md file for more details.

Translating

Please see the TRANSLATING.md file for more details.

Translating guide for each languages

Translations to other languages

License

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.

About

Learn Rust with examples (Live code editor included)

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Handlebars 99.1%
  • CSS 0.9%