proquint 0.1.0

Proquints are readable, pronouncable representations of identifiers. For humans.
Documentation
  • Coverage
  • 62.5%
    5 out of 8 items documented3 out of 6 items with examples
  • Size
  • Source code size: 13.21 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.68 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • christian-blades-cb/proquint-rs
    13 3 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • christian-blades-cb

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);