Crates.io | mythoji |
lib.rs | mythoji |
version | 0.1.0 |
source | src |
created_at | 2022-12-20 22:25:06.338652 |
updated_at | 2022-12-20 22:25:06.338652 |
description | A minimal Rust crate that helps identify and display fantasy appropriate emojis |
homepage | |
repository | https://github.com/matanlurey/mythoji |
max_upload_size | |
id | 742622 |
size | 39,605 |
A minimal Rust crate that helps identify and display fantasy appropriate emojis.
Why mythoji
?
use mythoji::{Emoji, Gender, Person, Location, SkinTone};
let castle = Location::Castle;
assert_eq!(castle.to_string(), "🏰");
let female_elf = Emoji::Person(Person::Elf, SkinTone::Neutral, Gender::Female);
assert_eq!(female_elf.to_string(), "🧝♀️");