Skip to content

jiri/rust-emojicons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emojicons Build Status

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 🐱.

About

Emoji parser for Rust 😄

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages