An open API service indexing awesome lists of open source software.

https://github.com/timnn/char-slice


https://github.com/timnn/char-slice

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# `char-slice` [![Travis](https://img.shields.io/travis/TimNN/char-slice.svg)](https://travis-ci.org/TimNN/char-slice) [![Coveralls](https://img.shields.io/coveralls/TimNN/char-slice.svg)](https://coveralls.io/github/TimNN/char-slice) [![Crates.io](https://img.shields.io/crates/v/char-slice.svg)](https://crates.io/crates/char-slice/)

This crate provides the `CharSlice` trait which is implemented for `&str`'s and provides the `char_slice` method, which allows extracting a sequence of unicode codepoints from a slice.

## License

Licensed under either of

* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)

at your option.

### 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.