From 35e0099ac628e1328368d1ea211deeb91afccd63 Mon Sep 17 00:00:00 2001 From: Eric Seppanen Date: Fri, 16 Apr 2021 13:47:19 -0700 Subject: [PATCH] pin remote rust-s3 dependency to a git hash Using the hash should allow us to change the remote repo and propagate that change to user builds without that change becoming visible at a random time. It's unfortunate that we can't declare this dependency once in the top-level Cargo.toml; that feature request is rust-lang rfc 2906. --- Cargo.lock | 2 +- pageserver/Cargo.toml | 2 +- walkeeper/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2e818f3f4b..74b32d20e3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1616,7 +1616,7 @@ dependencies = [ [[package]] name = "rust-s3" version = "0.27.0-beta1" -source = "git+https://github.com/hlinnaka/rust-s3#7f15a24ec7daa0a5d9516da706212745f9042818" +source = "git+https://github.com/hlinnaka/rust-s3?rev=7f15a24ec7daa0a5d9516da706212745f9042818#7f15a24ec7daa0a5d9516da706212745f9042818" dependencies = [ "async-std", "async-trait", diff --git a/pageserver/Cargo.toml b/pageserver/Cargo.toml index 5da883d81a..7f0b31e20c 100644 --- a/pageserver/Cargo.toml +++ b/pageserver/Cargo.toml @@ -26,7 +26,7 @@ clap = "2.33.0" termion = "1.5.6" tui = "0.14.0" daemonize = "0.4.1" -rust-s3 = { git = "https://github.com/hlinnaka/rust-s3", features = ["no-verify-ssl"] } +rust-s3 = { git = "https://github.com/hlinnaka/rust-s3", rev="7f15a24ec7daa0a5d9516da706212745f9042818", features = ["no-verify-ssl"] } tokio = { version = "1.3.0", features = ["full"] } tokio-stream = { version = "0.1.4" } tokio-postgres = { git = "https://github.com/zenithdb/rust-postgres.git", rev="a0d067b66447951d1276a53fb09886539c3fa094" } diff --git a/walkeeper/Cargo.toml b/walkeeper/Cargo.toml index 21e49bb096..98c63c434f 100644 --- a/walkeeper/Cargo.toml +++ b/walkeeper/Cargo.toml @@ -26,7 +26,7 @@ clap = "2.33.0" termion = "1.5.6" tui = "0.14.0" daemonize = "0.4.1" -rust-s3 = { git = "https://github.com/hlinnaka/rust-s3", features = ["no-verify-ssl"] } +rust-s3 = { git = "https://github.com/hlinnaka/rust-s3", rev="7f15a24ec7daa0a5d9516da706212745f9042818", features = ["no-verify-ssl"] } tokio = { version = "1.3.0", features = ["full"] } tokio-stream = { version = "0.1.4" } tokio-postgres = { git = "https://github.com/zenithdb/rust-postgres.git", rev="a0d067b66447951d1276a53fb09886539c3fa094" }