https://github.com/matthutchinson/learning-rust
Working code examples from The Rust Programming Language, an introductory book about Rust
https://github.com/matthutchinson/learning-rust
code-examples learning-by-doing rust rust-book rust-language
Last synced: 11 months ago
JSON representation
Working code examples from The Rust Programming Language, an introductory book about Rust
- Host: GitHub
- URL: https://github.com/matthutchinson/learning-rust
- Owner: matthutchinson
- Created: 2018-08-21T11:26:53.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2021-02-09T10:00:39.000Z (about 5 years ago)
- Last Synced: 2025-01-25T06:11:55.086Z (about 1 year ago)
- Topics: code-examples, learning-by-doing, rust, rust-book, rust-language
- Language: Rust
- Homepage: https://doc.rust-lang.org/stable/book/
- Size: 473 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Learning [Rust](https://www.rust-lang.org/en-US/)
Working code examples from [The Rust Programming
Language](https://doc.rust-lang.org/stable/book/), an introductory book about
Rust.
Rather than organise code examples into chapters, the folder names should
give some clue for each topic.
Install Rust with:
curl https://sh.rustup.rs -sSf | sh
# update rust with
rustup update
Compile or test code with:
cargo build
cargo test
Create new [Cargo](https://crates.io) crates with:
cargo new {some_name}
# or library crates with
cargo new {some_lib} --lib