summaryrefslogtreecommitdiff
path: root/hello_cargo
diff options
context:
space:
mode:
Diffstat (limited to 'hello_cargo')
-rw-r--r--hello_cargo/.gitignore1
-rw-r--r--hello_cargo/Cargo.lock7
-rw-r--r--hello_cargo/Cargo.toml6
-rw-r--r--hello_cargo/src/main.rs3
4 files changed, 17 insertions, 0 deletions
diff --git a/hello_cargo/.gitignore b/hello_cargo/.gitignore
new file mode 100644
index 0000000..ea8c4bf
--- /dev/null
+++ b/hello_cargo/.gitignore
@@ -0,0 +1 @@
+/target
diff --git a/hello_cargo/Cargo.lock b/hello_cargo/Cargo.lock
new file mode 100644
index 0000000..dd1d0bb
--- /dev/null
+++ b/hello_cargo/Cargo.lock
@@ -0,0 +1,7 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+version = 3
+
+[[package]]
+name = "hello_cargo"
+version = "0.1.0"
diff --git a/hello_cargo/Cargo.toml b/hello_cargo/Cargo.toml
new file mode 100644
index 0000000..0f4a343
--- /dev/null
+++ b/hello_cargo/Cargo.toml
@@ -0,0 +1,6 @@
+[package]
+name = "hello_cargo"
+version = "0.1.0"
+edition = "2021"
+
+[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!");
+}