2017-09-30 09:10:03 -07:00
|
|
|
[package]
|
2017-10-14 07:59:35 -07:00
|
|
|
name = "actix-web"
|
2018-10-10 08:36:16 -07:00
|
|
|
version = "0.7.12"
|
2017-09-30 09:10:03 -07:00
|
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
2018-04-12 09:54:35 -07:00
|
|
|
description = "Actix web is a simple, pragmatic and extremely fast web framework for Rust."
|
2017-09-30 09:10:03 -07:00
|
|
|
readme = "README.md"
|
2017-12-17 12:35:04 -08:00
|
|
|
keywords = ["http", "web", "framework", "async", "futures"]
|
2018-05-24 08:55:10 -07:00
|
|
|
homepage = "https://actix.rs"
|
2017-10-23 09:16:13 -07:00
|
|
|
repository = "https://github.com/actix/actix-web.git"
|
2018-07-21 04:19:02 -07:00
|
|
|
documentation = "https://actix.rs/api/actix-web/stable/actix_web/"
|
2017-11-06 14:56:38 -08:00
|
|
|
categories = ["network-programming", "asynchronous",
|
2018-02-27 23:51:57 -08:00
|
|
|
"web-programming::http-server",
|
|
|
|
"web-programming::http-client",
|
|
|
|
"web-programming::websocket"]
|
2017-12-17 10:08:44 -08:00
|
|
|
license = "MIT/Apache-2.0"
|
2018-04-12 20:31:58 -07:00
|
|
|
exclude = [".gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"]
|
2017-10-26 06:12:23 -07:00
|
|
|
build = "build.rs"
|
2017-09-30 09:10:03 -07:00
|
|
|
|
2018-06-22 09:33:32 +02:00
|
|
|
[package.metadata.docs.rs]
|
2018-10-08 21:58:37 -07:00
|
|
|
features = ["tls", "ssl", "rust-tls", "session", "brotli", "flate2-c"]
|
2018-06-22 09:33:32 +02:00
|
|
|
|
2017-10-16 13:16:54 -07:00
|
|
|
[badges]
|
2017-10-23 09:16:13 -07:00
|
|
|
travis-ci = { repository = "actix/actix-web", branch = "master" }
|
2017-11-08 20:25:14 -08:00
|
|
|
appveyor = { repository = "fafhrd91/actix-web-hdy9d" }
|
2017-10-23 09:16:13 -07:00
|
|
|
codecov = { repository = "actix/actix-web", branch = "master", service = "github" }
|
2017-10-16 13:16:54 -07:00
|
|
|
|
2017-09-30 09:10:03 -07:00
|
|
|
[lib]
|
2017-10-14 07:59:35 -07:00
|
|
|
name = "actix_web"
|
2017-09-30 09:10:03 -07:00
|
|
|
path = "src/lib.rs"
|
|
|
|
|
2017-10-22 21:52:01 -07:00
|
|
|
[features]
|
2018-10-02 22:23:51 -07:00
|
|
|
default = ["session", "brotli", "flate2-c", "cell"]
|
2017-10-22 21:52:01 -07:00
|
|
|
|
2017-11-01 16:34:58 -07:00
|
|
|
# tls
|
2018-09-27 20:39:37 -07:00
|
|
|
tls = ["native-tls", "tokio-tls", "actix-net/tls"]
|
2017-11-01 16:34:58 -07:00
|
|
|
|
2017-11-04 12:33:14 -07:00
|
|
|
# openssl
|
2018-09-08 14:55:39 -07:00
|
|
|
ssl = ["openssl", "tokio-openssl", "actix-net/ssl"]
|
|
|
|
|
|
|
|
# deprecated, use "ssl"
|
2018-09-07 23:34:27 -07:00
|
|
|
alpn = ["openssl", "tokio-openssl", "actix-net/ssl"]
|
2017-11-04 12:33:14 -07:00
|
|
|
|
2018-07-29 09:43:04 +03:00
|
|
|
# rustls
|
2018-09-27 20:39:37 -07:00
|
|
|
rust-tls = ["rustls", "tokio-rustls", "webpki", "webpki-roots", "actix-net/rust-tls"]
|
2018-07-29 09:43:04 +03:00
|
|
|
|
2018-08-17 17:04:16 +01:00
|
|
|
# unix sockets
|
|
|
|
uds = ["tokio-uds"]
|
|
|
|
|
2018-04-24 09:32:19 -07:00
|
|
|
# sessions feature, session require "ring" crate and c compiler
|
2018-03-07 15:38:58 +08:00
|
|
|
session = ["cookie/secure"]
|
|
|
|
|
2018-04-24 09:32:19 -07:00
|
|
|
# brotli encoding, requires c compiler
|
2018-03-13 17:21:22 -07:00
|
|
|
brotli = ["brotli2"]
|
|
|
|
|
2018-04-24 09:29:15 -07:00
|
|
|
# miniz-sys backend for flate2 crate
|
|
|
|
flate2-c = ["flate2/miniz-sys"]
|
|
|
|
|
2018-04-24 09:32:19 -07:00
|
|
|
# rust backend for flate2 crate
|
2018-04-24 09:29:15 -07:00
|
|
|
flate2-rust = ["flate2/rust_backend"]
|
|
|
|
|
2018-10-02 22:23:51 -07:00
|
|
|
cell = ["actix-net/cell"]
|
|
|
|
|
2017-09-30 09:10:03 -07:00
|
|
|
[dependencies]
|
2018-10-10 08:36:16 -07:00
|
|
|
actix = "^0.7.5"
|
|
|
|
actix-net = "^0.1.1"
|
2018-06-19 12:07:07 +06:00
|
|
|
|
2018-01-27 22:03:03 -08:00
|
|
|
base64 = "0.9"
|
|
|
|
bitflags = "1.0"
|
2018-10-10 08:36:16 -07:00
|
|
|
failure = "^0.1.2"
|
2018-01-12 12:31:33 -08:00
|
|
|
h2 = "0.1"
|
2018-06-30 20:01:48 +08:00
|
|
|
htmlescape = "0.3"
|
2018-07-24 14:52:56 -07:00
|
|
|
http = "^0.1.8"
|
2018-07-05 13:21:33 +06:00
|
|
|
httparse = "1.3"
|
2018-01-27 22:03:03 -08:00
|
|
|
log = "0.4"
|
2017-10-18 23:43:50 -07:00
|
|
|
mime = "0.3"
|
2018-03-06 00:43:25 -08:00
|
|
|
mime_guess = "2.0.0-alpha"
|
2018-01-27 22:03:03 -08:00
|
|
|
num_cpus = "1.0"
|
|
|
|
percent-encoding = "1.0"
|
2018-05-24 21:03:16 -07:00
|
|
|
rand = "0.5"
|
2018-05-04 12:25:06 -07:00
|
|
|
regex = "1.0"
|
2017-11-15 20:06:28 -10:00
|
|
|
serde = "1.0"
|
|
|
|
serde_json = "1.0"
|
2018-02-27 20:32:51 -08:00
|
|
|
sha1 = "0.6"
|
2017-12-07 16:22:26 -08:00
|
|
|
smallvec = "0.6"
|
2018-01-27 22:03:03 -08:00
|
|
|
time = "0.1"
|
2018-02-27 11:31:54 -08:00
|
|
|
encoding = "0.2"
|
2018-03-06 00:43:25 -08:00
|
|
|
language-tags = "0.2"
|
2018-04-01 17:37:22 -07:00
|
|
|
lazy_static = "1.0"
|
2018-07-06 22:28:08 +01:00
|
|
|
lazycell = "1.0.0"
|
2018-06-18 09:18:03 +06:00
|
|
|
parking_lot = "0.6"
|
2018-10-02 00:19:28 -07:00
|
|
|
serde_urlencoded = "^0.5.3"
|
2018-02-27 11:31:54 -08:00
|
|
|
url = { version="1.7", features=["query_encoding"] }
|
2018-07-25 17:01:22 +02:00
|
|
|
cookie = { version="0.11", features=["percent-encode"] }
|
2018-03-13 17:21:22 -07:00
|
|
|
brotli2 = { version="^0.3.2", optional = true }
|
2018-07-31 09:06:05 -07:00
|
|
|
flate2 = { version="^1.0.2", optional = true, default-features = false }
|
2017-11-15 20:06:28 -10:00
|
|
|
|
2017-12-27 11:22:27 -08:00
|
|
|
# io
|
2018-02-09 17:20:28 -08:00
|
|
|
mio = "^0.6.13"
|
2017-12-27 11:22:27 -08:00
|
|
|
net2 = "0.2"
|
2017-09-30 09:10:03 -07:00
|
|
|
bytes = "0.4"
|
2018-06-23 10:29:23 +06:00
|
|
|
byteorder = "1.2"
|
2017-09-30 09:10:03 -07:00
|
|
|
futures = "0.1"
|
2018-03-07 14:56:53 -08:00
|
|
|
futures-cpupool = "0.1"
|
2018-04-30 19:51:55 -07:00
|
|
|
slab = "0.4"
|
2018-05-24 21:03:16 -07:00
|
|
|
tokio = "0.1"
|
2017-09-30 09:10:03 -07:00
|
|
|
tokio-io = "0.1"
|
2018-05-24 21:03:16 -07:00
|
|
|
tokio-tcp = "0.1"
|
|
|
|
tokio-timer = "0.2"
|
|
|
|
tokio-reactor = "0.1"
|
2018-09-07 20:46:43 -07:00
|
|
|
tokio-current-thread = "0.1"
|
2017-11-02 12:54:09 -07:00
|
|
|
|
2017-11-04 12:33:14 -07:00
|
|
|
# native-tls
|
2018-08-09 13:08:59 -07:00
|
|
|
native-tls = { version="0.2", optional = true }
|
2018-08-23 10:10:13 -07:00
|
|
|
tokio-tls = { version="0.2", optional = true }
|
2017-11-01 16:34:58 -07:00
|
|
|
|
2017-11-04 12:33:14 -07:00
|
|
|
# openssl
|
2018-01-25 10:24:04 -08:00
|
|
|
openssl = { version="0.10", optional = true }
|
|
|
|
tokio-openssl = { version="0.2", optional = true }
|
2017-11-04 12:33:14 -07:00
|
|
|
|
2018-07-29 09:43:04 +03:00
|
|
|
#rustls
|
2018-10-02 13:41:33 -07:00
|
|
|
rustls = { version = "0.14", optional = true }
|
|
|
|
tokio-rustls = { version = "0.8", optional = true }
|
2018-07-29 09:43:04 +03:00
|
|
|
webpki = { version = "0.18", optional = true }
|
|
|
|
webpki-roots = { version = "0.15", optional = true }
|
|
|
|
|
2018-08-17 17:04:16 +01:00
|
|
|
# unix sockets
|
|
|
|
tokio-uds = { version="0.2", optional = true }
|
|
|
|
|
2017-10-21 22:59:09 -07:00
|
|
|
[dev-dependencies]
|
2018-01-20 20:12:24 -08:00
|
|
|
env_logger = "0.5"
|
2017-12-01 21:29:22 -08:00
|
|
|
serde_derive = "1.0"
|
2017-10-26 06:12:23 -07:00
|
|
|
|
|
|
|
[build-dependencies]
|
2017-11-24 10:28:43 -08:00
|
|
|
version_check = "0.1"
|
2017-10-21 22:59:09 -07:00
|
|
|
|
2017-09-30 09:10:03 -07:00
|
|
|
[profile.release]
|
|
|
|
lto = true
|
|
|
|
opt-level = 3
|
2018-02-15 13:59:25 -08:00
|
|
|
codegen-units = 1
|