#emoji #unicode #bengali #emoticon #gemoji

emojicon

Find Emoji by using Emoticons and GitHub's, Bengali emoji names

5 releases (3 breaking)

0.4.0 Jan 19, 2024
0.3.1 Jul 13, 2022
0.3.0 Jul 9, 2021
0.2.0 Jul 7, 2021
0.1.0 Jun 6, 2021

#691 in Text processing

MIT license

180KB
5K SLoC

emojicon

Build Status crates.io docs.rs Rust

Find Emoji by using Emoticons and GitHub's, Bengali emoji names.

use emojicon::{Emojicon, BengaliEmoji};
fn main() {
    let emojicon = Emojicon::new();
    assert_eq!(emojicon.get_by_emoticon("B-)"), Some("😎"));
    assert_eq!(emojicon.get_by_name("cool").unwrap().collect::<Vec<_>>(), ["😎", "🆒"]);
    
    let emojis = BengaliEmoji::new();
    assert_eq!(emojis.get("āĶ•ā§āĶē").unwrap().collect::<Vec<_>>(), ["🆒", "😎"]);
}

Acknowledgment

No runtime deps

Features