fz

Crates.iofz
lib.rsfz
version0.1.0
sourcesrc
created_at2021-04-14 09:05:19.133386
updated_at2021-04-14 09:05:19.133386
descriptionA minimal, cross-platform library for CLI fuzzy matching
homepage
repositoryhttps://github.com/Eetsi123/fz
max_upload_size
id383721
size23,813
Eetu (Eetsi123)

documentation

README

fz

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.

Usage

Click to show Cargo.toml.
[dependencies]
fz = "0.1.0"

use fz::select;
use std::io::stdout;

let selected = select(stdout(), &["first", "second", "third"]).unwrap();

License

This project is licensed under the MIT License.

Commit count: 0

cargo fmt