1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-03 15:39:50 +00:00
actix-web/Cargo.toml

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