1 unstable release

0.1.0 Jun 1, 2020

#3 in #globally

Download history 451/week @ 2023-12-06 458/week @ 2023-12-13 286/week @ 2023-12-20 207/week @ 2023-12-27 506/week @ 2024-01-03 972/week @ 2024-01-10 639/week @ 2024-01-17 361/week @ 2024-01-24 383/week @ 2024-01-31 353/week @ 2024-02-07 459/week @ 2024-02-14 420/week @ 2024-02-21 290/week @ 2024-02-28 493/week @ 2024-03-06 335/week @ 2024-03-13 518/week @ 2024-03-20

1,711 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