Expand description

Official implementation of the IPGen Spec

This library is the official reference implementation of the IPGen Spec for generating unique and reproducible IPv4 and IPv6 addresses.

It exposes only two simple functions ip and subnet.

Structs

An IP network address typically in CIDR format

Enums

Errors returned by this crate

Functions

Generates an IP address
Computes a subnet ID for any identifier

Type Definitions