2 releases

0.1.1 Jun 18, 2021
0.1.0 Feb 6, 2019

#222 in Network programming

Download history 384/week @ 2021-04-07 615/week @ 2021-04-14 395/week @ 2021-04-21 342/week @ 2021-04-28 523/week @ 2021-05-05 391/week @ 2021-05-12 519/week @ 2021-05-19 507/week @ 2021-05-26 1059/week @ 2021-06-02 612/week @ 2021-06-09 518/week @ 2021-06-16 890/week @ 2021-06-23 730/week @ 2021-06-30 831/week @ 2021-07-07 668/week @ 2021-07-14 844/week @ 2021-07-21

2,156 downloads per month
Used in less than 12 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_unused_port().expect("No ports free")

Dependencies

~325KB