v0.0.0: init project template
This commit is contained in:
commit
67f288c561
|
@ -0,0 +1,2 @@
|
|||
/target
|
||||
**/*.rs.bk
|
|
@ -0,0 +1,6 @@
|
|||
[package]
|
||||
name = "grep"
|
||||
version = "0.1.0"
|
||||
authors = ["AJ ONeal <coolaj86@gmail.com>"]
|
||||
|
||||
[dependencies]
|
|
@ -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
|
||||
```
|
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
Loading…
Reference in New Issue