const-addrs 0.2.0

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

fn main() {
    let _ = net4!("192.168.1.1/300");
}