1 unstable release

0.1.0 Jun 1, 2020

#2 in #globally

Download history 795/week @ 2024-06-19 386/week @ 2024-06-26 421/week @ 2024-07-03 578/week @ 2024-07-10 596/week @ 2024-07-17 392/week @ 2024-07-24 481/week @ 2024-07-31 372/week @ 2024-08-07 501/week @ 2024-08-14 609/week @ 2024-08-21 290/week @ 2024-08-28 543/week @ 2024-09-04 341/week @ 2024-09-11 503/week @ 2024-09-18 715/week @ 2024-09-25 514/week @ 2024-10-02

2,180 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