portpicker 0.1.1

Pick a free unused port
Documentation
  • Coverage
  • 66.67%
    4 out of 6 items documented1 out of 4 items with examples
  • Size
  • Source code size: 7.91 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.27 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 20s Average build duration of successful builds.
  • all releases: 20s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Dentosal/portpicker-rs
    42 14 2
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Dentosal

Portpicker-rs - Pick a free unused port

Picks a free port, that is unused on both TCP and UDP.

Usage:

portpicker::pick_unused_port().expect("No ports free")