Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabberr/rust-by-example
Rust tutorials and exercises from Rust By Example (RBE), a collection of runnable examples that illustrate various Rust concepts and standard libraries.
https://github.com/fabberr/rust-by-example
rust rust-by-example tutorial-exercises
Last synced: 8 days ago
JSON representation
Rust tutorials and exercises from Rust By Example (RBE), a collection of runnable examples that illustrate various Rust concepts and standard libraries.
- Host: GitHub
- URL: https://github.com/fabberr/rust-by-example
- Owner: fabberr
- Created: 2022-10-09T23:35:55.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-30T16:13:37.000Z (about 2 years ago)
- Last Synced: 2023-03-06T05:30:41.864Z (almost 2 years ago)
- Topics: rust, rust-by-example, tutorial-exercises
- Language: Shell
- Homepage: https://doc.rust-lang.org/stable/rust-by-example/index.html
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rust-by-example
Rust tutorials and exercises from [Rust By Example](https://doc.rust-lang.org/stable/rust-by-example/index.html) (RBE), a collection of runnable examples that illustrate various Rust concepts and standard libraries.
### Using the toolchain
For the purposes of this tutorial, each example will be made into its own Cargo (Rust package manager and build tools) package. All packages will be initialized with no source control, under the `src/` directory, sorted by the order of appearence of their corresponding examples in RBE with the following command:
```cargo new --vcs none --name src/_```
Or, aternatively, by executing the provided script: `./cargo_new.sh `. Note: You may have to set the appropriate permissions for the script before its first use (e.g. `chmod 777 cargo_new.sh` - rwx for root, group and user under Unix-like systems).
Navigate to the individual package directories to use the `cargo build`, `cargo run` and `cargo clean` utilities.