Crates.io | ip_rfc |
lib.rs | ip_rfc |
version | 0.1.0 |
source | src |
created_at | 2020-06-01 18:04:34.372108 |
updated_at | 2020-06-01 18:04:34.372108 |
description | IP address globally routable checking for stable rust |
homepage | |
repository | https://github.com/pondurance/ip_rfc |
max_upload_size | |
id | 248757 |
size | 27,228 |
This is a method to allow checking whether an IP address is globally routable.
While this can be done using the is_global()
method in nightly, the feature is still unstable, and there has been a lot of debate on if/when it will finally be stabilized. This library provides matching functionality, based on the unstable version, but usable with a stable compiler.
This version, extracted from the nightly compiler, with sligh adjustments, can be used in place of the is_global()
method on stable rust, and as soon as the feature is stabalized (see https://github.com/rust-lang/rust/pull/66584) then this library can be deprecated.