aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2020-09-14 19:28:38 +0200
committerTeddy Wing2020-09-14 19:28:38 +0200
commita10a055b7b35f45cf81f31f1878154d250c98abd (patch)
treed22d8dbaf3b8dd33ce25a4950b63a71f5120784d
parent0f46312aad2e8267574aceb8dfbb14b92248f2dc (diff)
downloadgit-todo-a10a055b7b35f45cf81f31f1878154d250c98abd.tar.bz2
Initialise new Rust v1.46.0 project
With the following command: $ cargo init --bin
-rw-r--r--.gitignore1
-rw-r--r--Cargo.lock5
-rw-r--r--Cargo.toml5
-rw-r--r--src/main.rs3
4 files changed, 14 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ea8c4bf
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/target
diff --git a/Cargo.lock b/Cargo.lock
new file mode 100644
index 0000000..b8fa0c0
--- /dev/null
+++ b/Cargo.lock
@@ -0,0 +1,5 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+[[package]]
+name = "git-todo"
+version = "0.0.1"
diff --git a/Cargo.toml b/Cargo.toml
new file mode 100644
index 0000000..183b96f
--- /dev/null
+++ b/Cargo.toml
@@ -0,0 +1,5 @@
+[package]
+name = "git-todo"
+version = "0.0.1"
+
+[dependencies]
diff --git a/src/main.rs b/src/main.rs
new file mode 100644
index 0000000..e7a11a9
--- /dev/null
+++ b/src/main.rs
@@ -0,0 +1,3 @@
+fn main() {
+ println!("Hello, world!");
+}