From f98195f17993772d061281385ad0f28d8b548d51 Mon Sep 17 00:00:00 2001 From: Gregory Szorc Date: Wed, 30 Dec 2020 09:12:52 -0700 Subject: [PATCH] rust: update to latest zstd crates We were running a fork to get experimental zdict features. Now that my patches have been incorporated upstream, we can use the official releases. This also gets our libzstd version on par with the vendored copy. --- Cargo.lock | 10 ++++++---- Cargo.toml | 8 ++------ 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 56a25d3a..bcdd5c5a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -304,8 +304,9 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "zstd-safe" -version = "2.0.4+zstd.1.4.5" -source = "git+https://github.com/indygreg/zstd-rs.git?rev=2f70a50ac5eddc716d356694de9ed46f6b6b37bb#2f70a50ac5eddc716d356694de9ed46f6b6b37bb" +version = "3.0.0+zstd.1.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9447afcd795693ad59918c7bbffe42fdd6e467d708f3537e3dc14dc598c573f" dependencies = [ "libc", "zstd-sys", @@ -313,8 +314,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "1.4.16+zstd.1.4.5" -source = "git+https://github.com/indygreg/zstd-rs.git?rev=2f70a50ac5eddc716d356694de9ed46f6b6b37bb#2f70a50ac5eddc716d356694de9ed46f6b6b37bb" +version = "1.4.19+zstd.1.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec24a9273d24437afb8e71b16f3d9a5d569193cccdb7896213b59f552f387674" dependencies = [ "cc", "glob", diff --git a/Cargo.toml b/Cargo.toml index bc45bfd1..f01d4c50 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,15 +17,11 @@ libc = "0.2" num_cpus = "1" [dependencies.zstd-safe] -#version = "2.0.4" -git = "https://github.com/indygreg/zstd-rs.git" -rev = "2f70a50ac5eddc716d356694de9ed46f6b6b37bb" +version = "3.0.0+zstd.1.4.8" features = ["experimental", "legacy", "zstdmt"] [dependencies.zstd-sys] -#version = "1.4.16" -git = "https://github.com/indygreg/zstd-rs.git" -rev = "2f70a50ac5eddc716d356694de9ed46f6b6b37bb" +version = "1.4.19+zstd.1.4.8" features = ["experimental", "legacy", "zstdmt"] [dependencies.pyo3]