From 7d03f8836de8f4dddb41ce1bf01f23bb683e3904 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Fri, 19 Mar 2021 15:47:59 +0100 Subject: chore: upgrade actix_web to version 3 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index cafe258..784c1a7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" [dependencies] actix-rt = "1.0.0" -actix-web = "2.0.0" +actix-web = "3.0.0" actix-http = "1.0.1" actix-service = "1.0.5" -- cgit v1.2.3-18-g5258 From 8225cba5ce69a073b54e2eeba7c9d466efa107e3 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Fri, 19 Mar 2021 17:11:47 +0100 Subject: feat: add CORS --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 784c1a7..01b1764 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,6 +9,7 @@ actix-rt = "1.0.0" actix-web = "3.0.0" actix-http = "1.0.1" actix-service = "1.0.5" +actix-cors = "0.5" tokio-pg-mapper = "0.1.4" tokio-pg-mapper-derive = "0.1.4" -- cgit v1.2.3-18-g5258