1 unstable release

0.1.0 Jun 1, 2020

#2 in #globally

Download history 389/week @ 2024-07-20 537/week @ 2024-07-27 387/week @ 2024-08-03 303/week @ 2024-08-10 714/week @ 2024-08-17 398/week @ 2024-08-24 413/week @ 2024-08-31 453/week @ 2024-09-07 394/week @ 2024-09-14 682/week @ 2024-09-21 655/week @ 2024-09-28 489/week @ 2024-10-05 545/week @ 2024-10-12 500/week @ 2024-10-19 627/week @ 2024-10-26 448/week @ 2024-11-02

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