TextToEmoji 0.1.0

A library for converting words to emoji representations
Documentation
1
2
3
4
5
6
7
8
9
use TextToEmoji::word_to_emoji;

fn main() {
    if let Some(emoji) = word_to_emoji("coffee") {
        println!("Emoji for 'smile': {}", emoji);
    } else {
        println!("No emoji found for 'smile'");
    }
}