rust-cidr icon indicating copy to clipboard operation
rust-cidr copied to clipboard

cidr / inet data types

Rust CI AppVeyor Status crates.io MIT licensed

cidr crate

This library provides types to represent an IP network (Cidr) or an IP host within a network (Inet).

The naming follows the names of the PostgreSQL data types

The documentation for master is located at https://stbuehler.github.io/rustdocs/cidr/cidr/; released versions are documented at https://docs.rs/cidr.

Examples

  • example making good use of the bitstring feature and the bitstring-trees crate: https://github.com/stbuehler/rust-gather-cidr-map