rustio rustio.net
72

ipnet

v2.12.0 Stable

Provides types and useful methods for working with IPv4 and IPv6 network addresses, commonly called IP prefixes. The new `IpNet`, `Ipv4Net`, and `Ipv6Net` types build on the existing `IpAddr`, `Ipv4Addr`, and `Ipv6Addr` types already provided in Rust's standard library and align to their design to stay consistent. The module also provides useful traits that extend `Ipv4Addr` and `Ipv6Addr` with methods for `Add`, `Sub`, `BitAnd`, and `BitOr` operations. The module only uses stable feature so it is guaranteed to compile using the stable toolchain.

MIT OR Apache-2.0 Edition 2018
Network programming #network#prefix#ip#cidr#subnet

Quick Verdict

  • โœ“Actively maintained (updated 25d ago)
  • โœ“Stable API (2.x for 8+ years)
  • โœ“Massive adoption (4.7K crates depend on it)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
345.0M
Dependents
4.7K
Releases
70
Size
31KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

26.9M downloads in the last 30 days (897.7K/day), up 37% from the previous period.

๐Ÿ”—
Widely adopted

4.7K crates depend on ipnet. Strong ecosystem adoption means battle-tested code and long-term stability.

โš ๏ธ
Single maintainer risk

ipnet has only 1 owner despite 4.7K dependents. This is a bus-factor concern โ€” consider the implications for long-term support.

โœ…
Stable for 8+ years

The API has been stable (1.x) for over 8 years with 70 releases. This level of maturity means you can depend on it without worrying about breaking changes.

๐Ÿ“
Compact crate

At 30KB, ipnet is lightweight. Small crate size correlates with focused, well-scoped functionality.

๐ŸŒŸ
Used by top crates

Notable dependents include hyper-util, sqlx-core, sqlx-postgres, trust-dns-proto, hickory-proto. When high-quality crates choose ipnet, it's a strong quality signal.

Health Breakdown

Maintenance 17/25

Recency, release consistency, active ratio

Quality 21/25

Yanked ratio, deps, size, maturity, features

Community 14/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 12/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
677K/day avg+79%
0500K1.0M12/291/162/32/213/113/28

Top Dependents

Version Adoption

v2.11.0
49%
v2.9.0
22%
v2.8.0
11%
v2.10.1
11%
v2.5.0
7%

Release Timeline

70 releases1 yankedsince 2017
J
F
M
A
M
J
J
A
S
O
N
D
2017
47
2018
5
2019
2
2020
2
2021
1
2022
5
2023
4
2024
2
2025
1
2026
1
Less
More|
Yanked

Feature Flags

default =["std"]

std*jsonserdeheaplessschemarsschemars1schemars08ser_as_str

README

Loading README...

Maintainers

Dependencies
5
direct dependencies
Dependents
4.7K
crates depend on ipnet

Similar Crates