1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
#![warn(missing_docs)] #![doc(html_root_url = "https://docs.rs/cidr/0.0.3")] //! This library provides types to represent an IP network (`Cidr`) or //! an IP host withing a network (`Inet`) //! //! The naming follows the names of the [PostgreSQL data types](https://www.postgresql.org/docs/current/static/datatype-net-types.html) //! //! Address parsing also accepts IPv4 address with less than four octets (but always parses those as decimal). pub use self::cidr::*; pub use self::errors::*; pub use self::family::*; pub use self::inet::*; pub use self::inet_iterator::*; pub use self::traits::*; extern crate bitstring; mod cidr; mod errors; mod family; mod inet; mod inet_iterator; mod local_addr_parser; mod traits;