update actix to use cors stuff

This commit is contained in:
Chris Cochrun 2024-07-05 20:51:14 -05:00
parent a5ba976abf
commit 1c56bcb107
4 changed files with 30 additions and 9 deletions

16
Cargo.lock generated
View file

@ -19,6 +19,21 @@ dependencies = [
"tracing",
]
[[package]]
name = "actix-cors"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f9e772b3bcafe335042b5db010ab7c09013dad6eac4915c91d8d50902769f331"
dependencies = [
"actix-utils",
"actix-web",
"derive_more",
"futures-util",
"log",
"once_cell",
"smallvec",
]
[[package]]
name = "actix-http"
version = "3.3.1"
@ -2085,6 +2100,7 @@ dependencies = [
name = "tfcapi"
version = "0.1.0"
dependencies = [
"actix-cors",
"actix-multipart",
"actix-rt",
"actix-web",