Crate ipgen

Source
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§

IpNetwork
An IP network address typically in CIDR format

Enums§

Error
Errors returned by this crate

Functions§

ip
Generates an IP address
subnet
Computes a subnet ID for any identifier

Type Aliases§

Result