mythoji

Crates.iomythoji
lib.rsmythoji
version0.1.0
sourcesrc
created_at2022-12-20 22:25:06.338652
updated_at2022-12-20 22:25:06.338652
descriptionA minimal Rust crate that helps identify and display fantasy appropriate emojis
homepage
repositoryhttps://github.com/matanlurey/mythoji
max_upload_size
id742622
size39,605
Matan Lurey (matanlurey)

documentation

README

mythoji

A minimal Rust crate that helps identify and display fantasy appropriate emojis.

Rust Checks Coverage Status Current Crates.io Version Docs License: MIT

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(), "🧝‍♀️");
Commit count: 1

cargo fmt