emojicons-2021

Crates.ioemojicons-2021
lib.rsemojicons-2021
version2.0.1
sourcesrc
created_at2024-08-08 15:31:22.207123
updated_at2024-08-09 03:36:34.653613
descriptionParse :emoji: notation to unicode representation.
homepage
repositoryhttps://github.com/funnsam/rust-emojicons
max_upload_size
id1329674
size4,091
(funnsam)

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: 0

cargo fmt