PackageTrack
Sign in Get early access

cidr

IP network and IP host within network types

0.3.2 27M downloads/mo #1803 most downloaded on crates.io stbuehler/rust-cidr

What this package is like to depend on

Last release 8 months ago

18 Dec 2025

Ships fairly regularly

a new release about every 11 months

Some releases are documented

notes for 6 of 12 stable releases

1 version withdrawn

withdrawn after publishing

9 years old

13 releases · first in 2017

1 release in the last 12 months

see the full history below

Release timeline

13 releases · Mar 2017 to Dec 2025
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 13
  1. 0.3.2 18 Dec 2025
    Release notes
    • Ipv*Cidr and Ipv*Inet: add methods to get reference to stored (first / host) address
    Open source →
  2. 0.3.1 18 Jan 2025
    Release notes
    • raise serde version to support no-std builds
    • enable all Error impls in no-std (actually making std-feature unused)
    Open source →
  3. 0.3.0 30 Sep 2024
    Release notes

    0.3.0 - 2024-09-30

    • remove short IPv4 address support in FromStr implementations
    • implement From<Ip*Addr> for cidr and inet types
    • remove std requirement - both net and error now in core
    • move to bitstring 0.2
    Open source →
    Release notes
    • remove short IPv4 address support in FromStr implementations
    • implement From<Ip*Addr> for cidr and inet types
    • remove std requirement - both net and error now in core
    • move to bitstring 0.2
    Open source →
  4. 0.2.3 25 Jun 2024
    Release notes

    0.2.3 - 2024-06-25

    • parsers module:
      • inet_addr compatible parser
      • parser combinators to build custom parsing
      • "short IPv4 address" parser (incompatible with inet_addr).
    • short IPv4 address support in FromStr implementations is deprecated and
      going to be removed in 0.3.0
    • no_unsafe feature to use safe but slower fallbacks
    • overflowing_add and overflowing_sub methods on Inet types
    Open source →
    Release notes
    • parsers module:
      • inet_addr compatible parser
      • parser combinators to build custom parsing
      • "short IPv4 address" parser (incompatible with inet_addr).
    • short IPv4 address support in FromStr implementations is deprecated and going to be removed in 0.3.0
    • no_unsafe feature to use safe but slower fallbacks
    • overflowing_add and overflowing_sub methods on Inet types
    Open source →
  5. 0.2.2 25 Jun 2023
    Release notes

    0.2.2 - 2023-06-25

    • Make all functions const if possible
    Open source →
    Release notes
    • Make all functions const if possible
    Open source →
  6. 0.2.1 08 Oct 2021
    Release notes

    0.2.1 - 2021-10-08

    • Fix major problems in the BitString trait implementation for AnyIpCidr
    Open source →
    Release notes
    • Fix major problems in the BitString trait implementation for AnyIpCidr
    Open source →
  7. 0.2.0 09 Aug 2021 withdrawn
    Release notes

    Added

    • Implement IntoIterator for IpCidr structs
    • Support (and require) various default traits
    • InetPair: pair of two addresses in the same network
    • Implement "trait" functions directly on data types and only forward in trait impl (#6); this makes it easier to use datastructs without traits in scope.

    Changed

    • Made bitstring dependency optional. Use cidr = { version = "0.2.0", features = [ "bitstring" ] } to enable it.
    • Removed serde from default features. Use cidr = { version = "0.2.0", features = [ "serde" ] } to enable it.
    • Added std feature; enabled by default. Also mandatory for now as std::net isn't available in core.
    • Seal trait implementations
    • Renamed Inet::next to Inet::increment
    • Iterators (on IpCidr structs) now return Inet items instead of flat addresses. Use .addresses() on the iterator type to only iterate over the addresses.
    Open source →
    Release notes

    Added

    • Implement IntoIterator for IpCidr structs
    • Support (and require) various default traits
    • InetPair: pair of two addresses in the same network
    • Implement "trait" functions directly on data types and only forward in trait impl (#6); this makes it easier to use datastructs without traits in scope.

    Changed

    • Made bitstring dependency optional. Use cidr = { version = "0.2.0", features = [ "bitstring" ] } to enable it.
    • Removed serde from default features. Use cidr = { version = "0.2.0", features = [ "serde" ] } to enable it.
    • Added std feature; enabled by default. Also mandatory for now as std::net isn't available in core.
    • Seal trait implementations
    • Renamed Inet::next to Inet::increment
    • Iterators (on IpCidr structs) now return Inet items instead of flat addresses. Use .addresses() on the iterator type to only iterate over the addresses.
    Open source →
  8. 0.1.1 27 Aug 2020

    Nothing published for this version

  9. 0.1.0 26 Feb 2019

    Nothing published for this version

  10. 0.0.4 24 Jan 2018

    Nothing published for this version

  11. 0.0.3 10 Jul 2017

    Nothing published for this version

  12. 0.0.2 10 Mar 2017

    Nothing published for this version

  13. 0.0.1 06 Mar 2017

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive