gh-emoji 1.0.8

Convert `:emoji:` to Unicode using GitHub's emoji names
Documentation

GitHub emoji for Rust

Full, up-to-date database of GitHub emoji which have Unicode equivalents. Pre-generated and hashed at compile time for fast lookup.

Useful when rendering GitLab/GitHub-flavored Markdown, although this crate does not parse any Markdown itself.

Used by lib.rs website.

Example usage

let emoji = gh_emoji::get("smile");
assert_eq!(emoji, Some("😄"));
let replacer = gh_emoji::Replacer::new();
let text = replacer.replace_all(":crocodile:, see you in a while!");