6 releases
0.4.3 | Dec 28, 2021 |
---|---|
0.4.2 | Dec 28, 2021 |
0.3.1 | Dec 28, 2021 |
0.2.1 | Dec 27, 2021 |
0.1.0 |
|
#1336 in Text processing
30 downloads per month
105KB
2K
SLoC
Emoji Printer
Intro
Utility to convert strings with emoji shortcodes (:sushi:
) to strings with the
emoji unicode (🍣)
Install
cargo add emoji-printer
How to use
use emoji_printer::print_emojis;
fn main() {
let greeting = print_emojis(":waving_hand: Hello, :globe_showing_Americas: World!");
println!("{}", greeting); // 👋 Hello, 🌎 World!
}
What emojis are supported?
Dependencies
~2.1–3MB
~53K SLoC