1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-22 16:16:40 +00:00
actix-web/Cargo.toml

153 lines
3.4 KiB
TOML
Raw Normal View History

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