Crates.io | minigrep_ag |
lib.rs | minigrep_ag |
version | 0.1.2 |
source | src |
created_at | 2020-05-17 13:12:18.712798 |
updated_at | 2020-05-17 13:18:19.496992 |
description | A light version of the popular command-line utility `grep` |
homepage | |
repository | https://github.com/AlexandruGG/minigrep-rust |
max_upload_size | |
id | 242654 |
size | 5,789 |
Program built in Chapter 12 of The Rust Programming Language Book.
Consists of a main.rs
file which runs the library code in lib.rs
, where the bulk of the logic is kept for easier testing.
Comes with a test file poem.txt
.
Options to run:
cargo run search-term path-to-file
cargo build --release
-> builds an executable in target/release/
which can be run standalone