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

#600 in Text processing

Download history 122/week @ 2024-03-17 102/week @ 2024-03-24 143/week @ 2024-03-31 73/week @ 2024-04-07 93/week @ 2024-04-14 109/week @ 2024-04-21 144/week @ 2024-04-28 103/week @ 2024-05-05 113/week @ 2024-05-12 85/week @ 2024-05-19 76/week @ 2024-05-26 78/week @ 2024-06-02 39/week @ 2024-06-09 89/week @ 2024-06-16 109/week @ 2024-06-23 10/week @ 2024-06-30

258 downloads per month
Used in 8 crates (4 directly)

MIT/Apache

49MB
1.5M SLoC

emoji-rs

docs.rs docs

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

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.

Dependencies