compio-tls
TLS adaptor for compio.
This crate provides TLS/SSL support for compio networking types. It offers both native TLS (using platform-specific implementations) and rustls (pure Rust TLS) backends, allowing you to secure your network connections.
Features
- TLS client and server support
- Multiple backend options:
native-tls: Platform-specific TLS (SChannel on Windows, Secure Transport on macOS, OpenSSL on Linux)rustls: Pure Rust TLS implementation
- ALPN (Application-Layer Protocol Negotiation) support
- Integration with compio's completion-based IO model
Usage
Use compio directly with tls feature and your chosen backend: