mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-27 17:22:57 +01:00
update actix-web dependency to 4.0
This commit is contained in:
parent
d46ee464e0
commit
73a5ae98b6
@ -1,7 +1,8 @@
|
|||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
## Unreleased - 2021-xx-xx
|
## Unreleased - 2021-xx-xx
|
||||||
- Ensure that preflight responses contain a Vary header. [#224]
|
- Update `actix-web` dependency to 4.0.
|
||||||
|
- Ensure that preflight responses contain a `Vary` header. [#224]
|
||||||
|
|
||||||
[#224]: https://github.com/actix/actix-extras/pull/224
|
[#224]: https://github.com/actix/actix-extras/pull/224
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ path = "src/lib.rs"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
actix-service = "2"
|
actix-service = "2"
|
||||||
actix-utils = "3"
|
actix-utils = "3"
|
||||||
actix-web = { version = "4.0.0-rc.1", default-features = false }
|
actix-web = { version = "4", default-features = false }
|
||||||
|
|
||||||
derive_more = "0.99.5"
|
derive_more = "0.99.5"
|
||||||
futures-util = { version = "0.3.7", default-features = false }
|
futures-util = { version = "0.3.7", default-features = false }
|
||||||
@ -28,6 +28,6 @@ once_cell = "1"
|
|||||||
smallvec = "1.6.1"
|
smallvec = "1.6.1"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
actix-web = { version = "4.0.0-rc.2", default_features = false, features = ["macros"] }
|
actix-web = { version = "4", default_features = false, features = ["macros"] }
|
||||||
env_logger = "0.9"
|
env_logger = "0.9"
|
||||||
regex = "1.4"
|
regex = "1.4"
|
||||||
|
@ -578,7 +578,7 @@ mod test {
|
|||||||
dev::{fn_service, Transform},
|
dev::{fn_service, Transform},
|
||||||
http::{header::HeaderName, StatusCode},
|
http::{header::HeaderName, StatusCode},
|
||||||
test::{self, TestRequest},
|
test::{self, TestRequest},
|
||||||
web::HttpResponse,
|
HttpResponse,
|
||||||
};
|
};
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
|
@ -360,7 +360,7 @@ mod test {
|
|||||||
})
|
})
|
||||||
.allow_any_method()
|
.allow_any_method()
|
||||||
.allow_any_header()
|
.allow_any_header()
|
||||||
.new_transform(test::simple_service(StatusCode::NO_CONTENT))
|
.new_transform(test::status_service(StatusCode::NO_CONTENT))
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ path = "src/lib.rs"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
actix-service = "2"
|
actix-service = "2"
|
||||||
actix-utils = "3"
|
actix-utils = "3"
|
||||||
actix-web = { version = "4.0.0-rc.1", default-features = false, features = ["cookies", "secure-cookies"] }
|
actix-web = { version = "4", default-features = false, features = ["cookies", "secure-cookies"] }
|
||||||
|
|
||||||
futures-util = { version = "0.3.7", default-features = false }
|
futures-util = { version = "0.3.7", default-features = false }
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
@ -25,4 +25,4 @@ time = "0.3"
|
|||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
actix-http = "3.0.0-rc.1"
|
actix-http = "3.0.0-rc.1"
|
||||||
actix-web = { version = "4.0.0-rc.2", default_features = false, features = ["macros", "cookies", "secure-cookies"] }
|
actix-web = { version = "4", default_features = false, features = ["macros", "cookies", "secure-cookies"] }
|
||||||
|
@ -18,11 +18,11 @@ name = "actix_protobuf"
|
|||||||
path = "src/lib.rs"
|
path = "src/lib.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
actix-web = { version = "4.0.0-rc.1", default_features = false }
|
actix-web = { version = "4", default_features = false }
|
||||||
derive_more = "0.99.5"
|
derive_more = "0.99.5"
|
||||||
futures-util = { version = "0.3.7", default-features = false }
|
futures-util = { version = "0.3.7", default-features = false }
|
||||||
prost = { version = "0.9", default_features = false }
|
prost = { version = "0.9", default_features = false }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
actix-web = { version = "4.0.0-rc.2", default_features = false, features = ["macros"] }
|
actix-web = { version = "4", default_features = false, features = ["macros"] }
|
||||||
prost = { version = "0.9", default_features = false, features = ["prost-derive"] }
|
prost = { version = "0.9", default_features = false, features = ["prost-derive"] }
|
||||||
|
@ -8,7 +8,7 @@ authors = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
actix-web = "4.0.0-rc.2"
|
actix-web = "4"
|
||||||
actix-protobuf = { path = "../../" }
|
actix-protobuf = { path = "../../" }
|
||||||
|
|
||||||
env_logger = "0.8"
|
env_logger = "0.8"
|
||||||
|
@ -45,7 +45,7 @@ tokio = { version = "1.13.1", features = ["sync"] }
|
|||||||
tokio-util = "0.6.1"
|
tokio-util = "0.6.1"
|
||||||
|
|
||||||
# actix-session
|
# actix-session
|
||||||
actix-web = { version = "4.0.0-rc.1", default_features = false, optional = true }
|
actix-web = { version = "4", default_features = false, optional = true }
|
||||||
actix-session = { version = "0.5.0-beta.8", optional = true }
|
actix-session = { version = "0.5.0-beta.8", optional = true }
|
||||||
rand = { version = "0.8.0", optional = true }
|
rand = { version = "0.8.0", optional = true }
|
||||||
serde = { version = "1.0.101", optional = true }
|
serde = { version = "1.0.101", optional = true }
|
||||||
@ -53,7 +53,7 @@ serde_json = { version = "1.0.40", optional = true }
|
|||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
actix-test = "0.1.0-beta.12"
|
actix-test = "0.1.0-beta.12"
|
||||||
actix-web = { version = "4.0.0-rc.2", default_features = false, features = ["macros"] }
|
actix-web = { version = "4", default_features = false, features = ["macros"] }
|
||||||
env_logger = "0.9"
|
env_logger = "0.9"
|
||||||
serde = { version = "1.0.101", features = ["derive"] }
|
serde = { version = "1.0.101", features = ["derive"] }
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ cookie-session = ["actix-web/secure-cookies"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
actix-service = "2"
|
actix-service = "2"
|
||||||
actix-utils = "3"
|
actix-utils = "3"
|
||||||
actix-web = { version = "4.0.0-rc.1", default_features = false, features = ["cookies"] }
|
actix-web = { version = "4", default_features = false, features = ["cookies"] }
|
||||||
|
|
||||||
derive_more = "0.99.5"
|
derive_more = "0.99.5"
|
||||||
futures-util = { version = "0.3.7", default-features = false }
|
futures-util = { version = "0.3.7", default-features = false }
|
||||||
@ -30,4 +30,4 @@ serde_json = "1.0"
|
|||||||
time = "0.3"
|
time = "0.3"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
actix-web = { version = "4.0.0-rc.2", default_features = false, features = ["macros", "cookies"] }
|
actix-web = { version = "4", default_features = false, features = ["macros", "cookies"] }
|
||||||
|
@ -20,7 +20,7 @@ path = "src/lib.rs"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
actix-service = "2"
|
actix-service = "2"
|
||||||
actix-utils = "3"
|
actix-utils = "3"
|
||||||
actix-web = { version = "4.0.0-rc.1", default_features = false }
|
actix-web = { version = "4", default_features = false }
|
||||||
|
|
||||||
base64 = "0.13"
|
base64 = "0.13"
|
||||||
futures-util = { version = "0.3.7", default-features = false }
|
futures-util = { version = "0.3.7", default-features = false }
|
||||||
@ -29,4 +29,4 @@ pin-project-lite = "0.2.7"
|
|||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
actix-cors = "0.6.0-beta.10"
|
actix-cors = "0.6.0-beta.10"
|
||||||
actix-web = { version = "4.0.0-rc.2", default_features = false, features = ["macros"] }
|
actix-web = { version = "4", default_features = false, features = ["macros"] }
|
||||||
|
Loading…
Reference in New Issue
Block a user