[[example]]
name = "compression"
required-features = ["compression"]
[[example]]
name = "unix_socket"
required-features = ["tokio/uds"]
[[example]]
name = "websockets"
required-features = ["websocket"]
[[example]]
name = "websockets_chat"
required-features = ["websocket"]
[[example]]
name = "query_string"
[[test]]
name = "multipart"
required-features = ["multipart"]
[[test]]
name = "ws"
required-features = ["websocket"]
[dependencies.async-compression]
features = ["brotli", "deflate", "gzip", "stream"]
optional = true
version = "0.3.1"
[dependencies.bytes]
version = "0.5"
[dependencies.futures]
default-features = false
features = ["alloc"]
version = "0.3"
[dependencies.headers]
version = "0.3"
[dependencies.http]
version = "0.2"
[dependencies.hyper]
features = ["stream"]
version = "0.13"
[dependencies.log]
version = "0.4"
[dependencies.mime]
version = "0.3"
[dependencies.mime_guess]
version = "2.0.0"
[dependencies.multipart]
default-features = false
features = ["server"]
optional = true
version = "0.17"
[dependencies.pin-project]
version = "0.4.17"
[dependencies.scoped-tls]
version = "1.0"
[dependencies.serde]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_urlencoded]
version = "0.6"
[dependencies.tokio]
features = ["fs", "stream", "sync", "time"]
version = "0.2"
[dependencies.tokio-rustls]
optional = true
version = "0.14"
[dependencies.tokio-tungstenite]
default-features = false
optional = true
version = "0.11"
[dependencies.tower-service]
version = "0.3"
[dependencies.tracing]
default-features = false
features = ["log", "std"]
version = "0.1"
[dependencies.tracing-futures]
default-features = false
features = ["std-future"]
version = "0.2"
[dependencies.urlencoding]
version = "1.0.0"
[dev-dependencies.handlebars]
version = "3.0.0"
[dev-dependencies.listenfd]
version = "0.3"
[dev-dependencies.pretty_env_logger]
version = "0.4"
[dev-dependencies.serde_derive]
version = "1.0"
[dev-dependencies.tokio]
features = ["macros"]
version = "0.2"
[dev-dependencies.tracing-log]
version = "0.1"
[dev-dependencies.tracing-subscriber]
version = "0.2.7"
[features]
compression = ["async-compression"]
default = ["multipart", "websocket"]
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.2.5"
[package.metadata.docs.rs]
all-features = true
[profile.bench]
codegen-units = 1
incremental = false
[profile.release]
codegen-units = 1
incremental = false