Types and useful methods for working with IP prefixes
57.71 KB
built 2026-10-21 04:52:43 GMT
Description
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.
Dependencies
16 totalRequires8
- (crate(serde_test/default) >= 1.0.0 with crate(serde_test/default) < 2.0.0~)
- cargo-rpm-macros >= 24
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(DynamicBuildRequires) <= 4.15.0-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(RichDependencies) <= 4.12.0-1
- rpmlib(TildeInVersions) <= 4.10.0-1
- rust >= 1.31
Provides8
- rust-ipnet+default-devel = 2.12.2-1.fc45
- rust-ipnet+heapless-devel = 2.12.2-1.fc45
- rust-ipnet+schemars08-devel = 2.12.2-1.fc45
- rust-ipnet+schemars1-devel = 2.12.2-1.fc45
- rust-ipnet+ser_as_str-devel = 2.12.2-1.fc45
- rust-ipnet+serde-devel = 2.12.2-1.fc45
- rust-ipnet+std-devel = 2.12.2-1.fc45
- rust-ipnet-devel = 2.12.2-1.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| ipnet-2.12.2.crate | 30.08 KB |
| rust-ipnet.spec | 8.32 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
