Skip to content

Commit

Permalink
Merge #111
Browse files Browse the repository at this point in the history
111: Update zstd dependencies r=Nemo157 a=paolobarbolini



Co-authored-by: Paolo Barbolini <paolo@paolo565.org>
  • Loading branch information
bors[bot] and paolobarbolini authored Dec 24, 2020
2 parents e026326 + ce82e68 commit 7b4d3a5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ flate2 = { version = "1.0.11", optional = true }
futures-core = { version = "0.3.0", default-features = false }
futures-io = { version = "0.3.0", default-features = false, features = ["std"], optional = true }
pin-project-lite = "0.2.0"
libzstd = { package = "zstd", version = "0.5.0", optional = true, default-features = false }
zstd-safe = { version = "2.0.0", optional = true, default-features = false }
libzstd = { package = "zstd", version = "0.6.0", optional = true, default-features = false }
zstd-safe = { version = "3.0.0", optional = true, default-features = false }
memchr = "2.2.1"
tokio-02 = { package = "tokio", version = "0.2.21", optional = true, default-features = false }
tokio-03 = { package = "tokio", version = "0.3.0", optional = true, default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion src/codec/zstd/decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use libzstd::stream::raw::{Decoder, Operation};

#[derive(Debug)]
pub struct ZstdDecoder {
decoder: Unshared<Decoder>,
decoder: Unshared<Decoder<'static>>,
}

impl ZstdDecoder {
Expand Down
2 changes: 1 addition & 1 deletion src/codec/zstd/encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::io::Result;

#[derive(Debug)]
pub struct ZstdEncoder {
encoder: Unshared<Encoder>,
encoder: Unshared<Encoder<'static>>,
}

impl ZstdEncoder {
Expand Down

0 comments on commit 7b4d3a5

Please sign in to comment.