From 18e6cfbb117fa00cb77d2ca01b276148c1486e48 Mon Sep 17 00:00:00 2001 From: Ed Braaten Date: Sat, 10 Oct 2020 17:24:29 -0700 Subject: [PATCH] Initial commit of rust/ directory. First "Hello, rust world!" program. --- rust/Cargo.lock | 5 +++++ rust/Cargo.toml | 9 +++++++++ rust/src/main.rs | 3 +++ 3 files changed, 17 insertions(+) create mode 100644 rust/Cargo.lock create mode 100644 rust/Cargo.toml create mode 100644 rust/src/main.rs diff --git a/rust/Cargo.lock b/rust/Cargo.lock new file mode 100644 index 0000000..f7d53cc --- /dev/null +++ b/rust/Cargo.lock @@ -0,0 +1,5 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +[[package]] +name = "rust" +version = "0.1.0" diff --git a/rust/Cargo.toml b/rust/Cargo.toml new file mode 100644 index 0000000..a8b9818 --- /dev/null +++ b/rust/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "rust" +version = "0.1.0" +authors = ["Ed Braaten "] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/rust/src/main.rs b/rust/src/main.rs new file mode 100644 index 0000000..f69047c --- /dev/null +++ b/rust/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, rust world!"); +}