Package · crates.io

ipnet

crates.io · v2.12.2 · MIT OR Apache-2.0

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.

Install

cargo add ipnet

Adoption

Downloads (90 days)
180.7M
Observeddownloads / 90 days
Popularity
Top 10% on crates.io
Derived98th percentile within crates.io
Dependents
780
Observedpackages that depend on it
All-time downloads
671.6M
Observedsince first publish
Maintenance
0.80
DerivedRelease cadence and recency, 0 to 1
Releases per year
7.9
72 versions over its life

Growth by period

Derived by Crest of Tech from two observations of crates.io’s own figure, a period apart. Nothing is stored or estimated: without an observation near the period’s start, the period is still collecting.

7 days
Collectinghistory
Collecting
30 days
Collectinghistory
Collecting
90 days
Collectinghistory
Collecting
1 year
Collectinghistory
Collecting

Adoption history

Adoption historydownloads / 90 days

Observations in this range began OCT 5, 2026. The chart appears after 7 observations; 2 so far. Collecting history.

Table of observations (13)
Daydownloads / 90 daysDependents
OCT 24, 2026180,731,351780
OCT 5, 2026158,856,564Not observed
OCT 4, 2026Not observedNot observed
OCT 3, 2026Not observedNot observed
OCT 2, 2026Not observedNot observed
OCT 1, 2026Not observedNot observed
SEP 30, 2026Not observedNot observed
SEP 29, 2026Not observedNot observed
SEP 28, 2026Not observedNot observed
SEP 27, 2026Not observedNot observed
SEP 26, 2026Not observedNot observed
SEP 25, 2026Not observedNot observed
SEP 24, 2026Not observedNot observed

Facts from the registry

Latest version
v2.12.2
72 versions
First published
AUG 14, 2017
Last release
SEP 6, 2026
48d ago
Licence
MIT OR Apache-2.0

Repository

Not in the Crest catalog

krisprice/ipnet (GitHub, opens in a new tab)

The catalog tracks GitHub repositories with more than 500 stars; this one has no Crest page, so its figures are not shown here.

Dependencies latest version · v2.12.2

Optional 3

  • heapless^0
  • schemars^0.8
  • serde^1

Related news

No published news event mentions this package or its repository yet.