proquint

Crates.ioproquint
lib.rsproquint
version0.1.0
sourcesrc
created_at2018-02-05 03:32:09.960968
updated_at2018-02-05 03:32:09.960968
descriptionProquints are readable, pronouncable representations of identifiers. For humans.
homepage
repositoryhttps://github.com/christian-blades-cb/proquint-rs
max_upload_size
id49664
size13,585
Christian Blades (christian-blades-cb)

documentation

https://docs.rs/proquint

README

proquint-rs Build Status

Proquints are readable, pronouncable representations of identifiers. This is a Rust library for converting between them.

Proquints

Read more about proquints: https://arxiv.org/html/0901.4016

Ex. the ip address 127.0.0.1 is lusab-babad in proquint form.

Usage

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);
Commit count: 16

cargo fmt