summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CLI/rust/.gitignore11
-rw-r--r--CLI/rust/Cargo.lock5
-rw-r--r--CLI/rust/Cargo.toml7
-rw-r--r--CLI/rust/src/main.rs3
4 files changed, 26 insertions, 0 deletions
diff --git a/CLI/rust/.gitignore b/CLI/rust/.gitignore
new file mode 100644
index 0000000..b1ade94
--- /dev/null
+++ b/CLI/rust/.gitignore
@@ -0,0 +1,11 @@
+# Generated by Cargo
+# will have compiled files and executables
+debug/
+target/
+
+# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
+# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
+# Cargo.lock
+
+# These are backup files generated by rustfmt
+**/*.rs.bk
diff --git a/CLI/rust/Cargo.lock b/CLI/rust/Cargo.lock
new file mode 100644
index 0000000..2486a4b
--- /dev/null
+++ b/CLI/rust/Cargo.lock
@@ -0,0 +1,5 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+[[package]]
+name = "game-of-life"
+version = "0.1.0"
diff --git a/CLI/rust/Cargo.toml b/CLI/rust/Cargo.toml
new file mode 100644
index 0000000..39eb416
--- /dev/null
+++ b/CLI/rust/Cargo.toml
@@ -0,0 +1,7 @@
+[package]
+name = "game-of-life"
+version = "0.1.0"
+authors = ["a14m <[email protected]>"]
+edition = "2018"
+
+[dependencies]
diff --git a/CLI/rust/src/main.rs b/CLI/rust/src/main.rs
new file mode 100644
index 0000000..e7a11a9
--- /dev/null
+++ b/CLI/rust/src/main.rs
@@ -0,0 +1,3 @@
+fn main() {
+ println!("Hello, world!");
+}