Skip to main content

bundled_emoji_sequences

Function bundled_emoji_sequences 

Source
pub fn bundled_emoji_sequences() -> HashMap<String, String>
Expand description

Returns the bundled emoji sequence map.

This uses include_str! to embed data/emoji-data.txt at compile time, so the data is always available without relying on the filesystem at runtime.

ยงExamples

use html_generator::emojis::bundled_emoji_sequences;

let map = bundled_emoji_sequences();
assert!(!map.is_empty(), "bundled emoji map should ship populated");