minigrep_ag

Crates.iominigrep_ag
lib.rsminigrep_ag
version0.1.2
sourcesrc
created_at2020-05-17 13:12:18.712798
updated_at2020-05-17 13:18:19.496992
descriptionA light version of the popular command-line utility `grep`
homepage
repositoryhttps://github.com/AlexandruGG/minigrep-rust
max_upload_size
id242654
size5,789
Alex Gidei (AlexandruGG)

documentation

https://docs.rs/minigrep_ag/0.1.0/minigrep_ag/

README

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
Commit count: 14

cargo fmt