#ip #global

ip_rfc

IP address globally routable checking for stable rust

1 unstable release

0.1.0 Jun 1, 2020

#17 in #global

Download history 246/week @ 2023-07-19 206/week @ 2023-07-26 262/week @ 2023-08-02 389/week @ 2023-08-09 199/week @ 2023-08-16 279/week @ 2023-08-23 569/week @ 2023-08-30 1360/week @ 2023-09-06 565/week @ 2023-09-13 475/week @ 2023-09-20 492/week @ 2023-09-27 498/week @ 2023-10-04 930/week @ 2023-10-11 556/week @ 2023-10-18 516/week @ 2023-10-25 452/week @ 2023-11-01

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