Skip to content

ariady-putra-rust/hello_cargo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello Cargo

This project serves as Cargo reference.

cargo --version
cargo new PROJECT_NAME

GIT files won’t be generated if you run cargo new within an existing GIT repository; you can override this behavior by using cargo new --vcs=[git|hg|pijul|fossil|none] NOTE: git is a common version control system; you can change cargo new to use a different version control system or no version-control-system by using:

cargo new PROJECT_NAME --vcs=none
cargo new LIB --lib
cargo add CRATE_NAME
cargo update
cargo update -p CRATE_NAME

cargo check
cargo build
cargo run

cargo check --release
cargo build --release
cargo run --release

cargo clean
cargo clean --release

cargo doc
cargo doc --open
cargo doc --release
cargo doc --release --open

Releases

No releases published

Packages

No packages published

Languages