use-port
use-port provides small helpers for parsing port numbers, classifying port ranges, and mapping a few common services to default ports.
Experimental: this crate is below 0.3.0 and the API may change.
Example Usage
use ;
let port = parse_port.unwrap;
assert_eq!;
assert_eq!;
assert_eq!;
Scope
- Port parsing from strings.
- Port range classification.
- Small common service-to-port lookup tables.
Non-goals
- Port scanning.
- Socket binding.
- Service discovery.
License
Licensed under MIT OR Apache-2.0.