comnoq 0.1.0-dev.0

QUIC for compio with noq backend
docs.rs failed to build comnoq-0.1.0-dev.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: comnoq-0.2.3

comnoq

MIT licensed crates.io docs.rs Repository

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 h3 feature
  • Multiple certificate verification options:
    • platform-verifier: Use platform-specific certificate verification
    • native-certs: Use system's native certificate store
    • webpki-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?;