iprobe 0.1.1

Probe if the host system supports IPv4, IPv6 and IPv4-mapped-IPv6.
Documentation
1
2
3
4
5
6
7
use iprobe::{ipv4, ipv4_mapped_ipv6, ipv6};

fn main() {
  println!("IPv4 enabled: {}", ipv4());
  println!("IPv6 enabled: {}", ipv6());
  println!("IPv4-mapped IPv6 enabled: {}", ipv4_mapped_ipv6());
}