ipcount 0.1.0

count IP addresses within a CIDR range, or make CIDR from a list of addresses
Documentation
  • Coverage
  • 0%
    0 out of 12 items documented0 out of 6 items with examples
  • Size
  • Source code size: 8.59 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.83 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 16s Average build duration of successful builds.
  • all releases: 16s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • statiolake

ipcount

Expand the CIDR notation into a list of IP addresses, or inversely, unite the list of IP addresses into a CIDR notation.

Usage

$ echo -n "10.0.2.254\n10.0.2.255\n10.0.3.0\n10.0.3.1\n" | cargo run -q --bin ipunite
10.0.2.254/31
10.0.3.0/31
$ echo -n "10.0.2.254/31\n10.0.3.0/31\n" | cargo run -q --bin ipcount
10.0.2.254
10.0.2.255
10.0.3.0
10.0.3.1