2017-09-30 18:10:03 +02:00
|
|
|
[package]
|
2017-10-14 16:59:35 +02:00
|
|
|
name = "actix-web"
|
2019-05-25 11:13:04 +02:00
|
|
|
version = "1.0.0"
|
2017-09-30 18:10:03 +02:00
|
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
2018-04-12 18:54:35 +02:00
|
|
|
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"
|
2019-03-28 21:46:26 +01:00
|
|
|
keywords = ["actix", "http", "web", "framework", "async"]
|
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"
|
2019-03-02 23:07:21 +01: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::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"]
|
2019-03-02 07:51:32 +01:00
|
|
|
edition = "2018"
|
2018-06-22 09:33:32 +02:00
|
|
|
|
2019-04-19 22:54:44 +02:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["ssl", "brotli", "flate2-zlib", "secure-cookies", "client", "rust-tls"]
|
|
|
|
|
2017-10-16 22:16:54 +02:00
|
|
|
[badges]
|
2019-03-02 23:07:21 +01:00
|
|
|
travis-ci = { repository = "actix/actix-web", branch = "master" }
|
|
|
|
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"
|
|
|
|
|
2019-03-02 08:59:44 +01:00
|
|
|
[workspace]
|
|
|
|
members = [
|
|
|
|
".",
|
2019-03-26 05:58:01 +01:00
|
|
|
"awc",
|
2019-03-26 20:31:51 +01:00
|
|
|
"actix-http",
|
2019-03-07 08:39:08 +01:00
|
|
|
"actix-files",
|
2019-04-11 00:05:03 +02:00
|
|
|
"actix-framed",
|
2019-03-06 03:52:29 +01:00
|
|
|
"actix-session",
|
2019-04-03 21:28:58 +02:00
|
|
|
"actix-multipart",
|
2019-03-17 21:47:20 +01:00
|
|
|
"actix-web-actors",
|
2019-03-07 20:09:42 +01:00
|
|
|
"actix-web-codegen",
|
2019-04-02 23:04:28 +02:00
|
|
|
"test-server",
|
2019-03-02 08:59:44 +01:00
|
|
|
]
|
|
|
|
|
2017-10-23 06:52:01 +02:00
|
|
|
[features]
|
2019-05-18 18:54:23 +02:00
|
|
|
default = ["brotli", "flate2-zlib", "secure-cookies", "client", "fail"]
|
2019-03-26 05:58:01 +01:00
|
|
|
|
|
|
|
# http client
|
|
|
|
client = ["awc"]
|
2018-03-07 08:38:58 +01:00
|
|
|
|
2018-04-24 18:32:19 +02:00
|
|
|
# brotli encoding, requires c compiler
|
2019-03-28 22:46:33 +01:00
|
|
|
brotli = ["actix-http/brotli"]
|
2018-03-14 01:21:22 +01:00
|
|
|
|
2018-04-24 18:29:15 +02:00
|
|
|
# miniz-sys backend for flate2 crate
|
2019-03-27 02:46:06 +01:00
|
|
|
flate2-zlib = ["actix-http/flate2-zlib"]
|
2018-04-24 18:29:15 +02:00
|
|
|
|
2018-04-24 18:32:19 +02:00
|
|
|
# rust backend for flate2 crate
|
2019-03-26 23:14:32 +01:00
|
|
|
flate2-rust = ["actix-http/flate2-rust"]
|
2018-04-24 18:29:15 +02:00
|
|
|
|
2019-03-05 19:08:08 +01:00
|
|
|
# sessions feature, session require "ring" crate and c compiler
|
2019-03-30 05:13:39 +01:00
|
|
|
secure-cookies = ["actix-http/secure-cookies"]
|
2019-03-05 19:08:08 +01:00
|
|
|
|
2019-05-18 18:54:23 +02:00
|
|
|
fail = ["actix-http/fail"]
|
|
|
|
|
2019-03-05 01:29:03 +01:00
|
|
|
# openssl
|
2019-03-29 04:27:47 +01:00
|
|
|
ssl = ["openssl", "actix-server/ssl", "awc/ssl"]
|
2019-03-05 01:29:03 +01:00
|
|
|
|
|
|
|
# rustls
|
2019-03-30 00:28:19 +01:00
|
|
|
rust-tls = ["rustls", "actix-server/rust-tls"]
|
2019-03-05 01:29:03 +01:00
|
|
|
|
2017-09-30 18:10:03 +02:00
|
|
|
[dependencies]
|
2019-04-10 21:24:17 +02:00
|
|
|
actix-codec = "0.1.2"
|
2019-05-12 17:34:51 +02:00
|
|
|
actix-service = "0.4.0"
|
2019-05-18 18:54:23 +02:00
|
|
|
actix-utils = "0.4.1"
|
2019-05-15 19:31:40 +02:00
|
|
|
actix-router = "0.1.5"
|
2019-03-28 13:16:43 +01:00
|
|
|
actix-rt = "0.2.2"
|
2019-05-18 19:49:59 +02:00
|
|
|
actix-web-codegen = "0.1.0"
|
2019-05-30 01:22:57 +02:00
|
|
|
actix-http = "0.2.2"
|
2019-05-18 20:00:33 +02:00
|
|
|
actix-server = "0.5.1"
|
2019-04-16 18:54:02 +02:00
|
|
|
actix-server-config = "0.1.1"
|
2019-03-28 13:16:43 +01:00
|
|
|
actix-threadpool = "0.1.0"
|
2019-05-12 19:18:02 +02:00
|
|
|
awc = { version = "0.2.0", optional = true }
|
2018-06-19 08:07:07 +02:00
|
|
|
|
2019-03-02 07:51:32 +01:00
|
|
|
bytes = "0.4"
|
|
|
|
derive_more = "0.14"
|
2019-03-02 23:07:21 +01:00
|
|
|
encoding = "0.2"
|
2019-05-18 18:54:23 +02:00
|
|
|
futures = "0.1.25"
|
2019-05-12 18:56:55 +02:00
|
|
|
hashbrown = "0.3.0"
|
2018-01-28 07:03:03 +01:00
|
|
|
log = "0.4"
|
2017-10-19 08:43:50 +02:00
|
|
|
mime = "0.3"
|
2019-03-05 01:29:03 +01:00
|
|
|
net2 = "0.2.33"
|
2019-05-05 07:18:02 +02:00
|
|
|
parking_lot = "0.8"
|
2019-03-07 04:19:27 +01:00
|
|
|
regex = "1.0"
|
2019-03-17 08:48:40 +01:00
|
|
|
serde = { version = "1.0", features=["derive"] }
|
2017-11-16 07:06:28 +01:00
|
|
|
serde_json = "1.0"
|
2019-04-12 23:00:45 +02:00
|
|
|
serde_urlencoded = "0.5.3"
|
2019-04-20 02:23:17 +02:00
|
|
|
time = "0.1.42"
|
2019-03-09 16:39:34 +01:00
|
|
|
url = { version="1.7", features=["query_encoding"] }
|
2019-03-02 07:51:32 +01:00
|
|
|
|
2019-03-05 01:29:03 +01:00
|
|
|
# ssl support
|
|
|
|
openssl = { version="0.10", optional = true }
|
2019-05-18 18:54:23 +02:00
|
|
|
rustls = { version = "0.15", optional = true }
|
2019-03-05 01:29:03 +01:00
|
|
|
|
2017-10-22 07:59:09 +02:00
|
|
|
[dev-dependencies]
|
2019-05-30 01:22:57 +02:00
|
|
|
actix-http = { version = "0.2.2", features=["ssl", "brotli", "flate2-zlib"] }
|
2019-05-12 19:18:02 +02:00
|
|
|
actix-http-test = { version = "0.2.0", features=["ssl"] }
|
2019-05-25 11:13:04 +02:00
|
|
|
actix-files = { version = "0.1.0" }
|
2019-03-02 07:51:32 +01:00
|
|
|
rand = "0.6"
|
2018-12-04 07:58:22 +01:00
|
|
|
env_logger = "0.6"
|
2017-12-02 06:29:22 +01:00
|
|
|
serde_derive = "1.0"
|
2019-03-25 22:33:34 +01:00
|
|
|
tokio-timer = "0.2.8"
|
2019-03-28 22:10:03 +01:00
|
|
|
brotli2 = "0.3.2"
|
|
|
|
flate2 = "1.0.2"
|
2017-10-26 15:12:23 +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
|
2019-04-01 19:26:09 +02:00
|
|
|
|
|
|
|
[patch.crates-io]
|
2019-04-02 22:35:01 +02:00
|
|
|
actix-web = { path = "." }
|
2019-04-01 19:26:09 +02:00
|
|
|
actix-http = { path = "actix-http" }
|
2019-04-18 21:23:56 +02:00
|
|
|
actix-http-test = { path = "test-server" }
|
2019-04-02 23:47:59 +02:00
|
|
|
actix-web-codegen = { path = "actix-web-codegen" }
|
|
|
|
actix-web-actors = { path = "actix-web-actors" }
|
|
|
|
actix-session = { path = "actix-session" }
|
2019-05-12 17:34:51 +02:00
|
|
|
actix-files = { path = "actix-files" }
|
|
|
|
actix-multipart = { path = "actix-multipart" }
|
2019-05-12 19:49:21 +02:00
|
|
|
awc = { path = "awc" }
|