use-tcp
use-tcp provides small helpers for parsing TCP-style endpoints and looking up a few common TCP service ports.
Experimental: this crate is below 0.3.0 and the API may change.
Example Usage
use ;
let endpoint = parse_tcp_endpoint.unwrap;
assert_eq!;
assert_eq!;
assert_eq!;
Scope
- Parsing and formatting TCP-style host-and-port endpoints.
- Small common TCP service mappings.
Non-goals
- TCP connections.
- TCP listeners.
- Stream handling.
- TLS.
License
Licensed under MIT OR Apache-2.0.