Crate proquint

Source
Expand description

Library for converting to and from proquints.

§Proquint

A proquint is a pronouncable representation of an identifier, such as an IP address, document number, user id, etc. The purpose is to provide a more convenient way for humans to interact/remember/communicate with unique identifiers.

Original proposal found here: https://arxiv.org/html/0901.4016

§Example

use proquint::Quintable;
use std::net::Ipv4Addr;

let home = Ipv4Addr::new(127, 0, 0, 1);
assert_eq!(home.to_quint(), "lusab-babad");

Enums§

QuintError

Traits§

Quintable
Trait for values that can be converted to proquints

Functions§

from_quint
Generic function for converting a proquint string to the given type.