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: 5.08 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 314.76 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 17s Average build duration of successful builds.
  • all releases: 17s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Dentosal/portpicker-rs
    43 13 3
  • 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")