From dfde44255cfe4fea38bdd7b16361dd6fa86fb185 Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Mon, 5 Dec 2022 10:55:03 -0800 Subject: [PATCH] cargo: depend on now-released `thrift` 0.17.0 This should let us publish our crates to crates.io. --- Cargo.lock | 3 ++- flake.nix | 3 --- lib/Cargo.toml | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index be94515fa..2acd35ba0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1768,7 +1768,8 @@ dependencies = [ [[package]] name = "thrift" version = "0.17.0" -source = "git+https://github.com/apache/thrift?rev=4d493e867b349f3475203ef9848353b315203c51#4d493e867b349f3475203ef9848353b315203c51" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e54bc85fc7faa8bc175c4bab5b92ba8d9a3ce893d0e9f42cc455c8ab16a9e09" dependencies = [ "byteorder", "integer-encoding", diff --git a/flake.nix b/flake.nix index 265374a25..1e0aa50da 100644 --- a/flake.nix +++ b/flake.nix @@ -44,9 +44,6 @@ cargoLock = { lockFile = "${self}/Cargo.lock"; - outputHashes = { - "thrift-0.17.0" = "sha256-Zczwq6zRKPXXj7JR0X/0Osl1Lafo5r+2wK5tuWJbvI8="; - }; }; nativeBuildInputs = [ pkg-config gzip makeWrapper diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 4e47114fe..adafed7c5 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -38,8 +38,7 @@ regex = "1.7.0" serde_json = "1.0.89" tempfile = "3.3.0" thiserror = "1.0.37" -# thrift v0.17.0 (specified by hash for security reasons) -thrift = { git = "https://github.com/apache/thrift", rev = "4d493e867b349f3475203ef9848353b315203c51", default-features = false, optional = true } +thrift = { version = "0.17.0", default-features = false, optional = true } uuid = { version = "1.2.2", features = ["v4"] } whoami = "1.2.3" zstd = "0.12.0"