⬆️ deps: Update to Rust 1.50.0

main
_ 2021-02-20 19:12:38 +00:00
parent 10465dfb46
commit aec822ba5f
3 changed files with 3 additions and 4 deletions

View File

@ -1,8 +1,8 @@
# https://whitfin.io/speeding-up-rust-docker-builds/ # https://whitfin.io/speeding-up-rust-docker-builds/
# TODO: https://stackoverflow.com/questions/57389547/how-to-define-the-context-for-a-docker-build-as-a-specific-commit-on-one-of-the # TODO: https://stackoverflow.com/questions/57389547/how-to-define-the-context-for-a-docker-build-as-a-specific-commit-on-one-of-the
# rust:1.48-slim-buster # rust:1.50-slim-buster
FROM rust@sha256:cb6b98346ef41a2062d4d8f099127d880f2ef7c1515d00215fc9ea713b99167b as build FROM rust@sha256:5dd85eb0c60bbdea14a6ecba1f6fe4a0f5c878bcf06d2cdfae0aff3a19ed4b10 as build
WORKDIR / WORKDIR /
ENV USER root ENV USER root

View File

@ -306,7 +306,6 @@ async fn handle_server_list (
async fn handle_endless_source (gib: usize, throttle: Option <usize>) async fn handle_endless_source (gib: usize, throttle: Option <usize>)
-> Result <Response <Body>, http::Error> -> Result <Response <Body>, http::Error>
{ {
use futures::stream::StreamExt;
use tokio::sync::mpsc; use tokio::sync::mpsc;
let block_bytes = 64 * 1024; let block_bytes = 64 * 1024;

View File

@ -1 +1 @@
1.48.0 1.50.0