Translate a UUID into a qualified POKéMON name in a consistent way.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cli
lib
.gitignore
.travis.yml
Cargo.toml
README.md
appveyor.yml
rustfmt.toml

README.md

UUID to POKéMON

Build Status Build status Coverage Status Documentation

This simple crate allows you to translate a UUID to a pokémon name.

The purpose is to provide simple names to address objects, so you can easily talk with people about the objects.

The function is not injective. This means several UUIDs will give the same name. We don't consider it an issue since context (like owner of object) will help dedup the search.

Usage

extern crate uuid;
extern crate uuid_to_pokemon;

use uuid::Uuid;
use uuid_to_pokemon::uuid_to_pokemon;

fn main() {
   let u = Uuid::new_v4();
   println!("{}", uuid_to_pokemon(u)); // e.g. "Careless pidgeotto"
}