1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-27 17:52:56 +01:00
actix-web/Cargo.toml

140 lines
3.3 KiB
TOML
Raw Normal View History

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