[[example]]
name = "compression"
required-features = ["compression"]
[[example]]
name = "unix_socket"
[[example]]
name = "websockets"
required-features = ["websocket"]
[[example]]
name = "websockets_chat"
required-features = ["websocket"]
[[example]]
name = "query_string"
[[example]]
name = "multipart"
required-features = ["multipart"]
[[test]]
name = "multipart"
required-features = ["multipart"]
[[test]]
name = "ws"
required-features = ["websocket"]
[dependencies.async-compression]
features = ["tokio"]
optional = true
version = "0.3.7"
[dependencies.bytes]
version = "1.0"
[dependencies.futures-channel]
features = ["sink"]
version = "0.3.17"
[dependencies.futures-util]
default-features = false
features = ["sink"]
version = "0.3"
[dependencies.headers]
version = "0.3"
[dependencies.http]
version = "0.2"
[dependencies.hyper]
features = ["stream", "server", "http1", "http2", "tcp", "client"]
version = "0.14"
[dependencies.log]
version = "0.4"
[dependencies.mime]
version = "0.3"
[dependencies.mime_guess]
version = "2.0.0"
[dependencies.multer]
optional = true
version = "2.1.0"
[dependencies.percent-encoding]
version = "2.1"
[dependencies.pin-project]
version = "1.0"
[dependencies.rustls-pemfile]
version = "1.0"
[dependencies.scoped-tls]
version = "1.0"
[dependencies.serde]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_urlencoded]
version = "0.7"
[dependencies.tokio]
features = ["fs", "sync", "time"]
version = "1.0"
[dependencies.tokio-rustls]
optional = true
version = "0.23"
[dependencies.tokio-stream]
version = "0.1.1"
[dependencies.tokio-tungstenite]
optional = true
version = "0.18"
[dependencies.tokio-util]
features = ["io"]
version = "0.7"
[dependencies.tower-service]
version = "0.3"
[dependencies.tracing]
default-features = false
features = ["log", "std"]
version = "0.1.21"
[dev-dependencies.handlebars]
version = "4.0"
[dev-dependencies.listenfd]
version = "1.0"
[dev-dependencies.pretty_env_logger]
version = "0.4"
[dev-dependencies.serde_derive]
version = "1.0"
[dev-dependencies.tokio]
features = ["macros", "rt-multi-thread"]
version = "1.0"
[dev-dependencies.tokio-stream]
features = ["net"]
version = "0.1.1"
[dev-dependencies.tracing-log]
version = "0.1"
[dev-dependencies.tracing-subscriber]
features = ["env-filter"]
version = "0.3"
[features]
compression = ["compression-brotli", "compression-gzip"]
compression-brotli = ["async-compression/brotli"]
compression-gzip = ["async-compression/deflate", "async-compression/gzip"]
default = ["multipart", "websocket"]
multipart = ["multer"]
tls = ["tokio-rustls"]
websocket = ["tokio-tungstenite"]
[package]
authors = ["Sean McArthur <sean@seanmonstar.com>"]
autoexamples = true
autotests = true
categories = ["web-programming::http-server"]
description = "serve the web at warp speeds"
documentation = "https://docs.rs/warp"
edition = "2018"
keywords = ["warp", "server", "http", "hyper"]
license = "MIT"
name = "warp"
readme = "README.md"
repository = "https://github.com/seanmonstar/warp"
version = "0.3.5"
[package.metadata.docs.rs]
all-features = true
[profile.bench]
codegen-units = 1
incremental = false
[profile.release]
codegen-units = 1
incremental = false