# 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.0" name = "iroh-quinn" version = "0.12.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Versatile QUIC transport protocol implementation" readme = "README.md" keywords = ["quic"] categories = [ "network-programming", "asynchronous", ] license = "MIT OR Apache-2.0" repository = "https://github.com/quinn-rs/quinn" [package.metadata.docs.rs] all-features = true [lib] name = "iroh_quinn" path = "src/lib.rs" [[example]] name = "client" path = "examples/client.rs" required-features = ["rustls"] [[example]] name = "connection" path = "examples/connection.rs" required-features = ["rustls"] [[example]] name = "insecure_connection" path = "examples/insecure_connection.rs" required-features = ["rustls"] [[example]] name = "server" path = "examples/server.rs" required-features = ["rustls"] [[example]] name = "single_socket" path = "examples/single_socket.rs" required-features = ["rustls"] [[test]] name = "many_connections" path = "tests/many_connections.rs" [[bench]] name = "bench" path = "benches/bench.rs" harness = false required-features = ["rustls"] [dependencies.async-executor] version = "1.13.0" optional = true [dependencies.async-fs] version = "2.1" optional = true [dependencies.async-global-executor] version = "2.4.1" optional = true [dependencies.async-io] version = "2" optional = true [dependencies.async-std] version = "1.12" optional = true [dependencies.bytes] version = "1" [dependencies.futures-io] version = "0.3.19" optional = true [dependencies.pin-project-lite] version = "0.2" [dependencies.proto] version = "0.12.0" default-features = false package = "iroh-quinn-proto" [dependencies.rustc-hash] version = "2" [dependencies.rustls] version = "0.23.5" features = [ "ring", "std", ] optional = true default-features = false [dependencies.smol] version = "2" optional = true [dependencies.socket2] version = "0.5" [dependencies.thiserror] version = "1.0.21" [dependencies.tokio] version = "1.28.1" features = ["sync"] [dependencies.tracing] version = "0.1.10" features = ["std"] default-features = false [dependencies.udp] version = "0.5" features = ["tracing"] default-features = false package = "iroh-quinn-udp" [dev-dependencies.anyhow] version = "1.0.22" [dev-dependencies.bencher] version = "0.1.5" [dev-dependencies.clap] version = "4.5" features = ["derive"] [dev-dependencies.crc] version = "3" [dev-dependencies.directories-next] version = "2" [dev-dependencies.rand] version = "0.8" [dev-dependencies.rcgen] version = "0.13" [dev-dependencies.rustls-pemfile] version = "2" [dev-dependencies.tokio] version = "1.28.1" features = [ "sync", "rt", "rt-multi-thread", "time", "macros", ] [dev-dependencies.tokio-stream] version = "0.1.15" [dev-dependencies.tracing-futures] version = "0.2.0" features = ["std-future"] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3.1" features = [ "env-filter", "fmt", "ansi", "time", "local-time", ] default-features = false [dev-dependencies.url] version = "2" [features] default = [ "log", "platform-verifier", "ring", "runtime-tokio", "rustls", ] lock_tracking = [] log = [ "tracing/log", "proto/log", "udp/log", ] platform-verifier = ["proto/platform-verifier"] ring = ["proto/ring"] runtime-async-std = [ "async-io", "async-std", ] runtime-smol = [ "async-io", "smol", ] runtime-tokio = [ "tokio/time", "tokio/rt", "tokio/net", ] rustls = [ "dep:rustls", "proto/rustls", "proto/ring", ]