case_insensitive_string

Crates.iocase_insensitive_string
lib.rscase_insensitive_string
version0.2.9
sourcesrc
created_at2023-05-10 16:36:38.202416
updated_at2024-11-28 21:12:04.921472
descriptionA case insensitive string struct.
homepage
repositoryhttps://github.com/spider-rs/case_insensitive_string
max_upload_size
id861445
size15,624
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: 12

cargo fmt