1 unstable release
0.1.0 | Dec 20, 2022 |
---|
#1234 in Game dev
33KB
631 lines
mythoji
A minimal Rust crate that helps identify and display fantasy appropriate emojis.
Why mythoji
?
- You are building a fantasy game that wants to use minimal graphics.
- You are tired of Googling for useful emoji.
- You don't want to use a more general purpose crate.
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(), "🧝♀️");
Dependencies
~240KB