flash_fuzzy_core/lib.rs
1//! Flash-Fuzzy Core
2//! High-performance fuzzy search using Bitap algorithm with bloom filter pre-filtering
3//!
4//! This crate is `no_std` compatible and provides the core search algorithms.
5
6#![no_std]
7
8pub mod bitap;
9pub mod bloom;
10pub mod types;
11
12pub use bitap::BitapSearcher;
13pub use bloom::BloomFilter;
14pub use types::*;
15
16/// Maximum pattern length supported (32 characters)
17pub const MAX_PATTERN_LEN: usize = 32;
18
19/// Default threshold score (0-1000 scale)
20pub const DEFAULT_THRESHOLD: u16 = 250;
21
22/// Default max errors allowed
23pub const DEFAULT_MAX_ERRORS: u32 = 2;