Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 608 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 608 Bytes

Rust book

Quick start

Download

git clone https://github.com/hrodic/rust-book-playground.git
cd rust-book-playground

Run (use bin names from Cargo.toml file)

cargo run --bin=hello_world
cargo run --bin=guessing_game
cargo run --bin=variables
...

Testing

Docs

Unit

cargo test --bin=writing_tests -- --test-threads=1

Integration (only possible for libraries lib.rs - aka public API)

cargo test --test integration_test -- --show-output