int64grep 0.1.1

A tiny Rust crate that provides simple line-based search helpers and a small CLI similar to grep.
Documentation
  • Coverage
  • 100%
    7 out of 7 items documented0 out of 6 items with examples
  • Size
  • Source code size: 18.37 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.24 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 13s Average build duration of successful builds.
  • all releases: 17s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • carlosr301101/int64grep
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • carlosr301101

int64grep

int64grep is a small Rust utility and library that searches for strings inside text (similar to grep). The crate exposes search helper functions used by the package binary.

Key features

  • Plain (case-sensitive) search
  • Case-insensitive search helper
  • Helpers to number/count search results

Status

  • Example/learning project. Good for practicing unit testing in Rust and building small CLI utilities.

Repository layout

  • src/main.rs — CLI binary that uses the crate functions
  • src/lib.rs — search logic and unit tests

Requirements

  • Rust toolchain (rustc and cargo). Use a recent stable toolchain.

How to build

In PowerShell (Windows):

Set-Location -Path "e:\\carlos\\Learn\\Rust\\proyectos_rust\\int64grep"
cargo build --release

How to run (examples)

From the project directory you can run the binary with arguments:

# Run via cargo (pass program args after --)
cargo run  "query" "path\to\file.txt" --

# Or use the compiled release executable
.\target\release\int64grep "query" "path\\to\\file.txt"

Tests

Run the unit tests with:

cargo test

Contributing

See CONTRIBUTING.md for contribution guidelines: how to open issues, submit PRs, formatting, and running tests.

License

This project is distributed under the MIT license — see the LICENSE file.

Contact

If you'd like to help improve the project, please open an issue or a pull request with a clear description and tests when appropriate.