1 unstable release

0.1.0 Jun 1, 2020

#2 in #globally

Download history 354/week @ 2024-11-21 726/week @ 2024-11-28 486/week @ 2024-12-05 545/week @ 2024-12-12 301/week @ 2024-12-19 133/week @ 2024-12-26 484/week @ 2025-01-02 630/week @ 2025-01-09 702/week @ 2025-01-16 630/week @ 2025-01-23 630/week @ 2025-01-30 628/week @ 2025-02-06 383/week @ 2025-02-13 584/week @ 2025-02-20 1037/week @ 2025-02-27 784/week @ 2025-03-06

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