use actix cors git dependency

This commit is contained in:
mpostma 2021-03-15 17:40:20 +01:00
parent abbea59732
commit c29b86849b
No known key found for this signature in database
GPG Key ID: CBC8A7C1D7A28C3A
2 changed files with 2 additions and 1 deletions

1
Cargo.lock generated
View File

@ -54,6 +54,7 @@ dependencies = [
[[package]]
name = "actix-cors"
version = "0.5.4"
source = "git+https://github.com/MarinPostma/actix-extras.git?rev=8f7b1fd#8f7b1fdd7f58f3a15542a27e6b237666bac756d4"
dependencies = [
"actix-web",
"derive_more",

View File

@ -13,7 +13,7 @@ path = "src/main.rs"
vergen = "3.1.0"
[dependencies]
actix-cors = { path = "../../actix-extras/actix-cors" }
actix-cors = { git = "https://github.com/MarinPostma/actix-extras.git", rev = "8f7b1fd" }
actix-http = { version = "3.0.0-beta.4", features = ["cookies"] }
actix-service = "2.0.0-beta.4"
actix-web = { version = "4.0.0-beta.4", features = ["rustls", "cookies"] }