angry-purple-tiger

Crates.ioangry-purple-tiger
lib.rsangry-purple-tiger
version1.0.0
sourcesrc
created_at2021-03-23 14:11:26.927813
updated_at2023-01-12 00:56:24.125466
descriptionanimal-based hash digests for humans
homepage
repositoryhttps://github.com/helium/angry-purple-tiger-rs
max_upload_size
id372587
size38,181
Marc Nijdam (madninja)

documentation

README

angry-purple-tiger

animal-based hash digests for humans.. in rust

Crates.io docs.rs Build Status Discord chat

Overview

Angry Purple Tiger generates animal-based hash diegests meant to be memorable and human-readable. Angry Purple Tiger is apt for anthropomorphizing project names, crypto addresses, UUIDs, or any complex string of characters that needs to be displayed in a user interface.

Example

use angry_purple_tiger::AnimalName;

let address = "112CuoXo7WCcp6GGwDNBo6H5nKXGH45UNJ39iEefdv2mwmnwdFt8";
let animal_name = address.parse::<AnimalName>().expect("animal name");
assert_eq!(animal_name, "feisty-glass-dalmatian")

Using CLI

$ cargo build --release
$ target/release/angry_purple_tiger 112CuoXo7WCcp6GGwDNBo6H5nKXGH45UNJ39iEefdv2mwmnwdFt8
feisty-glass-dalmatian
Commit count: 11

cargo fmt