# 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 = "flexible-hyper-server-tls" version = "0.5.0" build = false exclude = ["examples/certs"] autobins = false autoexamples = false autotests = false autobenches = false description = "Easily choose between HTTP or HTTPS when using hyper" readme = "README.md" keywords = [ "hyper", "tls", "http", "https", "rustls", ] categories = ["network-programming"] license = "MIT OR Apache-2.0" repository = "https://github.com/ravenclaw900/flexible-hyper-server-tls" [lib] name = "flexible_hyper_server_tls" path = "src/lib.rs" [[example]] name = "hello-world-https" path = "examples/hello-world-https.rs" [dependencies.hyper] version = "1.5.0" features = [ "server", "http1", ] [dependencies.hyper-util] version = "0.1.9" features = ["tokio"] [dependencies.rustls-pki-types] version = "1.10.0" [dependencies.thiserror] version = "1.0.63" [dependencies.tokio] version = "1.40.0" features = [ "net", "rt", ] [dependencies.tokio-rustls] version = "0.26.0" default-features = false [dev-dependencies.http-body-util] version = "0.1.2" [dev-dependencies.hyper] version = "1.4.1" features = ["http1"] [dev-dependencies.tokio] version = "1.40.0" features = [ "rt", "macros", ] [features] aws_lc_rs = ["tokio-rustls/aws_lc_rs"] default = [ "rustls_helpers", "aws_lc_rs", "tls12", ] ring = ["tokio-rustls/ring"] rustls_helpers = ["tokio/fs"] tls12 = ["tokio-rustls/tls12"]