crossfuzzy 0.1.0

A fzf-style fuzzy search UI component for terminals
Documentation
  • Coverage
  • 100%
    6 out of 6 items documented3 out of 3 items with examples
  • Size
  • Source code size: 26.35 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.1 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 23s Average build duration of successful builds.
  • all releases: 23s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Creanciel/crossfuzzy
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Creanciel

Crossfuzzy

A cross-platform fzf-style fuzzy select UI built on crossterm. Works on Linux, macOS, and Windows.

Fuzzy matching is powered by fuzzy-matcher (SkimMatcherV2).

Examples

use crossfuzzy::Crossfuzzy;

let items = vec!["Rust".to_string(), "Go".to_string(), "Ruby".to_string()];

// Inline mode (default: 5 item lines)
let selected = Crossfuzzy::new(&items).run();

// Fullscreen mode with custom options
let selected = Crossfuzzy::new(&items)
    .fullscreen()
    .prompt("search: ")
    .pointer("→")
    .show_counter(false)
    .run();