#ipv6 #ipv4 #probe #system #host #ipprobe #netprobe

iprobe

Probe if the host system supports IPv4, IPv6 and IPv4-mapped-IPv6

1 unstable release

new 0.1.0 Jan 6, 2025

#1546 in Network programming

Download history 112/week @ 2025-01-01

112 downloads per month

MIT/Apache

14KB
94 lines

iprobe

Probe if the host system supports IPv4, IPv6 and IPv4-mapped-IPv6.

github LoC Build codecov

docs.rs crates.io crates.io license

Installation

[dependencies]
iprobe = "0.1"

Example

use iprobe::{ipv4, ipv6, ipv4_mapped_ipv6};

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

License

iprobe is under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE, LICENSE-MIT for details.

Copyright (c) 2025 Al Liu.

Dependencies

~1.5–9.5MB
~115K SLoC