From c29b86849be93857056fbd0be9529d8011b15827 Mon Sep 17 00:00:00 2001 From: mpostma Date: Mon, 15 Mar 2021 17:40:20 +0100 Subject: [PATCH] use actix cors git dependency --- Cargo.lock | 1 + meilisearch-http/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index d40beeb70..bcdcec71c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/meilisearch-http/Cargo.toml b/meilisearch-http/Cargo.toml index 9e148c46b..9ae7baae2 100644 --- a/meilisearch-http/Cargo.toml +++ b/meilisearch-http/Cargo.toml @@ -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"] }