Crates.io | port |
lib.rs | port |
version | 0.0.1-pre.1 |
source | src |
created_at | 2023-12-30 02:05:33.757169 |
updated_at | 2023-12-30 02:05:33.757169 |
description | check or get available port |
homepage | https://github.com/tgex |
repository | |
max_upload_size | |
id | 1083838 |
size | 1,952 |
check if the given ports is available, get available ports
add the dependent
cargo add port
use port::{check_port};
let is_port_available = check_port("127.0.0.1", 8080);