From 89734a74faed3c330bed569ac36b6480da8ed8d9 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Fri, 18 Sep 2020 09:22:03 -0700 Subject: First pass at a photo resizing endpoint. This is currently fetching the images from the media_url, since I ripped it out of another project. I still need to change it to fetch from S3 directly. This is also using actix_web::client instead of reqwest. I should probably switch the oauth module to do the same. --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 584e0f5..e076570 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,8 @@ log = "0.4" actix-multipart = "0.2" actix-rt = "1.0.0" -actix-web = "2.0.0" +actix-web = { version = "2.0.0", features = ["openssl"] } +bytes = "0.5" futures = "0.3" chrono = { version = "0.4", features = ["serde"] } @@ -26,3 +27,4 @@ reqwest = { version = "0.10", features = ["json"] } rusoto_core = "0.45.0" rusoto_s3 = "0.45.0" +image = "0.23" -- cgit v1.2.3