1 unstable release

0.1.0 Jun 1, 2020

#3 in #globally

Download history 767/week @ 2024-01-06 875/week @ 2024-01-13 504/week @ 2024-01-20 345/week @ 2024-01-27 343/week @ 2024-02-03 465/week @ 2024-02-10 438/week @ 2024-02-17 324/week @ 2024-02-24 355/week @ 2024-03-02 443/week @ 2024-03-09 484/week @ 2024-03-16 697/week @ 2024-03-23 604/week @ 2024-03-30 347/week @ 2024-04-06 466/week @ 2024-04-13 512/week @ 2024-04-20

2,020 downloads per month
Used in 8 crates (4 directly)

MIT/Apache

9KB
137 lines

IP RFC backport

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.

Future plans

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.

No runtime deps