# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "warp" version = "0.2.2" authors = ["Sean McArthur "] autoexamples = true autotests = true description = "serve the web at warp speeds" documentation = "https://docs.rs/warp" readme = "README.md" keywords = ["warp", "server", "http", "hyper"] categories = ["web-programming::http-server"] license = "MIT" repository = "https://github.com/seanmonstar/warp" [package.metadata.docs.rs] features = ["tls"] [profile.bench] codegen-units = 1 incremental = false [profile.release] codegen-units = 1 incremental = false [[example]] name = "unix_socket" required-features = ["tokio/uds"] [[example]] name = "websockets" required-features = ["websocket"] [[example]] name = "websockets_chat" required-features = ["websocket"] [[test]] name = "multipart" required-features = ["multipart"] [[test]] name = "ws" required-features = ["websocket"] [dependencies.bytes] version = "0.5" [dependencies.futures] version = "0.3" features = ["alloc"] default-features = false [dependencies.headers] version = "0.3" [dependencies.http] version = "0.2" [dependencies.hyper] version = "0.13" [dependencies.log] version = "0.4" [dependencies.mime] version = "0.3" [dependencies.mime_guess] version = "2.0.0" [dependencies.multipart] version = "0.16" features = ["server"] optional = true default-features = false [dependencies.pin-project] version = "0.4.5" [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] version = "0.2" features = ["blocking", "fs", "stream", "sync", "time"] [dependencies.tokio-rustls] version = "0.12.2" optional = true [dependencies.tokio-tungstenite] version = "0.10" optional = true default-features = false [dependencies.tower-service] version = "0.3" [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.3" [dev-dependencies.serde_derive] version = "1.0" [dev-dependencies.tokio] version = "0.2" features = ["macros"] [features] default = ["multipart", "websocket"] tls = ["tokio-rustls"] websocket = ["tokio-tungstenite"]