Crates.io | iprobe |
lib.rs | iprobe |
version | 0.1.1 |
source | src |
created_at | 2025-01-06 07:58:23.351975+00 |
updated_at | 2025-03-06 19:23:18.293783+00 |
description | Probe if the host system supports IPv4, IPv6 and IPv4-mapped-IPv6. |
homepage | https://github.com/al8n/iprobe |
repository | https://github.com/al8n/iprobe |
max_upload_size | |
id | 1505386 |
size | 35,620 |
[dependencies]
iprobe = "0.1"
use iprobe::{ipv4, ipv6, ipv4_mapped_ipv6};
println!("IPv4 enabled: {}", ipv4());
println!("IPv6 enabled: {}", ipv6());
println!("IPv4-mapped IPv6 enabled: {}", ipv4_mapped_ipv6());
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.