Crate raydarar_minigrep

Source
Expand description

§raydarar_minigrep

Minigrep is the command line tool that searches for a string in a file and prints the lines that contain the string. This is a simple implementation of the grep command line tool, following the rust book examples.

Re-exports§

pub use config::Config;

Modules§

config
Config module

Functions§

run
Run the raydarar_minigrep command line tool for the given configuration.
search
Search for the given query in the given contents.
search_case_insensitive
Search for the given query in the given contents, ignoring case.