[package] name = "leveva-casemap" version = "0.0.0" edition = "2021" publish = false description = "RFC 1459 case folding — the IRC case-insensitivity rule (A-Z↔a-z plus the Scandinavian [↔{ \\↔| ]↔} ~↔^), with byte/slice fold, compare, hash, and an owned-key fold." # Extracted from `leveva` (the IRC daemon) as a self-contained leaf library: the # lowest leaf in the string cluster — it depends only on `core` (Ordering + Hasher) # and has zero IRC-specific coupling, while `string`/`ident`/`matching`/`channel`/ # `registry`/`whowas` all depend on *it*. `leveva` re-exports it as `leveva::casemap`. [lib] path = "src/lib.rs" [dependencies] [dev-dependencies] # Property/fuzz tests: the fold/compare/hash invariants are fed arbitrary byte # vectors and arbitrary (incl. non-ASCII) strings. Stable-toolchain fuzz tier — the # project has no nightly/cargo-fuzz, so proptest is the runnable fuzzer. proptest = "1"