portpicker 0.1.0

Pick a free unused port
Documentation

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")