Skip to content

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

Notifications You must be signed in to change notification settings

CleverCloud/uuid_to_pokemon.rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Packages

No packages published

Languages