| Crates.io | case_insensitive_string |
| lib.rs | case_insensitive_string |
| version | 0.2.10 |
| created_at | 2023-05-10 16:36:38.202416+00 |
| updated_at | 2025-07-16 09:15:37.692655+00 |
| description | A case insensitive string struct. |
| homepage | |
| repository | https://github.com/spider-rs/case_insensitive_string |
| max_upload_size | |
| id | 861445 |
| size | 19,560 |
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"))
}
compact feature flag to enable compact_str usage.serde feature flag to enable serde usage.