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

cidr / inet data types

Results 4 rust-cidr issues
Sort by recently updated
recently updated
newest added

I'm currently using: ``` fn nth(base: Ipv4Inet, n: usize) -> Option { let mut a = base; // FIXME: This is pointlessly inefficient. for _ in 0..n { a =...

This allows for generation of arbitrary data types that contain CIDR types.

It would be nice if Ipv6Cidr supported storing the scope id / zone id. For example, it would be nice if it could parse and store "fe80::%en0/64". I could strip...

I'm getting an address from a list of interfaces and then need to construct a CIDR from one of those host addresses and a specific network length. However, this library...