1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-21 07:36:43 +00:00
actix-web/Cargo.toml

113 lines
2.9 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"
2019-03-02 08:04:39 +00:00
version = "1.0.0-alpha.1"
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"
2017-12-17 20:35:04 +00:00
keywords = ["http", "web", "framework", "async", "futures"]
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"]
2017-12-17 18:08:44 +00:00
license = "MIT/Apache-2.0"
2018-04-13 03:31:58 +00:00
exclude = [".gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"]
2019-03-02 06:51:32 +00:00
edition = "2018"
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" }
appveyor = { repository = "fafhrd91/actix-web-hdy9d" }
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-03-07 07:39:08 +00:00
"actix-files",
2019-03-06 02:52:29 +00:00
"actix-session",
2019-03-17 20:47:20 +00:00
"actix-web-actors",
"actix-web-codegen",
2019-03-02 07:59:44 +00:00
]
2019-03-05 00:29:03 +00:00
[package.metadata.docs.rs]
2019-03-23 17:06:54 +00:00
features = ["ssl", "tls", "rust-tls", "brotli", "flate2-c", "cookies"]
2019-03-05 00:29:03 +00:00
2017-10-23 04:52:01 +00:00
[features]
2019-03-23 17:06:54 +00:00
default = ["brotli", "flate2-c", "cookies"]
2018-03-07 07:38:58 +00:00
2018-04-24 16:32:19 +00:00
# brotli encoding, requires c compiler
2018-03-14 00:21:22 +00:00
brotli = ["brotli2"]
# miniz-sys backend for flate2 crate
flate2-c = ["flate2/miniz-sys"]
2018-04-24 16:32:19 +00:00
# rust backend for flate2 crate
flate2-rust = ["flate2/rust_backend"]
2019-03-05 18:08:08 +00:00
# sessions feature, session require "ring" crate and c compiler
2019-03-23 17:06:54 +00:00
cookies = ["cookie", "actix-http/cookies"]
2019-03-05 18:08:08 +00:00
2019-03-05 00:29:03 +00:00
# tls
tls = ["native-tls", "actix-server/ssl"]
# openssl
ssl = ["openssl", "actix-server/ssl"]
# rustls
# rust-tls = ["rustls", "actix-server/rustls"]
2017-09-30 16:10:03 +00:00
[dependencies]
2019-03-18 05:02:03 +00:00
actix-codec = "0.1.1"
2019-03-13 00:06:08 +00:00
actix-service = "0.3.4"
actix-utils = "0.3.4"
2019-03-09 22:56:18 +00:00
actix-router = "0.1.0"
2019-03-12 06:11:51 +00:00
actix-rt = "0.2.1"
actix-web-codegen = { path="actix-web-codegen" }
2019-03-23 17:06:54 +00:00
actix-http = { git = "https://github.com/actix/actix-http.git", features=["fail"] }
2019-03-18 05:02:03 +00:00
actix-server = "0.4.1"
2019-03-13 00:06:08 +00:00
actix-server-config = "0.1.0"
2018-06-19 06:07:07 +00:00
2019-03-02 06:51:32 +00:00
bytes = "0.4"
derive_more = "0.14"
2019-03-02 22:07:21 +00:00
encoding = "0.2"
futures = "0.1"
hashbrown = "0.1.8"
2018-01-28 06:03:03 +00:00
log = "0.4"
2017-10-19 06:43:50 +00:00
mime = "0.3"
2019-03-05 00:29:03 +00:00
net2 = "0.2.33"
2019-03-02 22:07:21 +00:00
parking_lot = "0.7"
2019-03-07 03:19:27 +00:00
regex = "1.0"
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"
serde_urlencoded = "^0.5.3"
2019-03-07 03:19:27 +00:00
time = "0.1"
url = { version="1.7", features=["query_encoding"] }
2019-03-02 06:51:32 +00:00
2019-03-23 17:06:54 +00:00
# cookies support
cookie = { version="0.11", features=["secure", "percent-encode"], optional = true }
2019-03-05 18:08:08 +00:00
2019-03-02 06:51:32 +00:00
# compression
2018-03-14 00:21:22 +00:00
brotli2 = { version="^0.3.2", optional = true }
flate2 = { version="^1.0.2", optional = true, default-features = false }
2017-11-16 06:06:28 +00:00
2019-03-05 00:29:03 +00:00
# ssl support
native-tls = { version="0.2", optional = true }
openssl = { version="0.10", optional = true }
# rustls = { version = "^0.15", optional = true }
[dev-dependencies]
2019-03-02 06:51:32 +00:00
actix-http = { git = "https://github.com/actix/actix-http.git", features=["ssl"] }
actix-http-test = { git = "https://github.com/actix/actix-http.git", features=["ssl"] }
rand = "0.6"
env_logger = "0.6"
2017-12-02 05:29:22 +00:00
serde_derive = "1.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