int64grep

Crates.ioint64grep
lib.rsint64grep
version0.2.1
created_at2025-10-30 05:55:34.214538+00
updated_at2025-11-02 22:53:51.112351+00
descriptionA tiny Rust crate that provides simple line-based search helpers and a small CLI similar to grep.
homepagehttps://github.com/carlosr301101/int64grep
repositoryhttps://github.com/carlosr301101/int64grep
max_upload_size
id1907760
size23,328
int_64 (carlosr301101)

documentation

https://docs.rs/int64grep

README

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):

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.

Commit count: 0

cargo fmt