case_insensitive_string

Crates.iocase_insensitive_string
lib.rscase_insensitive_string
version0.2.6
sourcesrc
created_at2023-05-10 16:36:38.202416
updated_at2024-10-26 10:10:51.826066
descriptionA case insensitive string struct.
homepage
repositoryhttps://github.com/spider-rs/case_insensitive_string
max_upload_size
id861445
size12,439
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: 10

cargo fmt