Crate rahat3062_minigrep

Source
Expand description

§minigrep

this is the minimal representation of the grep command in rust it has only one run function which takes a Config struct and logs the lines containing the query string to stdout

Structs§

Config
The Config struct will store all necessary parameters as properties to be used by the run function of this library crate!

Functions§

run
runs the program using the Config struct which will search a query in a file or input passed via stdin