Emoji constants for your rusty strings. This crate is rustlang port of emoji written by @enescakir
emojic = {git = "https://github.com/orhanbalci/emojic.git"}
```rust use emojic::constants::*;
fn main() { println!("Hello {}", WAVINGHAND); println!( "I'm {} from {}", MANTECHNOLOGIST, FLAGTURKEY ); println!( "Different skin tones default {} light {} dark {}", THUMBSUP, OKHAND.tone(vec![Tone::LIGHT]), CALLMEHAND.tone(vec![Tone::DARK]) ); println!( "Emojis with multiple skin tones.\nBoth medium: {} light and dark: {}", PEOPLEHOLDINGHANDS.tone(vec![Tone::MEDIUM]), PEOPLEHOLDING_HANDS.tone(vec![Tone::LIGHT, Tone::DARK]) ); }
```
Hello 👋
I'm 👨💻 from 🇹🇷
Different skin tones default 👍 light 👌🏻 dark 🤙🏿
Emojis with multiple skin tones.
Both medium: 🧑🏽🤝🧑🏽 light and dark: 🧑🏻🤝🧑🏿
This package contains emojis constants based on Full Emoji List v13.0.
rust
CALL_ME_HAND // 🤙
CALL_ME_HAND.tone(vec![Tone::DARK]) // 🤙🏿
Also, it has additional emoji aliases from github/gemoji.
rust
alias::parse(":+1:") // 👍
alias::parse(":100:") // 💯