# 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.75" name = "salvo-http3" version = "0.3.1" authors = [ "Sean McArthur ", "Jean-Christophe BEGUE ", "Chrislearn Young ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An async HTTP/3 implementation." documentation = "https://docs.rs/salvo-http3" readme = "README.md" keywords = [ "http3", "quic", "quinn", "salvo", ] categories = [ "network-programming", "web-programming::http-client", "web-programming::http-server", ] license = "MIT" repository = "https://github.com/salvo-rs/salvo-http3" [lib] name = "salvo_http3" path = "src/lib.rs" [[test]] name = "examples_server_client" path = "tests/examples_server_client.rs" [dependencies.bytes] version = "1" [dependencies.fastrand] version = "2" [dependencies.futures-util] version = "0.3" features = ["io"] default-features = false [dependencies.http] version = "1" [dependencies.pin-project-lite] version = "0.2" default-features = false [dependencies.quinn] version = "0.11" features = ["futures-io"] optional = true default-features = false [dependencies.quinn-proto] version = "0.11" optional = true default-features = false [dependencies.tokio] version = "1" features = [ "sync", "io-util", ] [dependencies.tokio-util] version = "0.7.7" [dependencies.tracing] version = "0.1.37" [dev-dependencies.assert_matches] version = "1.5.0" [dev-dependencies.futures-util] version = "0.3" features = ["io"] default-features = false [dev-dependencies.proptest] version = "1" [dev-dependencies.quinn] version = "0.11" features = [ "runtime-tokio", "rustls", "ring", ] default-features = false [dev-dependencies.quinn-proto] version = "0.11" default-features = false [dev-dependencies.rcgen] version = "0.13" [dev-dependencies.rustls] version = "0.23" features = [ "logging", "ring", "std", ] default-features = false [dev-dependencies.tokio] version = "1" features = [ "rt", "macros", "io-util", "io-std", "rt-multi-thread", ] [dev-dependencies.tokio-util] version = "0.7.7" [dev-dependencies.tracing-subscriber] version = "0.3" features = [ "fmt", "ansi", "env-filter", "time", "tracing-log", ] default-features = false [features] default = ["quinn"] quinn = [ "dep:quinn", "dep:quinn-proto", ]