commit 67f288c561504313811d71f35091c7d5b9f4a070 Author: AJ ONeal Date: Mon Sep 17 22:05:47 2018 -0600 v0.0.0: init project template diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..53eaa21 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/target +**/*.rs.bk diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..87a635f --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "grep" +version = "0.1.0" +authors = ["AJ ONeal "] + +[dependencies] diff --git a/README.md b/README.md new file mode 100644 index 0000000..c5aa653 --- /dev/null +++ b/README.md @@ -0,0 +1,34 @@ +grep.rs +======= + +This is my personal exploration of the sample grep project in Chapter 12 of "The Rust Book". + +Install Rust +------------ + +To run this project you first need to install rust: + +```bash +curl https://sh.rustup.rs -sSf | sh +``` + +If you already have rust installed you can update it to the latest version like so: + +```bash +restup update +``` + +Install grep.rs +--------------- + +```bash +git clone https://git.coolaj86.com/coolaj86/grep.rs +pushd rust.rs/ +``` + +History +------- + +```bash +cargo init --bin --name grep +``` 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!"); +}