• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

src/H03-May-2022-2,8522,644

.cargo-checksum.jsonH A D03-May-202289 11

.cargo_vcs_info.jsonH A D12-Nov-201974 65

.gitignoreH A D05-Oct-201845 43

.travis.ymlH A D12-Nov-2019637 3227

Cargo.tomlH A D12-Nov-20191.1 KiB3128

Cargo.toml.orig-cargoH A D12-Nov-2019605 2519

LICENSE-APACHEH A D06-Jun-201710.6 KiB202169

LICENSE-MITH A D06-Jun-20171 KiB2116

README.mdH A D03-Sep-2019951 3220

build.rsH A D12-Nov-2019555 2418

README.md

1# unicase
2
3[![Build Status](https://travis-ci.org/seanmonstar/unicase.svg?branch=master)](https://travis-ci.org/seanmonstar/unicase)
4
5[Documentation](https://docs.rs/unicase)
6
7Compare strings when case is not important (using Unicode Case-folding).
8
9```rust
10// ignore ASCII case
11let a = UniCase::new("foobar");
12let b = UniCase::new("FOOBAR");
13
14assert_eq!(a, b);
15
16// using unicode case-folding
17let c = UniCase::new("Maße")
18let d = UniCase::new("MASSE");
19assert_eq!(c, d);
20```
21
22## License
23
24Licensed under either of
25
26- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://apache.org/licenses/LICENSE-2.0)
27- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
28
29### Contribution
30
31Unless 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.
32