Macros for writing literal IP addresses.
See rust-lang/rfcs#1926 for the background behind this crate.
This crate uses the recently implemented procedural macros feature, and so requires a nightly version of the compiler.
If you use rustup (recommended), then you can install Rust nightly using these instructions.
#![feature(proc_macro)] // <- Don't forget this!!!
extern crate ip_macro;
use ip_macro::ip;
fn main() {
println!("There's no place like {}", ip!("127.0.0.1"));
}