1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 15:51:06 +01:00

exclude default -web features where not needed (#70)

This commit is contained in:
Rob Ede 2020-06-18 11:22:14 +01:00 committed by GitHub
parent 70df190e0b
commit 027f045340
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 6 deletions

View File

@ -16,7 +16,7 @@ name = "actix_cors"
path = "src/lib.rs"
[dependencies]
actix-web = "3.0.0-alpha.1"
actix-web = { version = "3.0.0-alpha.1", default_features = false }
actix-service = "1.0.1"
derive_more = "0.99.2"
futures-util = { version = "0.3.4", default-features = false }

View File

@ -21,7 +21,7 @@ futures-util = { version = "0.3.5", default-features = false }
derive_more = "0.99"
actix-rt = "1"
actix-web = "2"
actix-web = { version = "2", default_features = false }
prost = "0.6.0"

View File

@ -38,7 +38,7 @@ tokio = "0.2.6"
tokio-util = "0.3.0"
# actix-session
actix-web = { version = "3.0.0-alpha.2", optional = true }
actix-web = { version = "3.0.0-alpha.2", default_features = false, optional = true }
actix-http = { version = "2.0.0-alpha.3", optional = true }
actix-service = { version = "1.0.0", optional = true }
actix-session = { version = "0.4.0-alpha.1", optional = true }

View File

@ -17,12 +17,10 @@ path = "src/lib.rs"
[features]
default = ["cookie-session"]
# sessions feature, session require "ring" crate and c compiler
cookie-session = ["actix-web/secure-cookies"]
[dependencies]
actix-web = "3.0.0-alpha.1"
actix-web = { version = "3.0.0-alpha.1", default_features = false }
actix-service = "1.0.1"
bytes = "0.5.3"
derive_more = "0.99.2"