# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.70" name = "wtransport" version = "0.5.0" authors = ["Biagio Festa"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Implementation of the WebTransport (over HTTP3) protocol" readme = "README.md" keywords = ["webtransport"] categories = [ "network-programming", "asynchronous", ] license = "MIT OR Apache-2.0" repository = "https://github.com/BiagioFesta/wtransport" [package.metadata.cargo_check_external_types] allowed_external_types = [ "bytes::bytes::Bytes", "quinn", "quinn::connection::Connection", "quinn::recv_stream::ReadError", "quinn::recv_stream::RecvStream", "quinn::send_stream::SendStream", "quinn::send_stream::WriteError", "quinn_proto::config::ClientConfig", "quinn_proto::config::EndpointConfig", "quinn_proto::config::ServerConfig", "quinn_proto::config::TransportConfig", "quinn_proto::connection::ConnectionError", "quinn_proto::crypto::HandshakeTokenKey", "rustls", "rustls::client::client_conn::ClientConfig", "rustls::server::server_conn::ServerConfig", "rustls::verify::ServerCertVerifier", "rustls::webpki::anchors::RootCertStore", "time", "time::duration::Duration", "time::offset_date_time::OffsetDateTime", "tokio::io::async_read::AsyncRead", "tokio::io::async_write::AsyncWrite", "wtransport_proto", "wtransport_proto::WEBTRANSPORT_ALPN", "wtransport_proto::ids::SessionId", "wtransport_proto::ids::StreamId", "wtransport_proto::varint::VarInt", ] [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "wtransport" path = "src/lib.rs" [[example]] name = "client" path = "examples/client.rs" required-features = ["dangerous-configuration"] [[example]] name = "full" path = "examples/full.rs" required-features = ["self-signed"] [[example]] name = "gencert" path = "examples/gencert.rs" required-features = ["self-signed"] [[example]] name = "server" path = "examples/server.rs" required-features = ["self-signed"] [dependencies.bytes] version = "1.4.0" [dependencies.pem] version = "3.0.4" [dependencies.quinn] version = "0.11.5" features = [ "runtime-tokio", "rustls", ] default-features = false [dependencies.rcgen] version = "0.13.1" optional = true [dependencies.rustls] version = "0.23.12" features = ["ring"] default-features = false [dependencies.rustls-native-certs] version = "0.8.0" [dependencies.rustls-pemfile] version = "2.1.3" [dependencies.rustls-pki-types] version = "1.8.0" [dependencies.sha2] version = "0.10.8" [dependencies.socket2] version = "0.5.3" [dependencies.thiserror] version = "1.0.40" [dependencies.time] version = "0.3.21" [dependencies.tokio] version = "1.28.1" features = [ "macros", "fs", "io-util", ] default-features = false [dependencies.tracing] version = "0.1.37" [dependencies.url] version = "2.4.0" [dependencies.wtransport-proto] version = "0.5.0" features = ["async"] [dependencies.x509-parser] version = "0.16.0" [dev-dependencies.anyhow] version = "1.0.71" [dev-dependencies.axum] version = "0.7.1" [dev-dependencies.hyper] version = "1.0.1" [dev-dependencies.tokio] version = "1.28.1" features = ["rt-multi-thread"] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3.17" features = ["env-filter"] [features] dangerous-configuration = [] default = ["self-signed"] quinn = [] quinn-log = ["quinn/log"] self-signed = ["dep:rcgen"]