diff options
author | Lei Shi <lei2017@fb.com> | 2022-04-25 23:16:11 -0700 |
---|---|---|
committer | Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> | 2022-04-25 23:16:11 -0700 |
commit | 4e2259efdb4932f8db08adade300aca74c29eaef (patch) | |
tree | 385ed35aa3f0d88fcfca5d6d70c7669ec74f45d1 | |
parent | 66b543d433d54ff0573b50d398340f6e49c8d2ee (diff) |
bump up solana crate versions and fix a bunch of related crates
Summary:
allow-large-files
Upgrading async-compression with a patch because they are using old versions of zstd (renamed to libzstd in their dependencies) and zstd-safe
Updated aes-gcm-siv and curve25519-dalek too. Please refer to inline comments. Here is how I pinned the crate:
- git clone the repo
- git checkout the tag
- make changes
- git push -f origin HEAD:master
- use the commit hash and your forked repo to update cargo.toml
Reviewed By: wqfish
Differential Revision: D35585200
fbshipit-source-id: 70c51bf1902c6eaf72004a49bc2be9eaf782e360
-rw-r--r-- | below/store/Cargo.toml | 4 | ||||
-rw-r--r-- | below/store/src/compression.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/below/store/Cargo.toml b/below/store/Cargo.toml index 2548f627..72d487a1 100644 --- a/below/store/Cargo.toml +++ b/below/store/Cargo.toml @@ -23,7 +23,7 @@ serde = { version = "1.0.136", features = ["derive", "rc"] } serde_cbor = "0.11" slog = { version = "2.7", features = ["max_level_trace", "nested-values"] } static_assertions = "1.1.0" -zstd-safe = "4.1.1+zstd.1.5.0" +zstd-safe = "5.0.1+zstd.1.5.2" [dev-dependencies] itertools = "0.10.3" @@ -31,4 +31,4 @@ lazy_static = "1.0" paste = "1.0" slog-term = "2.8" tempdir = "0.3" -zstd = "0.9.0+zstd.1.5.0" +zstd = "0.11.1+zstd.1.5.2" diff --git a/below/store/src/compression.rs b/below/store/src/compression.rs index 549bbba2..81436aa4 100644 --- a/below/store/src/compression.rs +++ b/below/store/src/compression.rs @@ -231,7 +231,7 @@ mod test { } // zstd compress => Decompressor { - let comp = zstd::block::compress(&data, 0).expect("Failed to compress"); + let comp = zstd::bulk::compress(&data, 0).expect("Failed to compress"); let decomp = Decompressor::<()>::new() .decompress_with_dict_reset(&comp) .expect("Failed to decompress"); |