Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 582 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 582 Bytes

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.