From 5b7a252e1a213b2ab1c2161c1537381caa92fdeb Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Tue, 3 Jul 2018 13:36:09 +0300 Subject: Initial rust binary project --- .gitignore | 8 -------- Cargo.lock | 4 ++++ Cargo.toml | 6 ++++++ src/main.rs | 3 +++ 4 files changed, 13 insertions(+), 8 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..eccd7b4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,2 @@ -# Generated by Cargo -# 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 diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..314ef97 --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,4 @@ +[[package]] +name = "rustcast" +version = "0.1.0" + diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..c5502a1 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "rustcast" +version = "0.1.0" +authors = ["Yuval Adam <_@yuv.al>"] + +[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.3.1