2017-09-30 09:10:03 -07:00
|
|
|
[package]
|
2017-10-14 07:59:35 -07:00
|
|
|
name = "actix-web"
|
2020-05-21 17:31:22 +09:00
|
|
|
version = "3.0.0-alpha.3"
|
2017-09-30 09:10:03 -07:00
|
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
2018-04-12 09:54:35 -07:00
|
|
|
description = "Actix web is a simple, pragmatic and extremely fast web framework for Rust."
|
2017-09-30 09:10:03 -07:00
|
|
|
readme = "README.md"
|
2019-03-28 13:46:26 -07:00
|
|
|
keywords = ["actix", "http", "web", "framework", "async"]
|
2018-05-24 08:55:10 -07:00
|
|
|
homepage = "https://actix.rs"
|
2017-10-23 09:16:13 -07:00
|
|
|
repository = "https://github.com/actix/actix-web.git"
|
2019-03-02 14:07:21 -08:00
|
|
|
documentation = "https://docs.rs/actix-web/"
|
2017-11-06 14:56:38 -08:00
|
|
|
categories = ["network-programming", "asynchronous",
|
2018-02-27 23:51:57 -08:00
|
|
|
"web-programming::http-server",
|
|
|
|
"web-programming::websocket"]
|
2017-12-17 10:08:44 -08:00
|
|
|
license = "MIT/Apache-2.0"
|
2019-03-01 22:51:32 -08:00
|
|
|
edition = "2018"
|
2018-06-22 09:33:32 +02:00
|
|
|
|
2019-04-20 04:54:44 +08:00
|
|
|
[package.metadata.docs.rs]
|
2019-12-13 12:40:22 +06:00
|
|
|
features = ["openssl", "rustls", "compress", "secure-cookies"]
|
2019-04-20 04:54:44 +08:00
|
|
|
|
2017-10-16 13:16:54 -07:00
|
|
|
[badges]
|
2019-03-02 14:07:21 -08:00
|
|
|
travis-ci = { repository = "actix/actix-web", branch = "master" }
|
|
|
|
codecov = { repository = "actix/actix-web", branch = "master", service = "github" }
|
2017-10-16 13:16:54 -07:00
|
|
|
|
2017-09-30 09:10:03 -07:00
|
|
|
[lib]
|
2017-10-14 07:59:35 -07:00
|
|
|
name = "actix_web"
|
2017-09-30 09:10:03 -07:00
|
|
|
path = "src/lib.rs"
|
|
|
|
|
2019-03-01 23:59:44 -08:00
|
|
|
[workspace]
|
|
|
|
members = [
|
2019-11-20 23:33:22 +06:00
|
|
|
".",
|
|
|
|
"awc",
|
|
|
|
"actix-http",
|
2019-11-21 11:31:31 +06:00
|
|
|
"actix-files",
|
2019-11-21 14:25:50 +06:00
|
|
|
"actix-multipart",
|
2019-11-21 13:01:07 +06:00
|
|
|
"actix-web-actors",
|
2019-11-20 23:33:22 +06:00
|
|
|
"actix-web-codegen",
|
|
|
|
"test-server",
|
2019-03-01 23:59:44 -08:00
|
|
|
]
|
|
|
|
|
2017-10-22 21:52:01 -07:00
|
|
|
[features]
|
2020-04-16 06:54:34 +09:00
|
|
|
default = ["compress"]
|
2018-03-07 15:38:58 +08:00
|
|
|
|
2019-12-12 15:08:08 +06:00
|
|
|
# content-encoding support
|
|
|
|
compress = ["actix-http/compress", "awc/compress"]
|
2018-04-24 09:29:15 -07:00
|
|
|
|
2020-06-19 14:34:14 +01:00
|
|
|
# sessions feature
|
2019-03-29 21:13:39 -07:00
|
|
|
secure-cookies = ["actix-http/secure-cookies"]
|
2019-03-05 10:08:08 -08:00
|
|
|
|
2019-03-04 16:29:03 -08:00
|
|
|
# openssl
|
2019-12-12 22:28:47 +06:00
|
|
|
openssl = ["actix-tls/openssl", "awc/openssl", "open-ssl"]
|
2019-03-04 16:29:03 -08:00
|
|
|
|
|
|
|
# rustls
|
2019-12-12 22:28:47 +06:00
|
|
|
rustls = ["actix-tls/rustls", "awc/rustls", "rust-tls"]
|
2019-07-18 17:24:12 +06:00
|
|
|
|
2020-03-25 23:49:24 -03:00
|
|
|
[[example]]
|
|
|
|
name = "basic"
|
|
|
|
required-features = ["compress"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "uds"
|
|
|
|
required-features = ["compress"]
|
|
|
|
|
|
|
|
[[test]]
|
|
|
|
name = "test_server"
|
|
|
|
required-features = ["compress"]
|
|
|
|
|
2017-09-30 09:10:03 -07:00
|
|
|
[dependencies]
|
2019-12-11 19:20:20 +06:00
|
|
|
actix-codec = "0.2.0"
|
2020-01-10 11:36:59 +06:00
|
|
|
actix-service = "1.0.2"
|
|
|
|
actix-utils = "1.0.6"
|
|
|
|
actix-router = "0.2.4"
|
2020-06-18 15:45:30 +01:00
|
|
|
actix-rt = "1.1.1"
|
2019-12-11 19:20:20 +06:00
|
|
|
actix-server = "1.0.0"
|
|
|
|
actix-testing = "1.0.0"
|
2019-12-12 22:28:47 +06:00
|
|
|
actix-macros = "0.1.0"
|
2019-12-22 17:16:07 +04:00
|
|
|
actix-threadpool = "0.3.1"
|
2020-03-04 15:10:23 +09:00
|
|
|
actix-tls = "2.0.0-alpha.1"
|
2019-12-03 00:49:12 +06:00
|
|
|
|
2020-05-23 17:22:30 +09:00
|
|
|
actix-web-codegen = "0.2.2"
|
2020-05-21 15:22:42 +09:00
|
|
|
actix-http = "2.0.0-alpha.4"
|
2020-05-21 16:48:20 +09:00
|
|
|
awc = { version = "2.0.0-alpha.2", default-features = false }
|
2018-06-19 12:07:07 +06:00
|
|
|
|
2019-12-13 12:16:43 +06:00
|
|
|
bytes = "0.5.3"
|
2019-11-25 17:59:14 +06:00
|
|
|
derive_more = "0.99.2"
|
2019-06-18 14:43:25 +08:00
|
|
|
encoding_rs = "0.8"
|
2020-05-18 11:47:20 +09: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 18:32:18 +06:00
|
|
|
fxhash = "0.2.1"
|
2018-01-27 22:03:03 -08:00
|
|
|
log = "0.4"
|
2017-10-18 23:43:50 -07:00
|
|
|
mime = "0.3"
|
2020-05-19 09:34:37 +09:00
|
|
|
socket2 = "0.3"
|
2020-06-06 06:44:14 +09:00
|
|
|
pin-project = "0.4.17"
|
2019-12-07 12:28:26 +06:00
|
|
|
regex = "1.3"
|
2019-03-17 00:48:40 -07:00
|
|
|
serde = { version = "1.0", features=["derive"] }
|
2017-11-15 20:06:28 -10:00
|
|
|
serde_json = "1.0"
|
2019-08-13 10:48:11 -07:00
|
|
|
serde_urlencoded = "0.6.1"
|
2020-02-23 07:08:22 +09:00
|
|
|
time = { version = "0.2.7", default-features = false, features = ["std"] }
|
2019-08-13 11:03:24 -07:00
|
|
|
url = "2.1"
|
2020-06-22 20:09:48 +01:00
|
|
|
open-ssl = { package = "openssl", version = "0.10", optional = true }
|
|
|
|
rust-tls = { package = "rustls", version = "0.17.0", optional = true }
|
2020-05-09 00:31:26 +01:00
|
|
|
tinyvec = { version = "0.3", features = ["alloc"] }
|
2019-03-01 22:51:32 -08:00
|
|
|
|
2017-10-21 22:59:09 -07:00
|
|
|
[dev-dependencies]
|
2020-02-27 12:46:29 +09:00
|
|
|
actix = "0.10.0-alpha.1"
|
2019-07-01 11:37:03 +08:00
|
|
|
rand = "0.7"
|
2020-03-12 02:58:22 +09:00
|
|
|
env_logger = "0.7"
|
2017-12-01 21:29:22 -08:00
|
|
|
serde_derive = "1.0"
|
2019-12-20 13:50:07 +06:00
|
|
|
brotli2 = "0.3.2"
|
2019-12-12 15:08:08 +06:00
|
|
|
flate2 = "1.0.13"
|
2020-01-25 01:05:25 +02:00
|
|
|
criterion = "0.3"
|
2017-10-26 06:12:23 -07:00
|
|
|
|
2017-09-30 09:10:03 -07:00
|
|
|
[profile.release]
|
|
|
|
lto = true
|
|
|
|
opt-level = 3
|
2018-02-15 13:59:25 -08:00
|
|
|
codegen-units = 1
|
2019-04-01 10:26:09 -07:00
|
|
|
|
2019-12-15 13:28:54 +06:00
|
|
|
[patch.crates-io]
|
2020-01-31 22:16:31 +02:00
|
|
|
actix-web = { path = "." }
|
2020-02-18 20:28:45 +02:00
|
|
|
actix-http = { path = "actix-http" }
|
2019-12-15 13:28:54 +06: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 11:36:59 +06:00
|
|
|
awc = { path = "awc" }
|
2020-01-25 01:05:25 +02:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "server"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "service"
|
|
|
|
harness = false
|