Crates.io | proquint |
lib.rs | proquint |
version | 0.1.0 |
source | src |
created_at | 2018-02-05 03:32:09.960968 |
updated_at | 2018-02-05 03:32:09.960968 |
description | Proquints are readable, pronouncable representations of identifiers. For humans. |
homepage | |
repository | https://github.com/christian-blades-cb/proquint-rs |
max_upload_size | |
id | 49664 |
size | 13,585 |
Proquints are readable, pronouncable representations of identifiers. This is a Rust library for converting between them.
Read more about proquints: https://arxiv.org/html/0901.4016
Ex. the ip address 127.0.0.1
is lusab-babad
in proquint form.
extern crate proquint;
use proquint::Quintable;
use std::net::Ipv4Addr;
let home = Ipv4Addr::new(127, 0, 0, 1);
assert_eq!(home.to_quint(), "lusab-babad");
assert_eq!(u32::from_quint("rotab-vinat").unwrap(), 3141592653u32);