const-addrs 0.2.0

A set of macros for creating networking types from a string literal.
Documentation
1
2
3
4
5
6
7
8
9
10
11
error: invalid IP address syntax
 --> tests/fail/ip.rs:4:17
  |
4 |     let _ = ip!("192.168.11");
  |                 ^^^^^^^^^^^^

error: invalid IP address syntax
 --> tests/fail/ip.rs:5:17
  |
5 |     let _ = ip!("2001:db8::32::23");
  |                 ^^^^^^^^^^^^^^^^^^