const-addrs 0.2.0

A set of macros for creating networking types from a string literal.
Documentation
1
2
3
4
5
6
use const_addrs::net;

fn main() {
    let _ = net!("192.168.1.1/300");
    let _ = net!("2001:db8::32::23/129");
}