rust-by-example

Learn Rust with examples (Live code editor included)

Github stars Tracking Chart

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 --version 0.2 --force
$ 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!

Contributing

Please see the CONTRIBUTING.md file for more details.

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
dual licensed as above, without any additional terms or conditions.

Main metrics

Overview
Name With Ownerrust-lang/rust-by-example
Primary LanguageJavaScript
Program language (Language Count: 3)
Platform
License:Apache License 2.0
所有者活动
Created At2014-04-25 06:22:40
Pushed At2025-11-03 20:26:45
Last Commit At2025-11-03 20:26:45
Release Count0
用户参与
Stargazers Count7.7k
Watchers Count147
Fork Count1.5k
Commits Count3.1k
Has Issues Enabled
Issues Count659
Issue Open Count78
Pull Requests Count1147
Pull Requests Open Count5
Pull Requests Close Count154
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private