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!
}
See the emoji list on unicode.org
π» Contributions are welcomed π¨