# 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 = "2018" name = "simple-hyper-server-tls" version = "0.3.2" authors = ["Mateusz Szpakowski"] description = "Simplify TLS configuration for Hyper server" documentation = "https://docs.rs/simple-hyper-server-tls" keywords = [ "web", "server", "openssl", "hyper", "tls", ] categories = ["network-programming"] license = "LGPL-2.1-or-later" repository = "https://github.com/matszpk/simple-hyper-server-tls" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "hello" path = "examples/hello.rs" [[example]] name = "hello_data" path = "examples/hello_data.rs" [dependencies.hyper] version = "0.14" features = [ "server", "runtime", "tcp", "stream", ] [dependencies.openssl] version = "0.10" optional = true [dependencies.rustls] version = "0.20" optional = true [dependencies.rustls-pemfile] version = "1.0" optional = true [dependencies.tls-listener] version = "0.5" optional = true [dependencies.tokio-rustls] version = "0.23" optional = true [dev-dependencies.futures] version = "0.3" [dev-dependencies.reqwest] version = "0.11" features = [ "native-tls", "native-tls-alpn", ] [dev-dependencies.tokio] version = "1.18" features = ["full"] [features] default = ["hyper-full-server"] hyper-full-server = [ "hyper-h1", "hyper-h2", ] hyper-h1 = [ "hyper/http1", "tls-listener/hyper-h1", ] hyper-h2 = [ "hyper/http2", "tls-listener/hyper-h2", ] tls-openssl = [ "tls-listener/openssl", "openssl", ] tls-rustls = [ "tls-listener/rustls", "tokio-rustls", "rustls", "rustls-pemfile", ]