tree: 72c073bed5bd2f8b08789158056366b285403e37 [path history] [tgz]
  1. .cargo-checksum.json
  2. Cargo.toml
  3. LICENSE-APACHE
  4. LICENSE-MIT
  5. README.md
  6. build.rs
  7. src/
rustc_deps/vendor/unicase/README.md

unicase

Build Status

Documentation

Compare strings when case is not important.

// ignore ASCII case
let a = UniCase::new("foobar");
let b = UniCase::new("FOOBAR");

assert_eq!(a, b);

// using unicode case-folding
let c = UniCase::new("Ma├če")
let d = UniCase::new("MASSE");
assert_eq!(c, d);

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.