ip-part 0.1.1

ip-part - ip tool
Documentation
  • Coverage
  • 60%
    3 out of 5 items documented1 out of 4 items with examples
  • Size
  • Source code size: 4.87 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.49 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 25s Average build duration of successful builds.
  • all releases: 25s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • wsaio

[en]

ip-part - 用于IP段处理的工具

使用

Cargo.toml 中添加依赖:

[dependencies]
ip-part = "0.1.0"

示例

let ip = IpPart::new("192.168.1.1/24").unwrap();

println!("size {}", ip.size());

println!("{:?}", ip.list());