14 releases

new 0.2.7 Nov 26, 2024
0.2.6 Oct 26, 2024
0.2.5 Aug 5, 2024
0.2.4 Jul 22, 2024
0.1.6 May 11, 2023

#527 in Rust patterns

Download history 615/week @ 2024-08-06 571/week @ 2024-08-13 472/week @ 2024-08-20 1022/week @ 2024-08-27 515/week @ 2024-09-03 565/week @ 2024-09-10 795/week @ 2024-09-17 933/week @ 2024-09-24 1166/week @ 2024-10-01 845/week @ 2024-10-08 601/week @ 2024-10-15 1160/week @ 2024-10-22 800/week @ 2024-10-29 837/week @ 2024-11-05 335/week @ 2024-11-12 986/week @ 2024-11-19

3,017 downloads per month
Used in 11 crates (via spider)

MIT license

14KB
236 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

  1. compact feature flag to enable compact_str usage.
  2. serde feature flag to enable serde usage.

Dependencies

~0–265KB