28 releases (stable)

2.9.0 Jan 6, 2026
2.8.1 Dec 24, 2024
2.8.0 Oct 18, 2024
2.7.0 Aug 21, 2023
0.0.5 Feb 20, 2015

#35 in Text processing

Download history 2001812/week @ 2025-09-25 1952553/week @ 2025-10-02 1936938/week @ 2025-10-09 2060600/week @ 2025-10-16 2162780/week @ 2025-10-23 2182044/week @ 2025-10-30 2192917/week @ 2025-11-06 2253430/week @ 2025-11-13 2435719/week @ 2025-11-20 1996816/week @ 2025-11-27 2325497/week @ 2025-12-04 2305333/week @ 2025-12-11 1844962/week @ 2025-12-18 1244660/week @ 2025-12-25 1769508/week @ 2026-01-01 2528128/week @ 2026-01-08

7,800,967 downloads per month
Used in 12,291 crates (221 directly)

MIT/Apache

99KB
2.5K SLoC

unicase

crates.io Released API docs MIT licensed CI

Compare strings when case is not important (using Unicode Case-folding).

// ignore ASCII case
let a = UniCase::new("foobar");
let b = UniCase::new("FOOBAR");

assert_eq!(a, b);

// using unicode case-folding
let c = UniCase::new("Maße")
let d = UniCase::new("MASSE");
assert_eq!(c, d);

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

No runtime deps

Features