| Crates.io | flx-rs |
| lib.rs | flx-rs |
| version | 0.2.1 |
| created_at | 2021-10-27 16:43:03.234317+00 |
| updated_at | 2024-09-27 08:57:23.774641+00 |
| description | Rewrite emacs-flx in Rust for dynamic modules |
| homepage | https://github.com/the-flx/flx-rs |
| repository | https://github.com/the-flx/flx-rs |
| max_upload_size | |
| id | 473141 |
| size | 19,673 |
Rewrite emacs-flx in Rust for dynamic modules
Add this to your Cargo.toml:
[dependencies]
flx-rs = "0.2.0"
This package only exposed one function flx_rs::score that takes only two arguments
(str: &str, query: &str).
use flx_rs;
fn main() {
let result : Option<flx_rs::Result> = flx_rs::score("switch-to-buffer", "stb");
println!("Score: {}", result.unwrap().score); // Score: 237
}
See the official documentation at https://docs.rs/flx-rs/latest/flx_rs/.
flx-rs is distributed under the terms of the MIT license.
See LICENSE for details.