5 unstable releases
0.2.1 | May 17, 2021 |
---|---|
0.2.0 | May 17, 2021 |
0.1.1 | Nov 18, 2020 |
0.1.0 | May 21, 2020 |
0.0.2 | Nov 21, 2014 |
#986 in Text processing
296 downloads per month
Used in 9 crates
(5 directly)
49MB
1.5M
SLoC
emoji-rs
Introduction
3511 emojis and 4580 emoji variants with localization data in 143 languages
This crate contains a huge amount of data about every emoji ever.
Some of the data includes:
- Name
- Glyph
- Unicode Release Version
- Classification
- Variants
- Annotations in many languages
This crate also provides functions for searching through emojis by name and glyph, as well as several fuzzy search functions.
Quickstart
fn main() {
println!("{}", emoji::food_and_drink::food_marine::CRAB.glyph);
}
See more examples here.
Languages
By default, only English annotations are compiled in.
To enable other languages, use the feature corresponding to that languge. An exhaustive
list of supported languages can be found
here.
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in emoji
by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.