2017-09-30 16:10:03 +00:00
|
|
|
[package]
|
2017-10-14 14:59:35 +00:00
|
|
|
name = "actix-web"
|
2019-11-20 17:33:22 +00:00
|
|
|
version = "2.0.0-alpha.1"
|
2017-09-30 16:10:03 +00:00
|
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
2018-04-12 16:54:35 +00:00
|
|
|
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"
|
2019-03-28 20:46:26 +00:00
|
|
|
keywords = ["actix", "http", "web", "framework", "async"]
|
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"
|
2019-03-02 22:07:21 +00:00
|
|
|
documentation = "https://docs.rs/actix-web/"
|
2017-11-06 22:56:38 +00:00
|
|
|
categories = ["network-programming", "asynchronous",
|
2018-02-28 07:51:57 +00:00
|
|
|
"web-programming::http-server",
|
|
|
|
"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"]
|
2019-03-02 06:51:32 +00:00
|
|
|
edition = "2018"
|
2018-06-22 07:33:32 +00:00
|
|
|
|
2019-04-19 20:54:44 +00:00
|
|
|
[package.metadata.docs.rs]
|
2019-11-20 17:33:22 +00:00
|
|
|
features = ["openssl", "rustls", "brotli", "flate2-zlib", "secure-cookies", "client"]
|
2019-04-19 20:54:44 +00:00
|
|
|
|
2017-10-16 20:16:54 +00:00
|
|
|
[badges]
|
2019-03-02 22:07:21 +00:00
|
|
|
travis-ci = { repository = "actix/actix-web", branch = "master" }
|
|
|
|
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"
|
|
|
|
|
2019-03-02 07:59:44 +00:00
|
|
|
[workspace]
|
|
|
|
members = [
|
2019-11-20 17:33:22 +00:00
|
|
|
".",
|
|
|
|
"awc",
|
|
|
|
"actix-http",
|
2019-11-21 04:54:07 +00:00
|
|
|
"actix-cors",
|
2019-11-21 05:31:31 +00:00
|
|
|
"actix-files",
|
2019-11-21 06:17:01 +00:00
|
|
|
"actix-framed",
|
2019-11-21 07:08:22 +00:00
|
|
|
"actix-session",
|
2019-11-21 04:31:52 +00:00
|
|
|
"actix-identity",
|
2019-11-21 08:25:50 +00:00
|
|
|
"actix-multipart",
|
2019-11-21 07:01:07 +00:00
|
|
|
"actix-web-actors",
|
2019-11-20 17:33:22 +00:00
|
|
|
"actix-web-codegen",
|
|
|
|
"test-server",
|
2019-03-02 07:59:44 +00:00
|
|
|
]
|
|
|
|
|
2017-10-23 04:52:01 +00:00
|
|
|
[features]
|
2019-06-17 06:33:00 +00:00
|
|
|
default = ["brotli", "flate2-zlib", "client", "fail"]
|
2019-03-26 04:58:01 +00:00
|
|
|
|
|
|
|
# http client
|
|
|
|
client = ["awc"]
|
2018-03-07 07:38:58 +00:00
|
|
|
|
2018-04-24 16:32:19 +00:00
|
|
|
# brotli encoding, requires c compiler
|
2019-03-28 21:46:33 +00:00
|
|
|
brotli = ["actix-http/brotli"]
|
2018-03-14 00:21:22 +00:00
|
|
|
|
2018-04-24 16:29:15 +00:00
|
|
|
# miniz-sys backend for flate2 crate
|
2019-03-27 01:46:06 +00:00
|
|
|
flate2-zlib = ["actix-http/flate2-zlib"]
|
2018-04-24 16:29:15 +00:00
|
|
|
|
2018-04-24 16:32:19 +00:00
|
|
|
# rust backend for flate2 crate
|
2019-03-26 22:14:32 +00:00
|
|
|
flate2-rust = ["actix-http/flate2-rust"]
|
2018-04-24 16:29:15 +00:00
|
|
|
|
2019-03-05 18:08:08 +00:00
|
|
|
# sessions feature, session require "ring" crate and c compiler
|
2019-03-30 04:13:39 +00:00
|
|
|
secure-cookies = ["actix-http/secure-cookies"]
|
2019-03-05 18:08:08 +00:00
|
|
|
|
2019-05-18 16:54:23 +00:00
|
|
|
fail = ["actix-http/fail"]
|
|
|
|
|
2019-03-05 00:29:03 +00:00
|
|
|
# openssl
|
2019-11-20 17:33:22 +00:00
|
|
|
openssl = ["open-ssl", "actix-server/openssl", "awc/openssl"]
|
2019-03-05 00:29:03 +00:00
|
|
|
|
|
|
|
# rustls
|
2019-11-27 15:07:49 +00:00
|
|
|
# rustls = ["rust-tls", "actix-server/rustls", "awc/rustls"]
|
2019-07-18 11:24:12 +00:00
|
|
|
|
2017-09-30 16:10:03 +00:00
|
|
|
[dependencies]
|
2019-11-20 17:33:22 +00:00
|
|
|
actix-codec = "0.2.0-alpha.1"
|
|
|
|
actix-service = "1.0.0-alpha.1"
|
|
|
|
actix-utils = "0.5.0-alpha.1"
|
2019-05-15 17:31:40 +00:00
|
|
|
actix-router = "0.1.5"
|
2019-11-20 17:33:22 +00:00
|
|
|
actix-rt = "1.0.0-alpha.1"
|
2019-11-21 15:34:04 +00:00
|
|
|
actix-web-codegen = "0.2.0-alpha.1"
|
2019-11-20 17:33:22 +00:00
|
|
|
actix-http = "0.3.0-alpha.1"
|
|
|
|
actix-server = "0.8.0-alpha.1"
|
|
|
|
actix-server-config = "0.3.0-alpha.1"
|
|
|
|
actix-testing = "0.3.0-alpha.1"
|
|
|
|
actix-threadpool = "0.2.0-alpha.1"
|
|
|
|
awc = { version = "0.3.0-alpha.1", optional = true }
|
2018-06-19 06:07:07 +00:00
|
|
|
|
2019-03-02 06:51:32 +00:00
|
|
|
bytes = "0.4"
|
2019-11-25 11:59:14 +00:00
|
|
|
derive_more = "0.99.2"
|
2019-06-18 06:43:25 +00:00
|
|
|
encoding_rs = "0.8"
|
2019-11-20 17:33:22 +00:00
|
|
|
futures = "0.3.1"
|
2019-11-06 18:35:13 +00:00
|
|
|
hashbrown = "0.6.3"
|
2018-01-28 06:03:03 +00:00
|
|
|
log = "0.4"
|
2017-10-19 06:43:50 +00:00
|
|
|
mime = "0.3"
|
2019-03-05 00:29:03 +00:00
|
|
|
net2 = "0.2.33"
|
2019-07-17 09:48:37 +00:00
|
|
|
parking_lot = "0.9"
|
2019-11-20 17:33:22 +00:00
|
|
|
pin-project = "0.4.5"
|
2019-03-07 03:19:27 +00:00
|
|
|
regex = "1.0"
|
2019-03-17 07:48:40 +00:00
|
|
|
serde = { version = "1.0", features=["derive"] }
|
2017-11-16 06:06:28 +00:00
|
|
|
serde_json = "1.0"
|
2019-08-13 17:48:11 +00:00
|
|
|
serde_urlencoded = "0.6.1"
|
2019-04-20 00:23:17 +00:00
|
|
|
time = "0.1.42"
|
2019-08-13 18:03:24 +00:00
|
|
|
url = "2.1"
|
2019-03-02 06:51:32 +00:00
|
|
|
|
2019-03-05 00:29:03 +00:00
|
|
|
# ssl support
|
2019-11-20 17:33:22 +00:00
|
|
|
open-ssl = { version="0.10", package="openssl", optional = true }
|
2019-11-27 15:07:49 +00:00
|
|
|
# rust-tls = { version = "0.16", package="rustls", optional = true }
|
2019-03-05 00:29:03 +00:00
|
|
|
|
2017-10-22 05:59:09 +00:00
|
|
|
[dev-dependencies]
|
2019-11-20 17:33:22 +00:00
|
|
|
# actix = "0.8.3"
|
|
|
|
actix-connect = "0.3.0-alpha.1"
|
|
|
|
actix-http-test = "0.3.0-alpha.1"
|
2019-07-01 03:37:03 +00:00
|
|
|
rand = "0.7"
|
2018-12-04 06:58:22 +00:00
|
|
|
env_logger = "0.6"
|
2017-12-02 05:29:22 +00:00
|
|
|
serde_derive = "1.0"
|
2019-03-28 21:10:03 +00:00
|
|
|
brotli2 = "0.3.2"
|
|
|
|
flate2 = "1.0.2"
|
2017-10-26 13:12:23 +00:00
|
|
|
|
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
|
2019-04-01 17:26:09 +00:00
|
|
|
|
|
|
|
[patch.crates-io]
|
2019-11-20 17:33:22 +00:00
|
|
|
actix-web = { path = "." }
|
|
|
|
actix-http = { path = "actix-http" }
|
|
|
|
actix-http-test = { path = "test-server" }
|
|
|
|
actix-web-codegen = { path = "actix-web-codegen" }
|
2019-11-15 09:54:11 +00:00
|
|
|
# actix-web-actors = { path = "actix-web-actors" }
|
2019-11-25 11:59:14 +00:00
|
|
|
actix-cors = { path = "actix-cors" }
|
|
|
|
actix-identity = { path = "actix-identity" }
|
2019-11-21 08:25:50 +00:00
|
|
|
actix-session = { path = "actix-session" }
|
2019-11-21 05:31:31 +00:00
|
|
|
actix-files = { path = "actix-files" }
|
2019-11-21 08:25:50 +00:00
|
|
|
actix-multipart = { path = "actix-multipart" }
|
2019-11-20 17:33:22 +00:00
|
|
|
awc = { path = "awc" }
|
2019-11-15 09:54:11 +00:00
|
|
|
|
2019-11-20 18:52:38 +00:00
|
|
|
actix-codec = { git = "https://github.com/actix/actix-net.git" }
|
|
|
|
actix-connect = { git = "https://github.com/actix/actix-net.git" }
|
|
|
|
actix-rt = { git = "https://github.com/actix/actix-net.git" }
|
2019-11-26 05:25:50 +00:00
|
|
|
actix-macros = { git = "https://github.com/actix/actix-net.git" }
|
2019-11-20 18:52:38 +00:00
|
|
|
actix-server = { git = "https://github.com/actix/actix-net.git" }
|
|
|
|
actix-server-config = { git = "https://github.com/actix/actix-net.git" }
|
|
|
|
actix-service = { git = "https://github.com/actix/actix-net.git" }
|
|
|
|
actix-testing = { git = "https://github.com/actix/actix-net.git" }
|
|
|
|
actix-utils = { git = "https://github.com/actix/actix-net.git" }
|