No description
Find a file
2018-04-18 12:49:55 -07:00
.github Make the PR template a little less confusing 2017-11-03 12:35:43 +01:00
assets Added assets folder for images 2017-02-26 10:21:43 -06:00
src fix C++ linking example (#385) 2018-04-18 12:49:55 -07:00
tests Initial 2017-02-20 11:22:19 -08:00
theme Bumped to the latest mdbook version (0.0.25) 2017-09-11 16:47:08 +02:00
.gitignore Git ignore Cargo.lock 2017-05-23 12:33:40 -07:00
.travis.yml Added OSX CI 2017-09-24 11:01:27 +02:00
appveyor.yml Removed appveyor cache as it caused spurious build fails 2017-09-24 10:17:38 +02:00
book.toml Bumped to the latest mdbook version (0.0.25) 2017-09-11 16:47:08 +02:00
build.rs Various restructuring 2017-04-29 23:21:34 -07:00
Cargo.toml Bump dependencies and fix buildbreaks 2018-01-11 15:14:43 +01:00
CONTRIBUTING.md Updates the wording on error handling to improve clarity. 2017-10-17 23:12:10 +02:00
deploy.sh Added OSX CI 2017-09-24 11:01:27 +02:00
LICENSE-APACHE Added clarification of licensing 2017-06-13 23:19:28 +02:00
LICENSE-MIT Added clarification of licensing 2017-06-13 23:19:28 +02:00
README.md Replaced mdbook build with mdbook server --open 2018-01-11 10:13:50 +01:00

A Rust Cookbook Build Status travis Build Status appveyor

Read it here.

This Rust Cookbook is a collection of simple Rust examples that demonstrate good practices to accomplish common programming tasks, using the crates of the Rust ecosystem.

These examples are complete, and suitable for copying directly into new cargo projects. They are tested and guaranteed to work.

Read it offline

If you'd like to read it locally:

$ git clone https://github.com/rust-lang-nursery/rust-cookbook
$ cd rust-cookbook
$ cargo install mdbook --vers "0.0.28"
$ mdbook serve --open

The output can also be opened from the book subdirectory in your web browser.

$ xdg-open ./book/index.html # linux
$ start .\book\index.html    # windows
$ open ./book/index.html     # mac

Contributing

This project is intended to be easy for new Rust programmers to contribute to, and an easy way to get involved with the Rust community. It needs and welcomes help.

For details see CONTRIBUTING.md on GitHub.

License

Rust Cookbook is licensed under either of

at your option.

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