Crates.io | fz |
lib.rs | fz |
version | 0.1.0 |
source | src |
created_at | 2021-04-14 09:05:19.133386 |
updated_at | 2021-04-14 09:05:19.133386 |
description | A minimal, cross-platform library for CLI fuzzy matching |
homepage | |
repository | https://github.com/Eetsi123/fz |
max_upload_size | |
id | 383721 |
size | 23,813 |
fz
is a minimal library for CLI fuzzy matching. The provided interface is similar to that of fzf and skim but currently the use of colors isn't supported. Under the hood crossterm is used for the cross-platform interface and fuzzy-matcher provides the algorithm used for scoring matches.
[dependencies]
fz = "0.1.0"
use fz::select;
use std::io::stdout;
let selected = select(stdout(), &["first", "second", "third"]).unwrap();
This project is licensed under the MIT License.