lunatic 0.14.1

Helper library for building Rust applications that run on lunatic.
Documentation
1
2
3
4
5
6
7
8
use lunatic::net;

fn main() {
    let wikipedia = net::resolve("wikipedia.org:80").unwrap();
    for addr in wikipedia {
        println!("wikipedia.org resolves to {:?}", addr);
    }
}