cidr-calculator

Crates.iocidr-calculator
lib.rscidr-calculator
version0.2.0
sourcesrc
created_at2024-01-20 12:56:23.624175
updated_at2024-02-07 12:12:19.586893
descriptionCIDR addition / subtraction calculator. Maybe useful for setting route tables when metrics are not available (e.g. wireguard next-hop)
homepage
repositoryhttps://github.com/CircuitCoder/cidr-calc
max_upload_size
id1106465
size47,791
Liu Xiaoyi (CircuitCoder)

documentation

README

CIDR Calculator

Crates.io Version

CIDR addition / subtraction calculator. Maybe useful for setting route tables when metrics are not available (e.g. wireguard next-hop)

> let univ = ::/0
> univ - 2001:da8::/56
[
        ::/3
        2000::/16
        2001::/21
        2001:800::/22
        2001:c00::/24
        2001:d00::/25
        2001:d80::/27
        2001:da0::/29
        2001:da8:0:100::/56
        ...
Commit count: 0

cargo fmt