minigrep/
lib.rs

1//! # Minigrep
2//! Small grep like utility that is fairly useless
3//! given the capabilities for grep, the real one.
4
5/// Explains how to use the application
6/// when reporting errors
7/// ```
8/// assert_eq!(4 + 6, 10);
9/// ```
10pub const USAGE: &str = "\
11USAGE:
12  minigrep <query> <file>";
13
14mod config;
15mod runtime;
16mod core;
17
18pub use config::Config;
19pub use runtime::Runtime;