mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-27 09:42:57 +01:00
152 lines
4.4 KiB
TOML
152 lines
4.4 KiB
TOML
[package]
|
|
name = "actix-web"
|
|
version = "2.0.0-alpha.1"
|
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
|
description = "Actix web is a simple, 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/Apache-2.0"
|
|
exclude = [".gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"]
|
|
edition = "2018"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["openssl", "rustls", "brotli", "flate2-zlib", "secure-cookies", "client"]
|
|
|
|
[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-cors",
|
|
#"actix-files",
|
|
#"actix-framed",
|
|
#"actix-session",
|
|
"actix-identity",
|
|
#"actix-multipart",
|
|
#"actix-web-actors",
|
|
"actix-web-codegen",
|
|
"test-server",
|
|
]
|
|
|
|
[features]
|
|
default = ["brotli", "flate2-zlib", "client", "fail"]
|
|
|
|
# http client
|
|
client = ["awc"]
|
|
|
|
# brotli encoding, requires c compiler
|
|
brotli = ["actix-http/brotli"]
|
|
|
|
# miniz-sys backend for flate2 crate
|
|
flate2-zlib = ["actix-http/flate2-zlib"]
|
|
|
|
# rust backend for flate2 crate
|
|
flate2-rust = ["actix-http/flate2-rust"]
|
|
|
|
# sessions feature, session require "ring" crate and c compiler
|
|
secure-cookies = ["actix-http/secure-cookies"]
|
|
|
|
fail = ["actix-http/fail"]
|
|
|
|
# openssl
|
|
openssl = ["open-ssl", "actix-server/openssl", "awc/openssl"]
|
|
|
|
# rustls
|
|
rustls = ["rust-tls", "actix-server/rustls", "awc/rustls"]
|
|
|
|
[dependencies]
|
|
actix-codec = "0.2.0-alpha.1"
|
|
actix-service = "1.0.0-alpha.1"
|
|
actix-utils = "0.5.0-alpha.1"
|
|
actix-router = "0.1.5"
|
|
actix-rt = "1.0.0-alpha.1"
|
|
actix-web-codegen = "0.1.2"
|
|
actix-http = "0.3.0-alpha.1"
|
|
actix-server = "0.8.0-alpha.1"
|
|
actix-server-config = "0.3.0-alpha.1"
|
|
actix-testing = "0.3.0-alpha.1"
|
|
actix-threadpool = "0.2.0-alpha.1"
|
|
awc = { version = "0.3.0-alpha.1", optional = true }
|
|
|
|
bytes = "0.4"
|
|
derive_more = "0.15.0"
|
|
encoding_rs = "0.8"
|
|
futures = "0.3.1"
|
|
hashbrown = "0.6.3"
|
|
log = "0.4"
|
|
mime = "0.3"
|
|
net2 = "0.2.33"
|
|
parking_lot = "0.9"
|
|
pin-project = "0.4.5"
|
|
regex = "1.0"
|
|
serde = { version = "1.0", features=["derive"] }
|
|
serde_json = "1.0"
|
|
serde_urlencoded = "0.6.1"
|
|
time = "0.1.42"
|
|
url = "2.1"
|
|
|
|
# ssl support
|
|
open-ssl = { version="0.10", package="openssl", optional = true }
|
|
rust-tls = { version = "0.16", package="rustls", optional = true }
|
|
|
|
[dev-dependencies]
|
|
# actix = "0.8.3"
|
|
actix-connect = "0.3.0-alpha.1"
|
|
actix-http-test = "0.3.0-alpha.1"
|
|
rand = "0.7"
|
|
env_logger = "0.6"
|
|
serde_derive = "1.0"
|
|
tokio-timer = "0.3.0-alpha.6"
|
|
brotli2 = "0.3.2"
|
|
flate2 = "1.0.2"
|
|
|
|
[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-web-actors = { path = "actix-web-actors" }
|
|
# actix-session = { path = "actix-session" }
|
|
# actix-files = { path = "actix-files" }
|
|
# actix-multipart = { path = "actix-multipart" }
|
|
awc = { path = "awc" }
|
|
|
|
actix-codec = { git = "https://github.com/actix/actix-net.git" }
|
|
actix-connect = { git = "https://github.com/actix/actix-net.git" }
|
|
actix-rt = { git = "https://github.com/actix/actix-net.git" }
|
|
actix-server = { git = "https://github.com/actix/actix-net.git" }
|
|
actix-server-config = { git = "https://github.com/actix/actix-net.git" }
|
|
actix-service = { git = "https://github.com/actix/actix-net.git" }
|
|
actix-testing = { git = "https://github.com/actix/actix-net.git" }
|
|
actix-threadpool = { git = "https://github.com/actix/actix-net.git" }
|
|
actix-utils = { git = "https://github.com/actix/actix-net.git" }
|
|
|
|
# actix-codec = { path = "../actix-net/actix-codec" }
|
|
# actix-connect = { path = "../actix-net/actix-connect" }
|
|
# actix-rt = { path = "../actix-net/actix-rt" }
|
|
# actix-server = { path = "../actix-net/actix-server" }
|
|
# actix-server-config = { path = "../actix-net/actix-server-config" }
|
|
# actix-service = { path = "../actix-net/actix-service" }
|
|
# actix-testing = { path = "../actix-net/actix-testing" }
|
|
# actix-threadpool = { path = "../actix-net/actix-threadpool" }
|
|
# actix-utils = { path = "../actix-net/actix-utils" }
|