Update deps, use stable Rust.

This commit is contained in:
Syfaro 2020-01-17 17:21:30 -06:00
parent 82dd1ef8b7
commit b4b441139b
3 changed files with 10 additions and 7 deletions

9
Cargo.lock generated
View File

@ -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",

View File

@ -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"

View File

@ -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 .