2026-04-12 19:25:16 +02:00
2026-04-12 19:25:16 +02:00
2026-03-08 17:24:01 +01:00
2026-03-08 17:24:01 +01:00
2026-03-08 17:24:01 +01:00
2026-04-12 19:25:16 +02:00
2026-04-11 18:19:46 +02:00
2026-03-08 17:24:01 +01:00

minigrep

A command-line search tool built in Rust, following the minigrep project from The Rust Programming Language book.

Usage

cargo run -- <query> <file_path>

What it does

Searches for a string pattern within a file and prints the matching lines to stdout.

Purpose

This is my personal implementation of the minigrep project from the Rust Book, used to practice Rust fundamentals such as:

  • CLI argument handling
  • File I/O
  • Error handling
  • Structs and methods
  • Iterators and closures
  • Writing tests
Description
Personal implementation of the minigrep project from the Rust Book
Readme 28 KiB
Languages
Rust 100%