From: acevest Date: Mon, 23 Nov 2020 15:47:41 +0000 (+0800) Subject: hello_cargo X-Git-Url: http://zhaoyanbai.com/repos/Bv9ARM.ch07.html?a=commitdiff_plain;h=7bfbe2acd41c94bd627a0145e5c7ecc074f752af;p=acecode.git hello_cargo --- diff --git a/learn/rust/hello_cargo/Cargo.lock b/learn/rust/hello_cargo/Cargo.lock new file mode 100644 index 0000000..008df2f --- /dev/null +++ b/learn/rust/hello_cargo/Cargo.lock @@ -0,0 +1,5 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +[[package]] +name = "hello_cargo" +version = "0.1.0" diff --git a/learn/rust/hello_cargo/Cargo.toml b/learn/rust/hello_cargo/Cargo.toml new file mode 100644 index 0000000..7b07fa0 --- /dev/null +++ b/learn/rust/hello_cargo/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "hello_cargo" +version = "0.1.0" +authors = ["acevest "] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/learn/rust/hello_cargo/src/main.rs b/learn/rust/hello_cargo/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/learn/rust/hello_cargo/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}