mirror of
https://github.com/actix/actix-web.git
synced 2024-12-30 12:00:38 +00:00
138 lines
3.2 KiB
TOML
138 lines
3.2 KiB
TOML
[package]
|
|
name = "actix-web"
|
|
version = "3.1.0"
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
|
description = "Actix web is a powerful, pragmatic, and extremely fast web framework for Rust."
|
|
readme = "README.md"
|
|
keywords = ["actix", "http", "web", "framework", "async"]
|
|
homepage = "https://actix.rs"
|
|
repository = "https://github.com/actix/actix-web.git"
|
|
documentation = "https://docs.rs/actix-web/"
|
|
categories = ["network-programming", "asynchronous",
|
|
"web-programming::http-server",
|
|
"web-programming::websocket"]
|
|
license = "MIT OR Apache-2.0"
|
|
edition = "2018"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["openssl", "rustls", "compress", "secure-cookies"]
|
|
|
|
[badges]
|
|
travis-ci = { repository = "actix/actix-web", branch = "master" }
|
|
codecov = { repository = "actix/actix-web", branch = "master", service = "github" }
|
|
|
|
[lib]
|
|
name = "actix_web"
|
|
path = "src/lib.rs"
|
|
|
|
[workspace]
|
|
members = [
|
|
".",
|
|
"awc",
|
|
"actix-http",
|
|
"actix-files",
|
|
"actix-multipart",
|
|
"actix-web-actors",
|
|
"actix-web-codegen",
|
|
"test-server",
|
|
]
|
|
|
|
[features]
|
|
default = ["compress"]
|
|
|
|
# content-encoding support
|
|
compress = ["actix-http/compress", "awc/compress"]
|
|
|
|
# sessions feature
|
|
secure-cookies = ["actix-http/secure-cookies"]
|
|
|
|
# openssl
|
|
openssl = ["actix-tls/openssl", "awc/openssl", "open-ssl"]
|
|
|
|
# rustls
|
|
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"]
|
|
|
|
[dependencies]
|
|
actix-codec = "0.3.0"
|
|
actix-service = "1.0.6"
|
|
actix-utils = "2.0.0"
|
|
actix-router = "0.2.4"
|
|
actix-rt = "1.1.1"
|
|
actix-server = "1.0.0"
|
|
actix-testing = "1.0.0"
|
|
actix-macros = "0.1.0"
|
|
actix-threadpool = "0.3.1"
|
|
actix-tls = "2.0.0"
|
|
|
|
actix-web-codegen = "0.3.0"
|
|
actix-http = "2.0.0"
|
|
awc = { version = "2.0.0", default-features = false }
|
|
|
|
bytes = "0.5.3"
|
|
derive_more = "0.99.2"
|
|
encoding_rs = "0.8"
|
|
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 }
|
|
fxhash = "0.2.1"
|
|
log = "0.4"
|
|
mime = "0.3"
|
|
socket2 = "0.3"
|
|
pin-project = "1.0.0"
|
|
regex = "1.4"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
serde_urlencoded = "0.6.1"
|
|
time = { version = "0.2.7", default-features = false, features = ["std"] }
|
|
url = "2.1"
|
|
open-ssl = { package = "openssl", version = "0.10", optional = true }
|
|
rust-tls = { package = "rustls", version = "0.18.0", optional = true }
|
|
tinyvec = { version = "1", features = ["alloc"] }
|
|
|
|
[dev-dependencies]
|
|
actix = "0.10.0"
|
|
actix-http = { version = "2.0.0", features = ["actors"] }
|
|
rand = "0.7"
|
|
env_logger = "0.7"
|
|
serde_derive = "1.0"
|
|
brotli2 = "0.3.2"
|
|
flate2 = "1.0.13"
|
|
criterion = "0.3"
|
|
|
|
[profile.release]
|
|
lto = true
|
|
opt-level = 3
|
|
codegen-units = 1
|
|
|
|
[patch.crates-io]
|
|
actix-web = { path = "." }
|
|
actix-http = { path = "actix-http" }
|
|
actix-http-test = { path = "test-server" }
|
|
actix-web-codegen = { path = "actix-web-codegen" }
|
|
actix-files = { path = "actix-files" }
|
|
actix-multipart = { path = "actix-multipart" }
|
|
awc = { path = "awc" }
|
|
|
|
[[example]]
|
|
name = "client"
|
|
required-features = ["rustls"]
|
|
|
|
[[bench]]
|
|
name = "server"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "service"
|
|
harness = false
|