7 releases (2 stable)
Uses old Rust 2015
1.0.1 | Sep 14, 2016 |
---|---|
1.0.0 | Mar 17, 2016 |
0.5.3 | Jan 3, 2016 |
0.5.0 | Jan 31, 2015 |
0.3.2 | Jan 25, 2015 |
#2032 in Text processing
38 downloads per month
Used in 3 crates
62KB
888 lines
Emojicons
Emojicons is a simple emoji parser written in Rust focused on ease of use and speed. It uses hashed map for fast lookup and compiled regular expressions for parsing strings.
Example usage
The library is extremely straightforward to use. For transforming strings, use the formatter:
format!("{}", EmojiFormatter("Hello, :smile:!"));
This will return "Hello! 😄"
There is also a macro for direct access to emoji:
emoji!("cat");
Will return a string with the glyph for 🐱.
Dependencies
~4MB
~80K SLoC