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!"); +}