2017-09-30 18:10:03 +02:00
|
|
|
[package]
|
2017-10-14 16:59:35 +02:00
|
|
|
name = "actix-web"
|
2018-04-09 23:27:13 +02:00
|
|
|
version = "0.5.0"
|
2017-09-30 18:10:03 +02:00
|
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
2018-03-08 06:28:54 +01:00
|
|
|
description = "Actix web is a simple, pragmatic, 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"]
|
2017-10-23 18:16:13 +02:00
|
|
|
homepage = "https://github.com/actix/actix-web"
|
|
|
|
repository = "https://github.com/actix/actix-web.git"
|
2017-10-26 15:12:23 +02:00
|
|
|
documentation = "https://docs.rs/actix-web/"
|
2017-11-06 23:56:38 +01:00
|
|
|
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-01-13 20:17:48 +01:00
|
|
|
exclude = [".gitignore", ".travis.yml", ".cargo/config",
|
2018-01-21 18:09:03 +01:00
|
|
|
"appveyor.yml", "/examples/**"]
|
2017-10-26 15:12:23 +02:00
|
|
|
build = "build.rs"
|
2017-09-30 18:10:03 +02:00
|
|
|
|
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-03-14 01:21:22 +01:00
|
|
|
default = ["session", "brotli"]
|
2017-10-23 06:52:01 +02:00
|
|
|
|
2017-11-02 00:34:58 +01:00
|
|
|
# tls
|
|
|
|
tls = ["native-tls", "tokio-tls"]
|
|
|
|
|
2017-11-04 20:33:14 +01:00
|
|
|
# openssl
|
|
|
|
alpn = ["openssl", "openssl/v102", "openssl/v110", "tokio-openssl"]
|
|
|
|
|
2018-03-07 08:38:58 +01:00
|
|
|
# sessions
|
|
|
|
session = ["cookie/secure"]
|
|
|
|
|
2018-03-16 20:04:01 +01:00
|
|
|
# brotli encoding
|
2018-03-14 01:21:22 +01:00
|
|
|
brotli = ["brotli2"]
|
|
|
|
|
2017-09-30 18:10:03 +02:00
|
|
|
[dependencies]
|
2018-03-19 21:12:36 +01:00
|
|
|
actix = "^0.5.5"
|
2018-03-07 07:44:06 +01:00
|
|
|
|
2018-01-28 07:03:03 +01:00
|
|
|
base64 = "0.9"
|
|
|
|
bitflags = "1.0"
|
|
|
|
failure = "0.1.1"
|
|
|
|
flate2 = "1.0"
|
2018-01-12 21:31:33 +01:00
|
|
|
h2 = "0.1"
|
2018-02-28 23:16:55 +01:00
|
|
|
http = "^0.1.5"
|
2018-01-12 01:47:55 +01:00
|
|
|
httparse = "1.2"
|
2017-10-15 07:52:38 +02:00
|
|
|
http-range = "0.1"
|
2018-01-28 07:03:03 +01:00
|
|
|
libc = "0.2"
|
|
|
|
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.4"
|
2017-10-15 07:52:38 +02:00
|
|
|
regex = "0.2"
|
2017-11-16 07:06:28 +01:00
|
|
|
serde = "1.0"
|
|
|
|
serde_json = "1.0"
|
2018-03-27 00:58:30 +02:00
|
|
|
serde_urlencoded = "0.5"
|
2018-02-28 05:32:51 +01:00
|
|
|
sha1 = "0.6"
|
2017-12-08 01:22:26 +01:00
|
|
|
smallvec = "0.6"
|
2018-01-28 07:03:03 +01:00
|
|
|
time = "0.1"
|
2018-02-27 20:31:54 +01:00
|
|
|
encoding = "0.2"
|
2018-03-06 09:43:25 +01:00
|
|
|
language-tags = "0.2"
|
2018-04-02 02:37:22 +02:00
|
|
|
lazy_static = "1.0"
|
2018-02-27 20:31:54 +01:00
|
|
|
url = { version="1.7", features=["query_encoding"] }
|
2018-03-07 08:38:58 +01:00
|
|
|
cookie = { version="0.10", features=["percent-encode"] }
|
2018-03-14 01:21:22 +01:00
|
|
|
brotli2 = { version="^0.3.2", optional = true }
|
2017-11-16 07:06:28 +01:00
|
|
|
|
2017-12-27 20:22:27 +01:00
|
|
|
# io
|
2018-02-10 02:20:28 +01:00
|
|
|
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-02-10 02:20:28 +01:00
|
|
|
byteorder = "1"
|
2017-09-30 18:10:03 +02:00
|
|
|
futures = "0.1"
|
2018-03-07 23:56:53 +01:00
|
|
|
futures-cpupool = "0.1"
|
2017-09-30 18:10:03 +02:00
|
|
|
tokio-io = "0.1"
|
2017-10-29 14:05:31 +01:00
|
|
|
tokio-core = "0.1"
|
2018-02-07 23:58:08 +01:00
|
|
|
trust-dns-resolver = "0.8"
|
2017-11-02 20:54:09 +01:00
|
|
|
|
2017-11-04 20:33:14 +01:00
|
|
|
# native-tls
|
2017-11-02 00:34:58 +01:00
|
|
|
native-tls = { version="0.1", optional = true }
|
|
|
|
tokio-tls = { version="0.1", optional = true }
|
|
|
|
|
2017-11-04 20:33:14 +01:00
|
|
|
# openssl
|
2018-01-25 19:24:04 +01:00
|
|
|
openssl = { version="0.10", optional = true }
|
|
|
|
tokio-openssl = { version="0.2", optional = true }
|
2017-11-04 20:33:14 +01:00
|
|
|
|
2017-10-22 07:59:09 +02:00
|
|
|
[dev-dependencies]
|
2018-01-21 05:12:24 +01:00
|
|
|
env_logger = "0.5"
|
2017-10-26 15:12:23 +02:00
|
|
|
skeptic = "0.13"
|
2017-12-02 06:29:22 +01:00
|
|
|
serde_derive = "1.0"
|
2017-10-26 15:12:23 +02:00
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
skeptic = "0.13"
|
2017-11-24 19:28:43 +01:00
|
|
|
version_check = "0.1"
|
2017-10-22 07:59:09 +02:00
|
|
|
|
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
|
2018-01-01 06:55:25 +01:00
|
|
|
|
|
|
|
[workspace]
|
2018-01-01 07:22:56 +01:00
|
|
|
members = [
|
|
|
|
"./",
|
2018-01-02 22:42:30 +01:00
|
|
|
"examples/basics",
|
2018-02-28 06:11:24 +01:00
|
|
|
"examples/juniper",
|
2018-01-01 07:22:56 +01:00
|
|
|
"examples/diesel",
|
2018-02-16 08:05:10 +01:00
|
|
|
"examples/r2d2",
|
2018-01-01 07:22:56 +01:00
|
|
|
"examples/json",
|
2018-03-09 03:05:13 +01:00
|
|
|
"examples/protobuf",
|
2018-01-02 22:42:30 +01:00
|
|
|
"examples/hello-world",
|
2018-03-05 20:12:19 +01:00
|
|
|
"examples/http-proxy",
|
2018-01-01 07:22:56 +01:00
|
|
|
"examples/multipart",
|
|
|
|
"examples/state",
|
2018-02-28 19:26:40 +01:00
|
|
|
"examples/redis-session",
|
2018-01-01 07:22:56 +01:00
|
|
|
"examples/template_tera",
|
|
|
|
"examples/tls",
|
2018-01-01 18:31:42 +01:00
|
|
|
"examples/websocket",
|
2018-01-01 07:22:56 +01:00
|
|
|
"examples/websocket-chat",
|
2018-01-27 04:52:20 +01:00
|
|
|
"examples/web-cors/backend",
|
2018-03-05 14:09:13 +01:00
|
|
|
"examples/unix-socket",
|
2018-02-10 02:20:28 +01:00
|
|
|
"tools/wsload/",
|
2018-01-01 07:22:56 +01:00
|
|
|
]
|