1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-22 16:16:40 +00:00
actix-web/Cargo.toml

140 lines
3.2 KiB
TOML
Raw Normal View History

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