13 releases
Uses new Rust 2024
| 0.3.8 | Jun 24, 2026 |
|---|---|
| 0.3.7 | Jun 19, 2026 |
| 0.2.3 | May 11, 2026 |
| 0.2.0 | Apr 22, 2026 |
| 0.1.0-dev.4 | Apr 3, 2026 |
#4 in #async-net
58 downloads per month
215KB
4.5K
SLoC
comnoq
comnoq is a fork of compio-quic, providing QUIC support for compio with a noq-proto backend.
It offers a modern QUIC transport with multiplexed streams, built-in encryption, connection migration, and optional HTTP/3 support.
Features
- QUIC client and server support
- Built on
noq-proto - Optional HTTP/3 support via the
h3feature - Multiple certificate verification options:
platform-verifier: Use platform-specific certificate verificationnative-certs: Use system's native certificate storewebpki-roots: Use Mozilla's root certificates
- Integration with compio's completion-based IO model
- Cross-platform support
Usage
Add the crate directly:
cargo add comnoq
Example:
use comnoq::{ClientConfig, Endpoint};
let mut endpoint = Endpoint::client("0.0.0.0:0".parse()?)?;
let connection = endpoint.connect("example.com:443", "example.com").await?;
// Use the QUIC connection
let (mut send, mut recv) = connection.open_bi().await?;
send.write_all(b"Hello QUIC!").await?;
Dependencies
~23–42MB
~694K SLoC