emojicons

Crates.ioemojicons
lib.rsemojicons
version1.0.1
sourcesrc
created_at2015-01-24 02:42:58.443195
updated_at2016-09-14 00:46:25.794231
descriptionParse :emoji: notation to unicode representation.
homepage
repositoryhttps://github.com/jiri/rust-emojicons
max_upload_size
id863
size62,628
Jiří Šebele (jiri)

documentation

README

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! :smile:"

There is also a macro for direct access to emoji:

emoji!("cat");

Will return a string with the glyph for :cat:.

Commit count: 34

cargo fmt