2017-09-30 18:10:03 +02:00
|
|
|
[package]
|
2017-10-14 16:59:35 +02:00
|
|
|
name = "actix-web"
|
2021-04-17 16:28:13 +02:00
|
|
|
version = "4.0.0-beta.6"
|
2017-09-30 18:10:03 +02:00
|
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
2020-11-29 17:33:45 +01:00
|
|
|
description = "Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust"
|
2019-03-28 21:46:26 +01:00
|
|
|
keywords = ["actix", "http", "web", "framework", "async"]
|
2021-04-17 16:30:31 +02:00
|
|
|
categories = [
|
|
|
|
"network-programming",
|
|
|
|
"asynchronous",
|
|
|
|
"web-programming::http-server",
|
|
|
|
"web-programming::websocket"
|
|
|
|
]
|
2021-04-17 16:28:13 +02:00
|
|
|
homepage = "https://actix.rs"
|
|
|
|
repository = "https://github.com/actix/actix-web"
|
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]
|
2021-02-13 16:08:43 +01:00
|
|
|
# features that docs.rs will build with
|
2021-04-09 19:07:10 +02:00
|
|
|
features = ["openssl", "rustls", "compress", "cookies", "secure-cookies"]
|
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 = [
|
2021-04-17 16:30:31 +02:00
|
|
|
".",
|
|
|
|
"awc",
|
|
|
|
"actix-http",
|
|
|
|
"actix-files",
|
|
|
|
"actix-multipart",
|
|
|
|
"actix-web-actors",
|
|
|
|
"actix-web-codegen",
|
|
|
|
"actix-http-test",
|
|
|
|
"actix-test",
|
2019-03-02 08:59:44 +01:00
|
|
|
]
|
2021-04-09 19:07:10 +02:00
|
|
|
# enable when MSRV is 1.51+
|
|
|
|
# resolver = "2"
|
2019-03-02 08:59:44 +01:00
|
|
|
|
2017-10-23 06:52:01 +02:00
|
|
|
[features]
|
2021-02-13 16:08:43 +01:00
|
|
|
default = ["compress", "cookies"]
|
2018-03-07 08:38:58 +01:00
|
|
|
|
2019-12-12 10:08:08 +01:00
|
|
|
# content-encoding support
|
2021-04-02 09:26:59 +02:00
|
|
|
compress = ["actix-http/compress"]
|
2018-04-24 18:29:15 +02:00
|
|
|
|
2021-02-13 16:08:43 +01:00
|
|
|
# support for cookies
|
2021-04-09 19:07:10 +02:00
|
|
|
cookies = ["cookie"]
|
2021-02-13 16:08:43 +01:00
|
|
|
|
|
|
|
# secure cookies feature
|
2021-04-09 19:07:10 +02:00
|
|
|
secure-cookies = ["cookie/secure"]
|
2019-03-05 19:08:08 +01:00
|
|
|
|
2019-03-05 01:29:03 +01:00
|
|
|
# openssl
|
2021-04-02 09:26:59 +02:00
|
|
|
openssl = ["actix-http/openssl", "actix-tls/accept", "actix-tls/openssl"]
|
2019-03-05 01:29:03 +01:00
|
|
|
|
|
|
|
# rustls
|
2021-04-02 09:26:59 +02:00
|
|
|
rustls = ["actix-http/rustls", "actix-tls/accept", "actix-tls/rustls"]
|
2019-07-18 13:24:12 +02:00
|
|
|
|
2017-09-30 18:10:03 +02:00
|
|
|
[dependencies]
|
2021-04-21 12:14:22 +02:00
|
|
|
actix-codec = "0.4.0"
|
2021-06-08 23:44:56 +02:00
|
|
|
actix-macros = "0.2.1"
|
2021-02-07 02:00:40 +01:00
|
|
|
actix-router = "0.2.7"
|
2021-03-29 14:45:48 +02:00
|
|
|
actix-rt = "2.2"
|
2021-02-07 02:00:40 +01:00
|
|
|
actix-server = "2.0.0-beta.3"
|
2021-04-16 21:28:21 +02:00
|
|
|
actix-service = "2.0.0"
|
2021-04-17 03:07:33 +02:00
|
|
|
actix-utils = "3.0.0"
|
2021-03-29 14:45:48 +02:00
|
|
|
actix-tls = { version = "3.0.0-beta.5", default-features = false, optional = true }
|
2019-12-02 19:49:12 +01:00
|
|
|
|
2021-03-10 00:27:38 +01:00
|
|
|
actix-web-codegen = "0.5.0-beta.2"
|
2021-04-17 16:24:18 +02:00
|
|
|
actix-http = "3.0.0-beta.6"
|
2018-06-19 08:07:07 +02:00
|
|
|
|
2021-02-07 04:54:58 +01:00
|
|
|
ahash = "0.7"
|
2021-01-04 00:47:04 +01:00
|
|
|
bytes = "1"
|
2021-04-09 19:07:10 +02:00
|
|
|
cookie = { version = "0.15", features = ["percent-encode"], optional = true }
|
2020-11-29 17:33:45 +01:00
|
|
|
derive_more = "0.99.5"
|
2021-01-09 14:17:19 +01:00
|
|
|
either = "1.5.3"
|
2019-06-18 08:43:25 +02:00
|
|
|
encoding_rs = "0.8"
|
2021-01-04 00:47:04 +01:00
|
|
|
futures-core = { version = "0.3.7", default-features = false }
|
|
|
|
futures-util = { version = "0.3.7", default-features = false }
|
2021-04-09 19:07:10 +02:00
|
|
|
itoa = "0.4"
|
2021-04-28 02:23:12 +02:00
|
|
|
language-tags = "0.3"
|
2021-04-01 17:42:18 +02:00
|
|
|
once_cell = "1.5"
|
2018-01-28 07:03:03 +01:00
|
|
|
log = "0.4"
|
2017-10-19 08:43:50 +02:00
|
|
|
mime = "0.3"
|
2021-05-14 17:40:00 +02:00
|
|
|
paste = "1"
|
2020-10-25 11:41:44 +01:00
|
|
|
pin-project = "1.0.0"
|
2020-10-19 08:18:16 +02:00
|
|
|
regex = "1.4"
|
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"
|
2020-11-05 17:36:15 +01:00
|
|
|
serde_urlencoded = "0.7"
|
2021-02-13 16:08:43 +01:00
|
|
|
smallvec = "1.6"
|
2021-03-19 13:17:06 +01:00
|
|
|
socket2 = "0.4.0"
|
2021-02-07 04:54:58 +01:00
|
|
|
time = { version = "0.2.23", default-features = false, features = ["std"] }
|
2021-02-13 16:08:43 +01:00
|
|
|
url = "2.1"
|
2019-03-02 07:51:32 +01:00
|
|
|
|
2017-10-22 07:59:09 +02:00
|
|
|
[dev-dependencies]
|
2021-04-17 16:53:54 +02:00
|
|
|
actix-test = { version = "0.1.0-beta.2", features = ["openssl", "rustls"] }
|
2021-04-17 16:30:31 +02:00
|
|
|
awc = { version = "3.0.0-beta.5", features = ["openssl"] }
|
2021-04-02 09:26:59 +02:00
|
|
|
|
2019-12-20 08:50:07 +01:00
|
|
|
brotli2 = "0.3.2"
|
2020-01-25 00:05:25 +01:00
|
|
|
criterion = "0.3"
|
2021-02-13 18:16:36 +01:00
|
|
|
env_logger = "0.8"
|
|
|
|
flate2 = "1.0.13"
|
2021-06-03 22:32:52 +02:00
|
|
|
zstd = "0.7"
|
2021-02-13 18:16:36 +01:00
|
|
|
rand = "0.8"
|
|
|
|
rcgen = "0.8"
|
|
|
|
serde_derive = "1.0"
|
2021-04-02 09:26:59 +02:00
|
|
|
tls-openssl = { package = "openssl", version = "0.10.9" }
|
|
|
|
tls-rustls = { package = "rustls", version = "0.19.0" }
|
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]
|
2021-04-02 09:26:59 +02:00
|
|
|
actix-files = { path = "actix-files" }
|
2020-02-18 19:28:45 +01:00
|
|
|
actix-http = { path = "actix-http" }
|
2020-12-02 18:23:30 +01:00
|
|
|
actix-http-test = { path = "actix-http-test" }
|
2021-04-02 09:26:59 +02:00
|
|
|
actix-multipart = { path = "actix-multipart" }
|
|
|
|
actix-test = { path = "actix-test" }
|
|
|
|
actix-web = { path = "." }
|
2021-01-07 21:02:08 +01:00
|
|
|
actix-web-actors = { path = "actix-web-actors" }
|
2019-12-15 08:28:54 +01:00
|
|
|
actix-web-codegen = { path = "actix-web-codegen" }
|
2020-01-10 06:36:59 +01:00
|
|
|
awc = { path = "awc" }
|
2020-01-25 00:05:25 +01:00
|
|
|
|
2021-04-09 19:07:10 +02:00
|
|
|
[[test]]
|
|
|
|
name = "test_server"
|
|
|
|
required-features = ["compress", "cookies"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "basic"
|
|
|
|
required-features = ["compress"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "uds"
|
|
|
|
required-features = ["compress"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "on_connect"
|
|
|
|
required-features = []
|
|
|
|
|
2020-01-25 00:05:25 +01:00
|
|
|
[[bench]]
|
|
|
|
name = "server"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "service"
|
|
|
|
harness = false
|
2021-01-08 23:17:19 +01:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "responder"
|
2021-01-09 14:17:19 +01:00
|
|
|
harness = false
|