From 72e41b99a1447320d7bae1caffea7170b17f1735 Mon Sep 17 00:00:00 2001 From: Cameron Cordes Date: Thu, 25 Feb 2021 14:42:23 -0500 Subject: [PATCH] Remove Actix CORS dependency --- Cargo.lock | 15 --------------- Cargo.toml | 1 - 2 files changed, 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0be1048..737636c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -60,20 +60,6 @@ dependencies = [ "trust-dns-resolver", ] -[[package]] -name = "actix-cors" -version = "0.5.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36b133d8026a9f209a9aeeeacd028e7451bcca975f592881b305d37983f303d7" -dependencies = [ - "actix-web", - "derive_more", - "futures-util", - "log", - "once_cell", - "tinyvec", -] - [[package]] name = "actix-files" version = "0.5.0" @@ -1200,7 +1186,6 @@ name = "image-api" version = "0.1.0" dependencies = [ "actix", - "actix-cors", "actix-files", "actix-multipart", "actix-rt 2.1.0", diff --git a/Cargo.toml b/Cargo.toml index e5d6431..f0ee5a5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,6 @@ actix-web = "3" actix-rt = "2" actix-files = "0.5" actix-multipart = "0.3.0" -actix-cors = "0.5" futures = "0.3.5" jsonwebtoken = "7.2.0" serde = "1"