2017-09-30 18:10:03 +02:00
|
|
|
[package]
|
2017-10-14 16:59:35 +02:00
|
|
|
name = "actix-web"
|
2020-09-15 14:14:14 +02:00
|
|
|
version = "3.0.2"
|
2017-09-30 18:10:03 +02:00
|
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
2020-09-13 04:24:44 +02:00
|
|
|
description = "Actix web is a powerful, 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"]
|
2020-07-14 04:19:56 +02:00
|
|
|
license = "MIT OR Apache-2.0"
|
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]
|
2019-12-13 07:40:22 +01:00
|
|
|
features = ["openssl", "rustls", "compress", "secure-cookies"]
|
2019-04-19 22:54:44 +02:00
|
|
|
|
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-11-20 18:33:22 +01:00
|
|
|
".",
|
|
|
|
"awc",
|
|
|
|
"actix-http",
|
2019-11-21 06:31:31 +01:00
|
|
|
"actix-files",
|
2019-11-21 09:25:50 +01:00
|
|
|
"actix-multipart",
|
2019-11-21 08:01:07 +01:00
|
|
|
"actix-web-actors",
|
2019-11-20 18:33:22 +01:00
|
|
|
"actix-web-codegen",
|
|
|
|
"test-server",
|
2019-03-02 08:59:44 +01:00
|
|
|
]
|
|
|
|
|
2017-10-23 06:52:01 +02:00
|
|
|
[features]
|
2020-04-15 23:54:34 +02:00
|
|
|
default = ["compress"]
|
2018-03-07 08:38:58 +01:00
|
|
|
|
2019-12-12 10:08:08 +01:00
|
|
|
# content-encoding support
|
|
|
|
compress = ["actix-http/compress", "awc/compress"]
|
2018-04-24 18:29:15 +02:00
|
|
|
|
2020-06-19 15:34:14 +02:00
|
|
|
# sessions feature
|
2019-03-30 05:13:39 +01:00
|
|
|
secure-cookies = ["actix-http/secure-cookies"]
|
2019-03-05 19:08:08 +01:00
|
|
|
|
2019-03-05 01:29:03 +01:00
|
|
|
# openssl
|
2019-12-12 17:28:47 +01:00
|
|
|
openssl = ["actix-tls/openssl", "awc/openssl", "open-ssl"]
|
2019-03-05 01:29:03 +01:00
|
|
|
|
|
|
|
# rustls
|
2019-12-12 17:28:47 +01:00
|
|
|
rustls = ["actix-tls/rustls", "awc/rustls", "rust-tls"]
|
2019-07-18 13:24:12 +02:00
|
|
|
|
2020-03-26 03:49:24 +01:00
|
|
|
[[example]]
|
|
|
|
name = "basic"
|
|
|
|
required-features = ["compress"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "uds"
|
|
|
|
required-features = ["compress"]
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "test_server"
|
|
|
|
required-features = ["compress"]
|
|
|
|
|
2017-09-30 18:10:03 +02:00
|
|
|
[dependencies]
|
2020-08-24 11:13:35 +02:00
|
|
|
actix-codec = "0.3.0"
|
|
|
|
actix-service = "1.0.6"
|
|
|
|
actix-utils = "2.0.0"
|
2020-01-10 06:36:59 +01:00
|
|
|
actix-router = "0.2.4"
|
2020-06-18 16:45:30 +02:00
|
|
|
actix-rt = "1.1.1"
|
2019-12-11 14:20:20 +01:00
|
|
|
actix-server = "1.0.0"
|
|
|
|
actix-testing = "1.0.0"
|
2019-12-12 17:28:47 +01:00
|
|
|
actix-macros = "0.1.0"
|
2019-12-22 14:16:07 +01:00
|
|
|
actix-threadpool = "0.3.1"
|
2020-09-09 10:20:54 +02:00
|
|
|
actix-tls = "2.0.0"
|
2019-12-02 19:49:12 +01:00
|
|
|
|
2020-09-11 14:50:10 +02:00
|
|
|
actix-web-codegen = "0.3.0"
|
|
|
|
actix-http = "2.0.0"
|
|
|
|
awc = { version = "2.0.0", default-features = false }
|
2018-06-19 08:07:07 +02:00
|
|
|
|
2019-12-13 07:16:43 +01:00
|
|
|
bytes = "0.5.3"
|
2019-11-25 12:59:14 +01:00
|
|
|
derive_more = "0.99.2"
|
2019-06-18 08:43:25 +02:00
|
|
|
encoding_rs = "0.8"
|
2020-05-18 04:47:20 +02:00
|
|
|
futures-channel = { version = "0.3.5", default-features = false }
|
|
|
|
futures-core = { version = "0.3.5", default-features = false }
|
|
|
|
futures-util = { version = "0.3.5", default-features = false }
|
2019-12-04 13:32:18 +01:00
|
|
|
fxhash = "0.2.1"
|
2018-01-28 07:03:03 +01:00
|
|
|
log = "0.4"
|
2017-10-19 08:43:50 +02:00
|
|
|
mime = "0.3"
|
2020-05-19 02:34:37 +02:00
|
|
|
socket2 = "0.3"
|
2020-06-05 23:44:14 +02:00
|
|
|
pin-project = "0.4.17"
|
2019-12-07 07:28:26 +01:00
|
|
|
regex = "1.3"
|
2020-09-11 13:09:52 +02:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2017-11-16 07:06:28 +01:00
|
|
|
serde_json = "1.0"
|
2019-08-13 19:48:11 +02:00
|
|
|
serde_urlencoded = "0.6.1"
|
2020-02-22 23:08:22 +01:00
|
|
|
time = { version = "0.2.7", default-features = false, features = ["std"] }
|
2019-08-13 20:03:24 +02:00
|
|
|
url = "2.1"
|
2020-06-22 21:09:48 +02:00
|
|
|
open-ssl = { package = "openssl", version = "0.10", optional = true }
|
2020-08-17 17:28:39 +02:00
|
|
|
rust-tls = { package = "rustls", version = "0.18.0", optional = true }
|
2020-09-17 19:09:42 +02:00
|
|
|
tinyvec = { version = "1", features = ["alloc"] }
|
2019-03-02 07:51:32 +01:00
|
|
|
|
2017-10-22 07:59:09 +02:00
|
|
|
[dev-dependencies]
|
2020-09-11 13:09:52 +02:00
|
|
|
actix = "0.10.0"
|
2020-09-19 16:20:34 +02:00
|
|
|
actix-http = { version = "2.0.0", features = ["actors"] }
|
2019-07-01 05:37:03 +02:00
|
|
|
rand = "0.7"
|
2020-03-11 18:58:22 +01:00
|
|
|
env_logger = "0.7"
|
2017-12-02 06:29:22 +01:00
|
|
|
serde_derive = "1.0"
|
2019-12-20 08:50:07 +01:00
|
|
|
brotli2 = "0.3.2"
|
2019-12-12 10:08:08 +01:00
|
|
|
flate2 = "1.0.13"
|
2020-01-25 00:05:25 +01:00
|
|
|
criterion = "0.3"
|
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
|
|
|
|
2019-12-15 08:28:54 +01:00
|
|
|
[patch.crates-io]
|
2020-01-31 21:16:31 +01:00
|
|
|
actix-web = { path = "." }
|
2020-02-18 19:28:45 +01:00
|
|
|
actix-http = { path = "actix-http" }
|
2019-12-15 08:28:54 +01:00
|
|
|
actix-http-test = { path = "test-server" }
|
|
|
|
actix-web-codegen = { path = "actix-web-codegen" }
|
|
|
|
actix-files = { path = "actix-files" }
|
|
|
|
actix-multipart = { path = "actix-multipart" }
|
2020-01-10 06:36:59 +01:00
|
|
|
awc = { path = "awc" }
|
2020-01-25 00:05:25 +01:00
|
|
|
|
2020-08-09 14:32:37 +02:00
|
|
|
[[example]]
|
|
|
|
name = "client"
|
|
|
|
required-features = ["rustls"]
|
|
|
|
|
2020-01-25 00:05:25 +01:00
|
|
|
[[bench]]
|
|
|
|
name = "server"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "service"
|
|
|
|
harness = false
|