#human #animal-name

bin+lib angry-purple-tiger

animal-based hash digests for humans

2 releases (1 stable)

1.0.0 Jan 12, 2023
0.1.0 Mar 23, 2021

#149 in Value formatting

Download history 220/week @ 2024-12-08 205/week @ 2024-12-15 10/week @ 2024-12-22 34/week @ 2024-12-29 162/week @ 2025-01-05 129/week @ 2025-01-12 160/week @ 2025-01-19 292/week @ 2025-01-26 269/week @ 2025-02-02 306/week @ 2025-02-09 456/week @ 2025-02-16 423/week @ 2025-02-23 725/week @ 2025-03-02 931/week @ 2025-03-09 684/week @ 2025-03-16 381/week @ 2025-03-23

2,734 downloads per month

Apache-2.0

18KB
870 lines

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

Dependencies

~1.2–4MB
~72K SLoC