1 unstable release
new 0.1.0 | Mar 7, 2025 |
---|
#44 in #text-encoding
55 downloads per month
11KB
170 lines
Find Text in Text File
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