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::sock4;

fn main() {
    let _ = sock4!("192.168.11:300");
}