minigrep_pack 0.1.0

A small clip clone of minigrep
Documentation
  • Coverage
  • 100%
    4 out of 4 items documented0 out of 3 items with examples
  • Size
  • Source code size: 7.34 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.28 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 17s Average build duration of successful builds.
  • all releases: 15s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Joel-Ajayi

minigrep library

Small example library used by the minigrep binary. Provides argument parsing and simple line-oriented search (case-sensitive and case-insensitive).

Quick publishing checklist:

  • Ensure cargo test passes.
  • Update Cargo.toml: authors, description, license, repository, readme, and version.
  • Ensure README.md exists and is referenced in Cargo.toml.
  • Run cargo publish --dry-run to validate before publishing.

Usage (library):

  • Call Config::new(&args) to parse CLI args.
  • Call run(config) to execute a search and print matching lines.