1 unstable release

0.1.0 Feb 6, 2019

#17 in #port

Download history 352/week @ 2020-12-24 394/week @ 2020-12-31 379/week @ 2021-01-07 285/week @ 2021-01-14 347/week @ 2021-01-21 597/week @ 2021-01-28 739/week @ 2021-02-04 873/week @ 2021-02-11 426/week @ 2021-02-18 485/week @ 2021-02-25 477/week @ 2021-03-04 535/week @ 2021-03-11 384/week @ 2021-03-18 414/week @ 2021-03-25 372/week @ 2021-04-01 496/week @ 2021-04-08

2,599 downloads per month
Used in less than 9 crates

Unlicense

4KB
54 lines

Portpicker-rs - Pick a free unused port

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

Usage:

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

Dependencies

~510KB