1
0
mirror of https://github.com/actix/examples synced 2025-09-02 03:46:38 +02:00

update cors example to 0.5

This commit is contained in:
Rob Ede
2020-10-19 23:36:53 +01:00
parent 15197a271c
commit 5573e5fd34
5 changed files with 61 additions and 26 deletions

43
Cargo.lock generated
View File

@@ -166,6 +166,20 @@ dependencies = [
"futures-util",
]
[[package]]
name = "actix-cors"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aaf0c4345c9663a2822d42602391418fd5766f269109ec6bf1784b056a9356a7"
dependencies = [
"actix-web 3.1.0",
"derive_more",
"futures-util",
"log",
"once_cell",
"tinyvec 1.0.1",
]
[[package]]
name = "actix-files"
version = "0.2.2"
@@ -712,9 +726,9 @@ dependencies = [
name = "actix-web-cors"
version = "1.0.0"
dependencies = [
"actix-cors",
"actix-cors 0.5.0",
"actix-web 3.1.0",
"env_logger 0.7.1",
"env_logger 0.8.1",
"futures 0.3.6",
"serde 1.0.116",
"serde_json",
@@ -2326,7 +2340,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aafcde04e90a5226a6443b7aabdb016ba2f8307c847d524724bd9b346dd1a2d3"
dependencies = [
"atty",
"humantime",
"humantime 1.3.0",
"log",
"regex",
"termcolor",
@@ -2339,7 +2353,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36"
dependencies = [
"atty",
"humantime",
"humantime 1.3.0",
"log",
"regex",
"termcolor",
]
[[package]]
name = "env_logger"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "54532e3223c5af90a6a757c90b5c5521564b07e5e7a958681bcd2afad421cdcd"
dependencies = [
"atty",
"humantime 2.0.1",
"log",
"regex",
"termcolor",
@@ -2893,6 +2920,12 @@ dependencies = [
"quick-error 1.2.3",
]
[[package]]
name = "humantime"
version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c1ad908cc71012b7bea4d0c53ba96a8cba9962f048fa68d143376143d863b7a"
[[package]]
name = "hyper"
version = "0.13.8"
@@ -3165,7 +3198,7 @@ dependencies = [
name = "juniper-example"
version = "0.2.0"
dependencies = [
"actix-cors",
"actix-cors 0.4.1",
"actix-web 3.1.0",
"env_logger 0.7.1",
"juniper",