From 9d78dbdb0be1e79a1e583bbfa991dac49aefa017 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 13 Jul 2020 19:56:00 +0200 Subject: Initialise a new Rust v1.44.1 project Initialised with: $ cargo init --bin --- .gitignore | 1 + Cargo.lock | 5 +++++ Cargo.toml | 6 ++++++ src/main.rs | 3 +++ 4 files changed, 15 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.lock create mode 100644 Cargo.toml create mode 100644 src/main.rs 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..410b14e --- /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-suggested-patch" +version = "0.0.1" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..255cf46 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "git-suggested-patch" +version = "0.0.1" +edition = "2018" + +[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!"); +} -- cgit v1.2.3