[dependencies.arc-swap]
optional = true
version = "1"
[dependencies.bytes]
version = "1"
[dependencies.futures-util]
default-features = false
features = ["alloc"]
version = "0.3"
[dependencies.http]
version = "1.1"
[dependencies.http-body]
version = "1.0"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
features = ["http1", "http2", "server"]
version = "1.4"
[dependencies.hyper-util]
features = ["server-auto", "tokio"]
version = "0.1"
[dependencies.openssl]
optional = true
version = "0.10"
[dependencies.pin-project-lite]
version = "0.2"
[dependencies.rustls]
optional = true
version = "0.23"
[dependencies.rustls-pemfile]
optional = true
version = "2.1"
[dependencies.rustls-pki-types]
optional = true
version = "1.7"
[dependencies.tokio]
features = ["macros", "net", "sync"]
version = "1"
[dependencies.tokio-openssl]
optional = true
version = "0.6"
[dependencies.tokio-rustls]
optional = true
version = "0.26"
[dependencies.tower]
features = ["util"]
version = "0.4"
[dependencies.tower-service]
version = "0.3"
[dev-dependencies.axum]
version = "0.7"
[dev-dependencies.hyper]
features = ["full"]
version = "1.4"
[dev-dependencies.serial_test]
version = "3.1"
[dev-dependencies.tokio]
features = ["full"]
version = "1"
[dev-dependencies.tower]
features = ["util"]
version = "0.4"
[dev-dependencies.tower-http]
features = ["add-extension"]
version = "0.5"
[[example]]
doc-scrape-examples = true
name = "from_std_listener_rustls"
path = "examples/from_std_listener_rustls.rs"
required-features = ["tls-rustls"]
[[example]]
doc-scrape-examples = true
name = "http_and_https"
path = "examples/http_and_https.rs"
required-features = ["tls-rustls"]
[[example]]
doc-scrape-examples = true
name = "rustls_reload"
path = "examples/rustls_reload.rs"
required-features = ["tls-rustls"]
[[example]]
doc-scrape-examples = true
name = "rustls_server"
path = "examples/rustls_server.rs"
required-features = ["tls-rustls"]
[[example]]
doc-scrape-examples = true
name = "rustls_session"
path = "examples/rustls_session.rs"
required-features = ["tls-rustls"]
[[example]]
name = "graceful_shutdown"
path = "examples/graceful_shutdown.rs"
[[example]]
name = "hello_world"
path = "examples/hello_world.rs"
[[example]]
name = "multiple_addresses"
path = "examples/multiple_addresses.rs"
[[example]]
name = "from_std_listener"
path = "examples/from_std_listener.rs"
[[example]]
name = "remote_address_using_tower"
path = "examples/remote_address_using_tower.rs"
[[example]]
name = "shutdown"
path = "examples/shutdown.rs"
[[example]]
name = "remote_address"
path = "examples/remote_address.rs"
[features]
default = []
tls-openssl = ["arc-swap", "openssl", "tokio-openssl"]
tls-rustls = ["arc-swap", "rustls", "rustls-pemfile", "tokio/fs", "tokio/time", "tokio-rustls", "rustls-pki-types"]
[lib]
name = "hyper_serve"
path = "src/lib.rs"
[package]
authors = ["Shawn Lian <shawn@renormtech.com>", "Programatik <programatik29@gmail.com>", "Adi Salimgereev <adisalimgereev@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["asynchronous", "network-programming", "web-programming"]
description = "High level server designed to be used with axum framework."
edition = "2021"
homepage = "https://github.com/NOBLES5E/hyper-serve"
keywords = ["http", "https", "web", "server"]
license = "MIT"
name = "hyper-serve"
readme = "README.md"
repository = "https://github.com/NOBLES5E/hyper-serve"
version = "0.6.2"
[package.metadata.docs.rs]
all-features = true
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
rustdoc-args = ["--cfg", "docsrs"]