2 releases

0.1.1 Mar 16, 2025
0.1.0 Mar 7, 2025

#1853 in Development tools

Download history 120/week @ 2025-03-07 125/week @ 2025-03-14 10/week @ 2025-03-21

54 downloads per month

Apache-2.0

11KB
170 lines

Find Text in Text File

crates.io Documentation Dependency Status Releases Workflow License

Summary

Search text in text file

Development

First, add dependency:

cargo add findtext_textfile

Usage:

use findtext_textfile::search;

fn awesome_fn(keyword: &str, filepath: &str) {
    let ret = search(keyword, filepath);
}

Executable Usage

Available in Assets in Releases. Cross-platform supported.

findtext_textfile <keyword> <filepath>
# will print out like:
# [charset = UTF-8]
# (2, 1): hej

Dependencies

~4MB
~128K SLoC