#ip-address #global #ip

ip_rfc

IP address globally routable checking for stable rust

1 unstable release

0.1.0 Jun 1, 2020

#32 in #global

Download history 612/week @ 2026-01-14 359/week @ 2026-01-21 340/week @ 2026-01-28 336/week @ 2026-02-04 378/week @ 2026-02-11 618/week @ 2026-02-18 237/week @ 2026-02-25 576/week @ 2026-03-04 347/week @ 2026-03-11 397/week @ 2026-03-18 497/week @ 2026-03-25 730/week @ 2026-04-01 771/week @ 2026-04-08 311/week @ 2026-04-15 341/week @ 2026-04-22 217/week @ 2026-04-29

1,669 downloads per month
Used in 9 crates (5 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