Docs.rs
nanogrep-2.2.1
nanogrep 2.2.1
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
Uniminin
Dependencies
colored ^2.0.0
normal
Versions
100%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
nanogrep
2.2.1
All Items
Crate Items
Structs
Functions
Crate
nanogrep
Copy item path
Source
Expand description
Custom simplified implementation of minigrep with additional features.
Structs
§
Config
The necessary configurations for initializing nanogrep.
Functions
§
run
Runs the library logic. Expects a reference to
Config
.
search
Returns the line(s) where the pattern is matched in the contents of the file.
summarize
Returns summary which includes total matched occurence(s) of the pattern & line respectively.