From 2600ab05ee93e72ef78c220b01bf8c90876952dd Mon Sep 17 00:00:00 2001 From: Thomas Sullivan Date: Fri, 2 Aug 2019 07:46:07 -0500 Subject: [PATCH] Added page for Cargo package manager. --- sheets/_rust/Cargo | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sheets/_rust/Cargo diff --git a/sheets/_rust/Cargo b/sheets/_rust/Cargo new file mode 100644 index 0000000..5128f1b --- /dev/null +++ b/sheets/_rust/Cargo @@ -0,0 +1,18 @@ +// Using the Cargo package manager +// See also: https://doc.rust-lang.org/cargo/ + +// Create a new package with Cargo +cargo new hello_world + +// Build a package with Cargo +cargo build + +// Build and run a package with Cargo +cargo run + +// Build a package with Cargo for release +cargo build --release + +// Clean all output build files and targets +cargo clean +