/emoji-rs

A rust crate to make emoji easier

Primary LanguageRustApache License 2.0Apache-2.0

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.