16 releases
0.2.9 | Nov 28, 2024 |
---|---|
0.2.8 | Nov 28, 2024 |
0.2.6 | Oct 26, 2024 |
0.2.5 | Aug 5, 2024 |
0.1.6 | May 11, 2023 |
#425 in Rust patterns
4,007 downloads per month
Used in 12 crates
(2 directly)
15KB
263 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
compact
feature flag to enable compact_str usage.serde
feature flag to enable serde usage.
Dependencies
~0–265KB