Skip to content

Sample project illustrating Rust workspaces, packages, and crates

Notifications You must be signed in to change notification settings

kevin-june/rust-sample-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Project

This project contains a workspace with several packages. Each package is a bit different. Some have only a library crate, some have only a binary crate, some have both.

Here are a few useful commands:

# Build all the things
cargo build

# Build just one package
cargo build --package <NAME>

# Build just one binary
cargo build --bin <NAME>

# Test all the things
cargo test

# Test just one package
cargo test --package <NAME>

# Run a binary
cargo run --bin <NAME>

# Other useful commands
cargo check
cargo clean
cargo doc --open
cargo tree
cargo update

About

Sample project illustrating Rust workspaces, packages, and crates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages