18 releases
| new 0.2.11 | Apr 8, 2026 |
|---|---|
| 0.2.10 | Jul 16, 2025 |
| 0.2.9 | Nov 28, 2024 |
| 0.2.4 | Jul 22, 2024 |
| 0.1.6 | May 11, 2023 |
#563 in Rust patterns
304,075 downloads per month
Used in 29 crates
(4 directly)
21KB
383 lines
case_insensitive_string
A rust case_insensitive_string struct crate.
Install the crate with cargo add case_insensitive_string.
use case_insensitive_string::CaseInsensitiveString;
fn main() {
let case_insensitive = CaseInsensitiveString::from("iDk");
// both of the strings are a match!
assert_eq!(case_insensitive, CaseInsensitiveString::from("IDK"))
}
Features
compactfeature flag to enable compact_str usage.serdefeature flag to enable serde usage.
Dependencies
~0–255KB