Skip to content

hrodic/rust-book-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Learning rust hands on

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published