gecko-dev/third_party/rust/warp/Cargo.toml

126 строки
2.4 KiB
TOML

# 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]
name = "warp"
version = "0.1.19"
authors = ["Sean McArthur <sean@seanmonstar.com>"]
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 = "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.4.8"
[dependencies.futures]
version = "0.1"
[dependencies.headers]
version = "0.2"
[dependencies.http]
version = "0.1"
[dependencies.hyper]
version = "0.12.18"
[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.rustls]
version = "0.15"
optional = true
[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.1.11"
[dependencies.tokio-io]
version = "0.1"
[dependencies.tokio-threadpool]
version = "0.1.7"
[dependencies.tungstenite]
version = "0.9"
optional = true
default-features = false
[dependencies.urlencoding]
version = "1.0.0"
[dev-dependencies.handlebars]
version = "1.0.0"
[dev-dependencies.pretty_env_logger]
version = "0.3"
[dev-dependencies.serde_derive]
version = "1.0"
[features]
default = ["multipart", "websocket"]
tls = ["rustls"]
websocket = ["tungstenite"]