From 39ec131ef9860882e680524ae0e2232ea9ea23c3 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Fri, 30 Aug 2019 09:58:54 +0200 Subject: [PATCH] First commit --- .gitignore | 9 +++++---- Cargo.lock | 4 ++++ Cargo.toml | 7 +++++++ src/main.rs | 3 +++ 4 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 Cargo.lock create mode 100644 Cargo.toml create mode 100644 src/main.rs diff --git a/.gitignore b/.gitignore index 088ba6b..a45d797 100644 --- a/.gitignore +++ b/.gitignore @@ -2,9 +2,10 @@ # will have compiled files and executables /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 + +/target +**/*.rs.bk + +.idea diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..b72b3fc --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,4 @@ +[[package]] +name = "espanso" +version = "0.1.0" + diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..3eea0a2 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,7 @@ +[package] +name = "espanso" +version = "0.1.0" +authors = ["Federico Terzi "] +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!"); +}