| Crates.io | emojicon |
| lib.rs | emojicon |
| version | 0.5.0 |
| created_at | 2021-06-06 20:10:03.974483+00 |
| updated_at | 2025-07-03 17:49:41.34272+00 |
| description | Find Emoji by using Emoticons and GitHub's, Bengali emoji names. |
| homepage | |
| repository | https://github.com/mominul/emojicon |
| max_upload_size | |
| id | 407009 |
| size | 184,329 |
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<_>>(), ["ð", "ð"]);
}