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