| Crates.io | fzyr |
| lib.rs | fzyr |
| version | 0.1.2 |
| created_at | 2018-08-27 21:09:11.928172+00 |
| updated_at | 2018-09-07 20:56:08.346709+00 |
| description | A fuzzy(er) finder π |
| homepage | https://github.com/yonni12/fzyr |
| repository | https://github.com/yonni12/fzyr |
| max_upload_size | |
| id | 81727 |
| size | 42,563 |
fzyr is a simple and fast fuzzy text search. It exists as both a Rust library and a standalone executable.
Basically fzy re-written in Rust.
fzyr exists because I wanted a fuzzy finder library while learning Rust. However, you may find that it useful for your purposes
fzyr is very similar to fzy, so inherits its advantages (at least as of Aug 2018). For most purposes it should be usable as a drop-in replacement.
Advantages over fzy:
Disadvantages over fzy:
You can install on any supported platform using Cargo, Rust's excellent pacakge manager.
$ cargo install fzyr
You can use Cargo, or if you'd prefer install as a snap
$ snap install fzyr
Might arrive at some point...
Use Cargo
Check out fzy for some usage examples.
To search for lines containing "something" in a file:
$ cat very-long-file | fzyr -q something
To search interactively for a file:
$ find . -type f | fzyr
Explore the options with:
$ fzyr -h
Coming soon...
The alorithm is near-identical to that of fzy. That means:
Feel free to make a PR if you're so moved
search_locate()