Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/helium/angry-purple-tiger-rs
animal-based hash digests for humans.. in rust
https://github.com/helium/angry-purple-tiger-rs
Last synced: 5 days ago
JSON representation
animal-based hash digests for humans.. in rust
- Host: GitHub
- URL: https://github.com/helium/angry-purple-tiger-rs
- Owner: helium
- Created: 2021-03-23T13:53:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-12T00:56:37.000Z (almost 2 years ago)
- Last Synced: 2024-10-07T16:07:20.529Z (about 1 month ago)
- Language: Rust
- Size: 17.6 KB
- Stars: 18
- Watchers: 26
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# angry-purple-tiger
animal-based hash digests for humans.. in rust
[![Crates.io][crates-badge]][crates-url]
[![docs.rs][docs-badge]][docs-url]
[![Build Status][actions-badge]][actions-url]
[![Discord chat][discord-badge]][discord-url][crates-badge]: https://img.shields.io/crates/v/angry-purple-tiger.svg
[crates-url]: https://crates.io/crates/angry-purple-tiger
[docs-badge]: https://docs.rs/angry-purple-tiger/badge.svg
[docs-url]: https://docs.rs/angry-purple-tiger/latest/angry-purple-tiger/
[actions-badge]: https://github.com/helium/angry-purple-tiger-rs/actions/workflows/rust.yml/badge.svg
[actions-url]: https://github.com/helium/angry-purple-tiger-rs/actions/workflows/rust.yml
[discord-badge]: https://img.shields.io/discord/500028886025895936.svg?logo=discord&style=flat-square
[discord-url]: https://discord.gg/helium## 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
```rust,no-run
use angry_purple_tiger::AnimalName;let address = "112CuoXo7WCcp6GGwDNBo6H5nKXGH45UNJ39iEefdv2mwmnwdFt8";
let animal_name = address.parse::().expect("animal name");
assert_eq!(animal_name, "feisty-glass-dalmatian")
```## Using CLI
```
$ cargo build --release
$ target/release/angry_purple_tiger 112CuoXo7WCcp6GGwDNBo6H5nKXGH45UNJ39iEefdv2mwmnwdFt8
feisty-glass-dalmatian
```