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

#691 in Text processing

Download history 100/week @ 2023-11-20 120/week @ 2023-11-27 80/week @ 2023-12-04 100/week @ 2023-12-11 140/week @ 2023-12-18 64/week @ 2023-12-25 48/week @ 2024-01-01 96/week @ 2024-01-08 112/week @ 2024-01-15 106/week @ 2024-01-22 43/week @ 2024-01-29 115/week @ 2024-02-05 105/week @ 2024-02-12 157/week @ 2024-02-19 168/week @ 2024-02-26 115/week @ 2024-03-04

556 downloads per month
Used in 7 crates (3 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