https://github.com/the-flx/flx-rs
Rewrite emacs-flx in Rust for dynamic modules [maintainer=@jcs090218]
https://github.com/the-flx/flx-rs
emacs flx fuzzy
Last synced: 4 months ago
JSON representation
Rewrite emacs-flx in Rust for dynamic modules [maintainer=@jcs090218]
- Host: GitHub
- URL: https://github.com/the-flx/flx-rs
- Owner: the-flx
- License: mit
- Created: 2021-10-27T10:24:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-08-12T14:02:31.000Z (11 months ago)
- Last Synced: 2025-09-27T06:25:11.146Z (9 months ago)
- Topics: emacs, flx, fuzzy
- Language: Rust
- Homepage: https://crates.io/crates/flx-rs
- Size: 64.5 KB
- Stars: 13
- Watchers: 3
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://opensource.org/licenses/MIT)
[](https://rust-lang.org/)
[](https://github.com/the-flx/flx-rs/releases/latest)
[](https://crates.io/crates/flx-rs)
[](https://crates.io/crates/flx-rs)
# flx-rs
> Rewrite emacs-flx in Rust for dynamic modules
[](https://github.com/the-flx/flx-rs/actions/workflows/ci.yml)
## 🔨 Usage
Add this to your `Cargo.toml`:
```toml
[dependencies]
flx-rs = "0.2.1"
```
This package only exposed one function `flx_rs::score` that takes only two arguments
`(str: &str, query: &str)`.
```rust
use flx_rs;
fn main() {
let result : Option = 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/.
## 📂 Example
- [flx-rs](https://github.com/jcs-elpa/flx-rs) - Emacs package uses this as a dynamic module
## ⚜️ License
`flx-rs` is distributed under the terms of the MIT license.
See [`LICENSE`](./LICENSE) for details.
[flx]: https://github.com/lewang/flx