| Crates.io | emoji-printer |
| lib.rs | emoji-printer |
| version | 0.4.3 |
| created_at | 2021-12-27 07:15:21.302739+00 |
| updated_at | 2021-12-28 01:17:06.800935+00 |
| description | Replace emoji shortcodes in string with emoji unicode (":sushi:" -> 🍣) |
| homepage | |
| repository | https://github.com/zieka/emoji-printer |
| max_upload_size | |
| id | 503599 |
| size | 104,967 |
Utility to convert strings with emoji shortcodes (:sushi:) to strings with the
emoji unicode (🍣)
cargo add emoji-printer
use emoji_printer::print_emojis;
fn main() {
let greeting = print_emojis(":waving_hand: Hello, :globe_showing_Americas: World!");
println!("{}", greeting); // 👋 Hello, 🌎 World!
}