case_insensitive_string

Crates.iocase_insensitive_string
lib.rscase_insensitive_string
version0.2.3
sourcesrc
created_at2023-05-10 16:36:38.202416
updated_at2023-12-24 20:00:07.175997
descriptionA case insensitive string struct.
homepage
repositoryhttps://github.com/a11ywatch/case_insensitive_string
max_upload_size
id861445
size12,092
Jeff Mendez (j-mendez)

documentation

README

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.
Commit count: 7

cargo fmt