smallgrep 0.1.0

A Lite version of a CLI tool grep made with rust
Documentation
  • Coverage
  • 83.33%
    10 out of 12 items documented4 out of 6 items with examples
  • Size
  • Source code size: 15.1 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.02 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 28s Average build duration of successful builds.
  • all releases: 29s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Deep-Thakkar-1910

smallgrep

smallgrep is a lightweight, beginner-friendly implementation of grep written in Rust. It supports:

  • Case-sensitive and case-insensitive search
  • Exact (whole-word) matching
  • Optional colorized output

Example

smallgrep cat file.txt
smallgrep cat file.txt --exact
smallgrep cat file.txt -i --colorize

This crate is primarily meant for learning.