Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
cli
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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"
}

About

Translate a UUID into a qualified POKéMON name in a consistent way.

Resources

Packages

No packages published

Languages