A tiny rust crate for resolving the next available network port
Find them here
Add the following to your Cargo.toml
[dependencies]
porthole = "0.1.0"
use porthole;
fn main() {
let port = porthole::open().unwrap();
println!("next open port {:?}", port);
}
Doug Tangren (softprops) 2015