# 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" name = "hyper-server" version = "0.6.0" authors = [ "Programatik ", "Megsdevs ", ] description = "High level server for hyper and tower." homepage = "https://github.com/valorem-labs-inc/hyper-server" readme = "README.md" keywords = [ "axum", "tonic", "hyper", "tower", "server", ] categories = [ "asynchronous", "network-programming", "web-programming", ] license = "MIT" repository = "https://github.com/valorem-labs-inc/hyper-server" [package.metadata.docs.rs] all-features = true cargo-args = [ "-Zunstable-options", "-Zrustdoc-scrape-examples", ] rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "from_std_listener_rustls" doc-scrape-examples = true required-features = ["tls-rustls"] [[example]] name = "http_and_https" doc-scrape-examples = true required-features = ["tls-rustls"] [[example]] name = "rustls_reload" doc-scrape-examples = true required-features = ["tls-rustls"] [[example]] name = "rustls_server" doc-scrape-examples = true required-features = ["tls-rustls"] [[example]] name = "rustls_session" doc-scrape-examples = true required-features = ["tls-rustls"] [dependencies.arc-swap] version = "1" optional = true [dependencies.bytes] version = "1" [dependencies.futures-util] version = "0.3" features = ["alloc"] default-features = false [dependencies.http] version = "0.2" [dependencies.http-body] version = "0.4" [dependencies.hyper] version = "0.14.27" features = [ "http1", "http2", "server", "runtime", ] [dependencies.openssl] version = "0.10" optional = true [dependencies.pin-project-lite] version = "0.2" optional = true [dependencies.ppp] version = "2.2.0" optional = true [dependencies.rustls] version = "0.21" features = ["dangerous_configuration"] optional = true [dependencies.rustls-pemfile] version = "1" optional = true [dependencies.tokio] version = "1" features = [ "macros", "net", "sync", ] [dependencies.tokio-openssl] version = "0.6" optional = true [dependencies.tokio-rustls] version = "0.24" optional = true [dependencies.tower-service] version = "0.3" [dev-dependencies.axum] version = "0.6" [dev-dependencies.hyper] version = "0.14" features = ["full"] [dev-dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.tower] version = "0.4" features = ["util"] [dev-dependencies.tower-http] version = "0.4.4" features = ["add-extension"] [features] default = [] proxy-protocol = [ "ppp", "pin-project-lite", ] tls-openssl = [ "openssl", "tokio-openssl", "pin-project-lite", ] tls-rustls = [ "arc-swap", "pin-project-lite", "rustls", "rustls-pemfile", "tokio/fs", "tokio/time", "tokio-rustls", ]