From b4b441139b9369c195a40596a4ec49b119c2f8ef Mon Sep 17 00:00:00 2001 From: Syfaro Date: Fri, 17 Jan 2020 17:21:30 -0600 Subject: [PATCH] Update deps, use stable Rust. --- Cargo.lock | 9 ++++++--- Cargo.toml | 6 +++--- Dockerfile | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 78a9762..e2a43cc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -73,7 +73,8 @@ checksum = "b41b7ea54a0c9d92199de89e20e58d49f02f8e699814ef3fdf266f6f748d15c7" [[package]] name = "bb8" version = "0.4.0" -source = "git+https://github.com/khuey/bb8.git#315f60244bb6f0d26b5b6a4bb1a64ab68f8c70f9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12be5a75061a84c94149b8120651576c138bbade70c6d6d3659cbe8af6a8cbd2" dependencies = [ "async-trait", "futures", @@ -83,7 +84,8 @@ dependencies = [ [[package]] name = "bb8-postgres" version = "0.4.0" -source = "git+https://github.com/khuey/bb8.git#315f60244bb6f0d26b5b6a4bb1a64ab68f8c70f9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39a233af6ea3952e20d01863c87b4f6689b2f806249688b0908b5f02d4fa41ac" dependencies = [ "async-trait", "bb8", @@ -1973,7 +1975,8 @@ dependencies = [ [[package]] name = "warp" version = "0.2.0" -source = "git+https://github.com/seanmonstar/warp.git#0888ce997b557f5d62209818cba7485061cbf64e" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b11768dcc95dbbc7db573192cda35cdbbe59793f8409a4e11b87141a0930d6ed" dependencies = [ "bytes 0.5.3", "futures", diff --git a/Cargo.toml b/Cargo.toml index 839e632..c75f38a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,11 +15,11 @@ futures-util = "0.3.1" bytes = "0.5.3" serde = { version = "1.0.104", features = ["derive"] } -warp = { git = "https://github.com/seanmonstar/warp.git" } +warp = "0.2.0" tokio-postgres = "0.5.1" -bb8 = { git = "https://github.com/khuey/bb8.git" } -bb8-postgres = { git = "https://github.com/khuey/bb8.git" } +bb8 = "0.4.0" +bb8-postgres = "0.4.0" img_hash = "3.0.0" image = "0.22" diff --git a/Dockerfile b/Dockerfile index 5443d7e..186616d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rustlang/rust:nightly-slim AS builder +FROM rust:1-slim AS builder WORKDIR /src COPY . . RUN cargo install --root / --path .