#purple #apt #user-interface #hash #tiger

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

#229 in Text processing

Download history 296/week @ 2022-12-09 528/week @ 2022-12-16 67/week @ 2022-12-23 139/week @ 2022-12-30 457/week @ 2023-01-06 496/week @ 2023-01-13 458/week @ 2023-01-20 183/week @ 2023-01-27 294/week @ 2023-02-03 248/week @ 2023-02-10 392/week @ 2023-02-17 310/week @ 2023-02-24 389/week @ 2023-03-03 144/week @ 2023-03-10 71/week @ 2023-03-17 128/week @ 2023-03-24

767 downloads per month

Apache-2.0

17KB
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.7–2.8MB
~55K SLoC