From 23a8a4eb21243222b40bbbad8c315274ce5b72f3 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Mon, 10 Jan 2022 23:51:06 +0000 Subject: [PATCH] Add first cargo project --- hello_cargo/Cargo.toml | 8 ++++++++ hello_cargo/src/main.rs | 3 +++ 2 files changed, 11 insertions(+) create mode 100644 hello_cargo/Cargo.toml create mode 100644 hello_cargo/src/main.rs diff --git a/hello_cargo/Cargo.toml b/hello_cargo/Cargo.toml new file mode 100644 index 0000000..19c7b36 --- /dev/null +++ b/hello_cargo/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "hello_cargo" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/hello_cargo/src/main.rs b/hello_cargo/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/hello_cargo/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}