commit_hash
stringlengths
40
40
author
stringlengths
1
57
date
timestamp[s]date
2010-07-26 04:45:09
2026-04-14 18:21:10
message
stringlengths
8
1.39M
diff
stringlengths
68
51.2k
files_changed
int64
1
136
insertions
int64
0
2.35k
deletions
int64
0
1.9k
a9652fe3bdaab7c7453a69e298ebed07fb386bef
Rob Ede
2023-05-10T01:55:05
refactor: use concat in doc comments
diff --git a/src/futures/bufread/macros/decoder.rs b/src/futures/bufread/macros/decoder.rs index 5293875..8ec086a 100644 --- a/src/futures/bufread/macros/decoder.rs +++ b/src/futures/bufread/macros/decoder.rs @@ -2,10 +2,10 @@ macro_rules! decoder { ($(#[$attr:meta])* $name:ident) => { pin_project_lite::p...
11
16
18
3dc0c02a1508928a88a401946eea0d7be773c6f2
Rob Ede
2023-05-10T00:59:36
chore: update ntest to 0.9
diff --git a/Cargo.lock b/Cargo.lock index 3f03a07..af9efba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -418,26 +418,19 @@ dependencies = [ [[package]] name = "ntest" -version = "0.8.1" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e865500b46e35210765d62d549178c52...
2
8
16
013c3235d69394393bd9f5742b9c0a91a96dfd57
Rob Ede
2023-05-06T18:19:09
doc: use automatic doc cfg for features
diff --git a/src/lib.rs b/src/lib.rs index 2eee17d..c296f39 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -121,7 +121,7 @@ )] //! -#![cfg_attr(docsrs, feature(doc_cfg))] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] #![warn( missing_docs, rust_2018_idioms, @@ -135,10 +135,8 @@ mod macros; mod codec; #[c...
2
4
8
b39918dc21b2c4927fd96a025ecf0ce037a83b75
Rob Ede
2023-05-06T14:14:56
chore: update locked vulnerable deps
diff --git a/Cargo.lock b/Cargo.lock index 526cda1..85f9c59 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -45,7 +45,7 @@ dependencies = [ "rand", "tokio 0.2.25", "tokio 0.3.7", - "tokio 1.15.0", + "tokio 1.24.2", "tokio-util 0.3.1", "tokio-util 0.4.0", "tokio-util 0.5.1", @@ -57,9 +57,9 @@ dependencies = [ ...
1
205
30
9212a12ceca89ec21d03e7db1596f0c75c9de51a
Max Burke
2023-03-04T15:37:52
Update to zstd 0.12 / zstd-safe 6
diff --git a/Cargo.lock b/Cargo.lock index 526cda1..571dd1c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -888,18 +888,18 @@ dependencies = [ [[package]] name = "zstd" -version = "0.11.1+zstd.1.5.2" +version = "0.12.3+zstd.1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a16b841...
2
9
8
886288e56158c9ce90dc8f1ef1aa106c56b99538
Wim Looman
2022-10-08T09:29:12
Bump version to 0.3.15
diff --git a/Cargo.lock b/Cargo.lock index 500c2ad..526cda1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -25,7 +25,7 @@ dependencies = [ [[package]] name = "async-compression" -version = "0.3.14" +version = "0.3.15" dependencies = [ "brotli", "bytes 0.5.6", diff --git a/Cargo.toml b/Cargo.toml index a8fa07d..8e...
2
2
2
7118845518dc3f1c8c56d6526b1bb7036c9de1c4
Wim Looman
2022-10-08T09:23:49
Fix endianness when reading the `extra` field of a gzip header As specified in RFC1952 §2.1 multi-byte values are stored in little endian format.
diff --git a/src/codec/gzip/header.rs b/src/codec/gzip/header.rs index 2132da0..8d82301 100644 --- a/src/codec/gzip/header.rs +++ b/src/codec/gzip/header.rs @@ -85,7 +85,7 @@ impl Parser { data.copy_unwritten_from(input); if data.unwritten().is_empty() { - ...
2
2
1
1700bcfd04c7960d4207b8183bfdd752f4b0ce9c
Wesley Wiser
2022-09-22T15:49:58
Box the `BrotliState` value because it is very large This reduces the size of `BrotliDecoder` from 2592 bytes to 8 bytes. Fixes #172
diff --git a/src/codec/brotli/decoder.rs b/src/codec/brotli/decoder.rs index 0eeab3f..648f173 100644 --- a/src/codec/brotli/decoder.rs +++ b/src/codec/brotli/decoder.rs @@ -7,17 +7,18 @@ use std::{ use brotli::{enc::StandardAlloc, BrotliDecompressStream, BrotliResult, BrotliState}; pub struct BrotliDecoder { - s...
1
6
5
189f730ec74b5ac6a50171c1be6a1d384c64e81c
hdhoang
2022-08-29T06:38:56
zstd: surface implicit default level `3` via libzstd constant instead of c-like flag `0`
diff --git a/src/lib.rs b/src/lib.rs index 31d921d..108cb85 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -244,7 +244,7 @@ impl Level { Self::Fastest => 1, Self::Best => 21, Self::Precise(quality) => quality.min(21) as i32, - Self::Default => 0, + Self::Default...
1
1
1
149c9f8648cef5306b8120b326431f129f726c25
Wim Looman
2022-05-19T15:01:51
Bump version to 0.3.14
diff --git a/Cargo.lock b/Cargo.lock index f25e11f..5c029f4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -25,7 +25,7 @@ dependencies = [ [[package]] name = "async-compression" -version = "0.3.13" +version = "0.3.14" dependencies = [ "brotli", "bytes 0.5.6", diff --git a/Cargo.toml b/Cargo.toml index 5b11f15..d3...
2
2
2
e7246738762de34bbb820662c3923f8f2610ac95
Wim Looman
2022-05-15T12:40:17
Don't reinitialize on reader EOF for other implementations
diff --git a/src/tokio/bufread/generic/decoder.rs b/src/tokio/bufread/generic/decoder.rs index e9ef44e..2f4d8c7 100644 --- a/src/tokio/bufread/generic/decoder.rs +++ b/src/tokio/bufread/generic/decoder.rs @@ -70,6 +70,9 @@ impl<R: AsyncBufRead, D: Decode> Decoder<R, D> { State::Decoding => { ...
3
9
0
701a3a34511a2ea5916b95de3b99d89bdac7ad0f
Wim Looman
2022-05-13T08:57:54
Add assertion that we do not read past EOF
diff --git a/tests/utils/impls.rs b/tests/utils/impls.rs index a1b1ac8..18cea2e 100644 --- a/tests/utils/impls.rs +++ b/tests/utils/impls.rs @@ -13,13 +13,13 @@ pub mod futures { pub mod bufread { pub use futures::io::AsyncBufRead; - use crate::utils::InputStream; + use crate::utils::{Inpu...
3
196
9
eb1d0cc2d36b498da200f25e6141fb6d1eb0cd90
eta
2022-05-12T17:32:05
bufread::generic::Decoder: don't reinitialize on reader EOF If `multiple_members` is enabled, the `bufread::generic::Decoder` will attempt to reinitialise the decoder inside `State::Flushing`, even if the reason it entered that state was due to the reader returning an EOF. This will result in an attempt to read past E...
diff --git a/src/futures/bufread/generic/decoder.rs b/src/futures/bufread/generic/decoder.rs index ff39b16..d19daae 100644 --- a/src/futures/bufread/generic/decoder.rs +++ b/src/futures/bufread/generic/decoder.rs @@ -70,6 +70,9 @@ impl<R: AsyncBufRead, D: Decode> Decoder<R, D> { State::Decoding => { ...
1
3
0
33f0b716a9112fe290d9fd84da5342ad6465dc51
Wim Looman
2022-05-11T12:20:53
Remove unused futures-codec dependency
diff --git a/Cargo.lock b/Cargo.lock index 0384ce4..f25e11f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -37,7 +37,6 @@ dependencies = [ "futures-core", "futures-io", "futures-test", - "futures_codec", "memchr", "ntest", "pin-project-lite 0.2.8", @@ -284,7 +283,7 @@ dependencies = [ "futures-sink", "futu...
2
2
36
08e49a1793a2d048a6a1a52bc633c918ad1bfce1
Wim Looman
2022-05-11T11:36:53
Update ntest
diff --git a/Cargo.lock b/Cargo.lock index 7985888..0384ce4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -397,9 +397,9 @@ dependencies = [ [[package]] name = "ntest" -version = "0.7.3" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "984caf6c8aa869418ef88062fc685d07d5...
2
32
11
1c181e213d89992fdd84fedb238af1b800815fa0
Wim Looman
2022-05-11T11:36:23
Update rand
diff --git a/Cargo.lock b/Cargo.lock index 2607a59..7985888 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -43,7 +43,7 @@ dependencies = [ "pin-project-lite 0.2.8", "proptest", "proptest-derive", - "rand 0.7.3", + "rand", "tokio 0.2.25", "tokio 0.3.7", "tokio 1.15.0", @@ -318,17 +318,6 @@ dependencies = [ "p...
2
10
68
7f14c8efef84d1c9c2496869ef8cbaf7f1e9d088
Wim Looman
2022-05-11T11:32:38
Update proptest
diff --git a/Cargo.lock b/Cargo.lock index 33a860b..2607a59 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -56,12 +56,6 @@ dependencies = [ "zstd-safe", ] -[[package]] -name = "autocfg" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d49d90015b3c36167a20fe2810c5cd875...
2
61
135
674c32b9e54af050279498ee08dccdfb5be600c2
Wim Looman
2022-05-11T10:39:14
Bump version to 0.3.13
diff --git a/Cargo.lock b/Cargo.lock index b9f2f65..33a860b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -25,7 +25,7 @@ dependencies = [ [[package]] name = "async-compression" -version = "0.3.12" +version = "0.3.13" dependencies = [ "brotli", "bytes 0.5.6", diff --git a/Cargo.toml b/Cargo.toml index 54922b1..c7...
2
2
2
d3dccc56d84a6856c0d0a7232c0e21f16e42ef8e
Gregory Szorc
2022-04-16T21:57:02
Bump zstd dependency libzstd 0.10 -> 0.11 and zstd-safe 4.1 -> 5.0.
diff --git a/Cargo.lock b/Cargo.lock index 5febc50..b9f2f65 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1032,18 +1032,18 @@ dependencies = [ [[package]] name = "zstd" -version = "0.10.0+zstd.1.5.2" +version = "0.11.1+zstd.1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b1365b...
2
8
8
b73c063f98d254b08a6826a71ac02f6885949f0d
Wim Looman
2022-01-26T22:38:38
Bump version to 0.3.12
diff --git a/Cargo.lock b/Cargo.lock index 1ced7fc..5febc50 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -25,7 +25,7 @@ dependencies = [ [[package]] name = "async-compression" -version = "0.3.11" +version = "0.3.12" dependencies = [ "brotli", "bytes 0.5.6", diff --git a/Cargo.toml b/Cargo.toml index 1d9352d..da...
2
2
2
4577e830b153811b897d49b3ec26160fe72e1bd4
Mateusz Mikuła
2022-01-26T16:32:44
Use only `std` feature for `brotli`
diff --git a/Cargo.toml b/Cargo.toml index 95fc462..1d9352d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,7 @@ futures-write = ["futures-io"] [dependencies] xz2 = { version = "0.1.6", optional = true } -brotli = { version = "3.3.0", optional = true } +brotli = { version = "3.3.0", optional = true, default-f...
1
1
1
9dd06201dd8f7e00ffe8838127e1e0ca4d69db12
Wim Looman
2022-01-25T17:04:46
Bump version to 0.3.11
diff --git a/Cargo.lock b/Cargo.lock index 706a5f0..1ced7fc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -25,7 +25,7 @@ dependencies = [ [[package]] name = "async-compression" -version = "0.3.10" +version = "0.3.11" dependencies = [ "brotli", "bytes 0.5.6", diff --git a/Cargo.toml b/Cargo.toml index 7d3568b..95...
2
2
2
15a0ab8294af4e332570fa263f236d1317bb7fe5
Rotem Yaari
2021-11-08T11:48:50
Update zstd dependency
diff --git a/Cargo.lock b/Cargo.lock index c18a5fd..706a5f0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1032,18 +1032,18 @@ dependencies = [ [[package]] name = "zstd" -version = "0.9.2+zstd.1.5.1" +version = "0.10.0+zstd.1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2390ea1b...
2
8
8
36563e871a8405192d59194ab9ec706f01f15a12
Wim Looman
2022-01-25T16:40:02
Bump version to 0.3.10
diff --git a/Cargo.lock b/Cargo.lock index a6dba69..c18a5fd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -25,7 +25,7 @@ dependencies = [ [[package]] name = "async-compression" -version = "0.3.9" +version = "0.3.10" dependencies = [ "brotli", "bytes 0.5.6", diff --git a/Cargo.toml b/Cargo.toml index e2c5a28..bcc...
2
2
2
a71fadebf229e99b0cf8e4375a3ec4470bf85df4
Wim Looman
2022-01-25T16:39:45
Update to zstd 0.9
diff --git a/Cargo.lock b/Cargo.lock index 3499016..a6dba69 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1032,18 +1032,18 @@ dependencies = [ [[package]] name = "zstd" -version = "0.8.3+zstd.1.5.0" +version = "0.9.2+zstd.1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ea7094c7...
2
8
8
50d5bb515cf2718c202f996077765ae4c17b9225
Wim Looman
2022-01-25T16:22:21
Fix new clippy warnings
diff --git a/src/codec/brotli/decoder.rs b/src/codec/brotli/decoder.rs index 392b456..0eeab3f 100644 --- a/src/codec/brotli/decoder.rs +++ b/src/codec/brotli/decoder.rs @@ -35,10 +35,10 @@ impl BrotliDecoder { let status = match BrotliDecompressStream( &mut in_buf.len(), &mut input_le...
2
3
3
9af5b00cf0cc16f93b64a10a60d62d1e39072575
Wim Looman
2022-01-25T16:11:59
Update all locked dependencies
diff --git a/Cargo.lock b/Cargo.lock index e8100ec..3499016 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10,9 +10,9 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" [[package]] name = "alloc-no-stdlib" -version = "2.0.1" +version = "2.0.3" source = "registry+https://github.com/rust-...
1
138
192
4c9860e7e46266abc9deb2390e233c5f2069a9cc
Wim Looman
2022-01-25T16:08:47
Bump version to 0.3.9
diff --git a/Cargo.lock b/Cargo.lock index d00847e..e8100ec 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -25,7 +25,7 @@ dependencies = [ [[package]] name = "async-compression" -version = "0.3.8" +version = "0.3.9" dependencies = [ "brotli", "bytes 0.5.6", diff --git a/Cargo.toml b/Cargo.toml index 33cee87..18f0...
2
2
2
adf3cb0d76e4caafda3e097d78f55722e779759c
Alex Hornby
2021-06-03T16:36:36
update zstd dependency to 1.5.0 tested with cargo test --all-features
diff --git a/Cargo.lock b/Cargo.lock index dd5a31a..d00847e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1086,18 +1086,18 @@ dependencies = [ [[package]] name = "zstd" -version = "0.8.0+zstd.1.4.9" +version = "0.8.3+zstd.1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afab5e288...
2
8
8
6c332e1ba780aed9bd71c8150fa788273e4be99f
Fabio Valentini
2021-05-11T08:49:17
Update zstd dependencies
diff --git a/Cargo.lock b/Cargo.lock index 44004e8..dd5a31a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1086,18 +1086,18 @@ dependencies = [ [[package]] name = "zstd" -version = "0.7.0+zstd.1.4.9" +version = "0.8.0+zstd.1.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "942875248...
2
6
6
19fd03f8bb274cf8356323b2a7bc355e061133cc
Wim Looman
2021-04-24T21:54:15
Update all locked dependencies
diff --git a/Cargo.lock b/Cargo.lock index bfe2727..44004e8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3,10 +3,10 @@ version = 3 [[package]] -name = "adler32" -version = "1.1.0" +name = "adler" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567b077b825e468cc974f0...
1
237
254
f145824fe79bc81d01679504fbdd48cebe561ec6
Wim Looman
2021-04-24T22:20:15
Upgrade ntest
diff --git a/Cargo.lock b/Cargo.lock index 50c86f8..bfe2727 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + [[package]] name = "adler32" version = "1.1.0" @@ -42,7 +44,6 @@ dependencies = [ "proptes...
2
36
261
2538217702d6eb667e6f5a3805b33f14521a95b0
Wim Looman
2021-04-24T21:17:23
Bump version to 0.3.8
diff --git a/Cargo.lock b/Cargo.lock index 4bee93f..7499b09 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -23,7 +23,7 @@ dependencies = [ [[package]] name = "async-compression" -version = "0.3.7" +version = "0.3.8" dependencies = [ "brotli", "bytes 0.5.5", diff --git a/Cargo.toml b/Cargo.toml index 42e2ef2..bca8...
2
2
2
c7fe7f9512e742f0c0097a19de0fca89da140b31
Alex Hornby
2021-04-22T15:40:12
update zstd dependency to 1.4.9 tested with cargo test --all-features
diff --git a/Cargo.lock b/Cargo.lock index defefcd..4bee93f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -225,12 +225,6 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0" -[[package]] -name = "either" -ve...
2
7
30
429c5b41851d5cc60ca631a74dc144d7b4f86298
Wim Looman
2020-12-29T14:36:46
Use ReaderStream to convert from IO to Stream<Bytes>
diff --git a/Cargo.toml b/Cargo.toml index 7817870..b451572 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -66,9 +66,9 @@ tokio-02 = { package = "tokio", version = "0.2.21", default-features = false, fe tokio-03 = { package = "tokio", version = "0.3.0", default-features = false, features = ["io-util", "stream"] } tokio ...
2
9
12
f0d69901c653afdb79e334b01b1eafffe201c8ad
Wim Looman
2020-12-28T14:20:22
Test that replacements do result in the same thing
diff --git a/src/stream/mod.rs b/src/stream/mod.rs index 0a9d149..9716046 100644 --- a/src/stream/mod.rs +++ b/src/stream/mod.rs @@ -20,7 +20,6 @@ //! use futures::{stream::Stream, TryStreamExt}; //! use std::io::Result; //! -//! //! /// For code that looks like this, choose one of the options below to replace it ...
1
44
1
21f3b0d43bb873110f29cf2426c1a7084b36c3fe
Wim Looman
2020-12-28T13:19:03
Deprecate stream and add migration docs
diff --git a/Cargo.lock b/Cargo.lock index defefcd..8c5de17 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -27,6 +27,7 @@ version = "0.3.7" dependencies = [ "brotli", "bytes 0.5.5", + "bytes 0.6.0", "bytes 1.0.0", "bzip2", "flate2", @@ -34,6 +35,7 @@ dependencies = [ "futures-core", "futures-io", "futures...
9
169
13
9815b89a2728765666d118aa2ed75c0950cb3e8c
Wim Looman
2020-12-24T13:40:05
Satisfy nightly clippy, improve some test code
diff --git a/tests/gzip.rs b/tests/gzip.rs index 25f6e7a..1594986 100644 --- a/tests/gzip.rs +++ b/tests/gzip.rs @@ -1,6 +1,3 @@ -#[allow(unused)] -use std::iter::FromIterator; - #[macro_use] mod utils; @@ -35,7 +32,7 @@ fn gzip_stream_decompress_single_chunk() { let compressed = sync::compress(&[1, 2, 3, 4, 5...
5
145
184
72ef7ad55577aa6bf812d331e84efc48445eff66
Wim Looman
2020-12-24T12:29:18
Bump version to 0.3.7
diff --git a/Cargo.lock b/Cargo.lock index 889fda7..defefcd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -23,7 +23,7 @@ dependencies = [ [[package]] name = "async-compression" -version = "0.3.6" +version = "0.3.7" dependencies = [ "brotli", "bytes 0.5.5", diff --git a/Cargo.toml b/Cargo.toml index 72620bb..f855...
2
2
2
82c1be28cf894b487195f8f1a17cf8d264e22744
Wim Looman
2020-12-24T11:23:43
Dedup io test implementations some more
diff --git a/tests/gzip.rs b/tests/gzip.rs index 66e3ac4..25f6e7a 100644 --- a/tests/gzip.rs +++ b/tests/gzip.rs @@ -13,7 +13,7 @@ use utils::{algos::gzip::sync, InputStream}; use utils::algos::gzip::stream; #[cfg(feature = "futures-io")] -use utils::algos::gzip::futures_io::bufread; +use utils::algos::gzip::future...
7
66
150
5f26726a63dc34c35e5346837b21bfc15631dc33
Wim Looman
2020-12-24T10:08:50
Pre-refactor to make bytes version numbers more explicit
diff --git a/Cargo.toml b/Cargo.toml index 9fcf8de..20ef3c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ all-implementations = ["futures-io", "stream", "tokio-02", "tokio-03"] all-algorithms = ["brotli", "bzip2", "deflate", "gzip", "lzma", "xz", "zlib", "zstd"] # implementations -stream = ["bytes"] +s...
15
72
63
0b3918588b130981facb84559528e9db7ff7773e
Wim Looman
2020-12-24T09:27:41
Dedup proptest io tests
diff --git a/tests/proptest.rs b/tests/proptest.rs index 0f9dfe8..3fe54d9 100644 --- a/tests/proptest.rs +++ b/tests/proptest.rs @@ -18,309 +18,170 @@ fn any_level() -> impl Strategy<Value = Level> { ] } -macro_rules! tests { - ($($name:ident($feat:literal)),* $(,)?) => { - $( - #[cfg(featu...
1
140
279
ce82e680b58424fc98f1faa0e80ae741d8a0599c
Paolo Barbolini
2020-12-24T10:29:36
Update zstd dependencies
diff --git a/Cargo.lock b/Cargo.lock index 5322601..d2bd102 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1228,18 +1228,18 @@ dependencies = [ [[package]] name = "zstd" -version = "0.5.3+zstd.1.4.5" +version = "0.6.0+zstd.1.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01b32eaf7...
4
10
10
4e2ccf0c1bd0f7b2f54a581d89a5996c5b6f8411
Paolo Barbolini
2020-11-13T19:15:13
Bump pin-project-lite to 0.2
diff --git a/Cargo.lock b/Cargo.lock index c9b2875..5322601 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -35,7 +35,7 @@ dependencies = [ "futures-test", "memchr", "ntest", - "pin-project-lite", + "pin-project-lite 0.2.0", "proptest", "proptest-derive", "rand 0.7.3", @@ -522,6 +522,12 @@ version = "0.1.7" so...
2
11
5
c127f060109270ff325f86c60fceab77899b367d
Wim Looman
2020-11-07T21:19:59
Add tests for other quality levels
diff --git a/tests/utils/test_cases.rs b/tests/utils/test_cases.rs index e93bb5d..3de1a27 100644 --- a/tests/utils/test_cases.rs +++ b/tests/utils/test_cases.rs @@ -68,6 +68,29 @@ macro_rules! io_test_cases { assert_eq!(output, input.bytes()); } + #[tes...
1
73
0
ee4987f662f303b22321fe3cf9e4aeae55016b3f
Wim Looman
2020-11-07T21:15:24
Add test for reading into full buffer
diff --git a/tests/utils/algos.rs b/tests/utils/algos.rs index 6e1d41d..674a568 100644 --- a/tests/utils/algos.rs +++ b/tests/utils/algos.rs @@ -26,7 +26,7 @@ macro_rules! algos { #[cfg(feature = "futures-io")] pub mod futures_io { pub mod read { - ...
3
43
6
f013f8710e70781721a5d6226af7679b4116ecdf
CfirTsabari
2020-08-26T06:24:24
Add Examples. Example of zlip tokio write ecnoder and decoder. Example reading zstd from stdin and write gzip to stdout, using tokio Related to Nemo157/async-compression#101
diff --git a/Cargo.lock b/Cargo.lock index d3973e5..c9b2875 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1062,6 +1062,7 @@ dependencies = [ "futures-core", "memchr", "pin-project-lite", + "tokio-macros", ] [[package]] @@ -1076,6 +1077,17 @@ dependencies = [ "pin-project-lite", ] +[[package]] +name = "tok...
4
91
1
936bd4dc695013e3c7f5c910dd3105fe4ed89a52
Wim Looman
2020-11-07T14:00:13
Bump version to 0.3.6
diff --git a/Cargo.lock b/Cargo.lock index dbdad5b..d3973e5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -23,7 +23,7 @@ dependencies = [ [[package]] name = "async-compression" -version = "0.3.5" +version = "0.3.6" dependencies = [ "brotli", "bytes", diff --git a/Cargo.toml b/Cargo.toml index 1bda075..c5b159d 10...
2
2
2
c564e479de9e5b8e22d467efa2f90fbcbbe37f88
Wim Looman
2020-10-18T14:53:27
Define both IO variants test cases together
diff --git a/tests/utils/test_cases.rs b/tests/utils/test_cases.rs index eeccd9b..71b8d24 100644 --- a/tests/utils/test_cases.rs +++ b/tests/utils/test_cases.rs @@ -1,3 +1,404 @@ +macro_rules! io_test_cases { + ($impl:ident, $variant:ident) => { + mod $impl { + mod bufread { + mod co...
1
403
795
d3f145b286244205a0d52d7603ffd811b937552e
Paolo Barbolini
2020-07-11T09:25:12
Upgrade bzip2 to 0.4
diff --git a/Cargo.lock b/Cargo.lock index 4c31da3..2e7f60c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -135,9 +135,9 @@ dependencies = [ [[package]] name = "bzip2" -version = "0.3.3" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42b7c3cbf0fa9c1b82308d57191728ca02...
4
12
14
d7a92d4ebc24707ae38560ecdbef6737d46a6b36
Wim Looman
2020-06-28T13:10:49
Bump version to 0.3.5
diff --git a/Cargo.lock b/Cargo.lock index 4b0e40d..4c31da3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -23,7 +23,7 @@ dependencies = [ [[package]] name = "async-compression" -version = "0.3.4" +version = "0.3.5" dependencies = [ "brotli", "bytes", diff --git a/Cargo.toml b/Cargo.toml index 78c37ba..1bf3d36 10...
2
2
2
87e217b537bf34e9ed3a27e23a7a54cde3cffb9f
Wim Looman
2020-06-28T08:26:21
Fix unused test code in some feature-sets
diff --git a/tests/utils/mod.rs b/tests/utils/mod.rs index 556acd5..98c4e5b 100644 --- a/tests/utils/mod.rs +++ b/tests/utils/mod.rs @@ -2,6 +2,7 @@ #[cfg(any(feature = "tokio-02-bufread", feature = "tokio-02-write"))] mod tokio_02_ext; +#[cfg(any(feature = "futures-write", feature = "tokio-02-write"))] mod track_...
2
5
3
f15700737351f5f963e1caa738d5a4b560db9214
Nemo157
2020-05-15T16:26:12
Bump version to 0.3.4
diff --git a/Cargo.toml b/Cargo.toml index fd07ecc..3676425 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "async-compression" -version = "0.3.3" +version = "0.3.4" authors = ["Wim Looman <wim@nemo157.com>", "Allen Bui <fairingrey@gmail.com>"] edition = "2018" license = "MIT OR Apache-2....
1
1
1
84f83a5e3b9b63b4724c726f829bac2cb4e1762c
Wim Looman
2020-05-15T15:56:17
Fix flushing AsyncWrite decoder too
diff --git a/src/futures/write/generic/decoder.rs b/src/futures/write/generic/decoder.rs index 7edf741..f82f875 100644 --- a/src/futures/write/generic/decoder.rs +++ b/src/futures/write/generic/decoder.rs @@ -151,7 +151,7 @@ impl<W: AsyncWrite, D: Decode> AsyncWrite for Decoder<W, D> { fn poll_flush(mut self: Pi...
1
1
1
bb10705f00ca89880f97c941cd214c34f1dee0a1
Wim Looman
2020-05-15T15:53:39
Add checking of closing the underlying AsyncWrite
diff --git a/tests/utils/mod.rs b/tests/utils/mod.rs index df342a5..f73f8d2 100644 --- a/tests/utils/mod.rs +++ b/tests/utils/mod.rs @@ -1,5 +1,7 @@ #![allow(dead_code, unused_macros)] // Different tests use a different subset of functions +mod track_closed; + use bytes::Bytes; use futures::{ io::AsyncBufRead...
2
76
6
c1f97fa4ef199184c87c65f999ad11789cff9d8f
Grzegorz Nosek
2020-05-15T04:31:12
Call inner writer's poll_flush instead of poll_close
diff --git a/src/futures/write/generic/encoder.rs b/src/futures/write/generic/encoder.rs index 103dd7a..5f79b59 100644 --- a/src/futures/write/generic/encoder.rs +++ b/src/futures/write/generic/encoder.rs @@ -151,7 +151,7 @@ impl<W: AsyncWrite, E: Encode> AsyncWrite for Encoder<W, E> { fn poll_flush(mut self: Pi...
1
1
1
66f98257d41807b7d38ed60a04f2293e78d0ac5b
Wim Looman
2020-05-05T10:24:17
Bump version to 0.3.3
diff --git a/Cargo.toml b/Cargo.toml index a84bba6..fd07ecc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "async-compression" -version = "0.3.2" +version = "0.3.3" authors = ["Wim Looman <wim@nemo157.com>", "Allen Bui <fairingrey@gmail.com>"] edition = "2018" license = "MIT OR Apache-2....
1
1
1
c83d36b7e0d69040ac2a5c694f9a172a85b7df9b
Wim Looman
2020-05-02T08:15:03
Make Level non-exhaustive
diff --git a/src/lib.rs b/src/lib.rs index feaa300..d137cdf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -154,6 +154,7 @@ mod util; use brotli::enc::backward_references::BrotliEncoderParams; /// Level of compression data should be compressed with. +#[non_exhaustive] #[derive(Clone, Copy, Debug)] pub enum Level { ...
1
1
0
45daa7069273d968336eddb78414958f34cd265a
Wim Looman
2020-05-01T16:27:04
Add tests for encoding levels
diff --git a/tests/proptest.rs b/tests/proptest.rs index 16f5a22..f357434 100644 --- a/tests/proptest.rs +++ b/tests/proptest.rs @@ -1,13 +1,31 @@ +use async_compression::Level; + +use ::proptest::{ + arbitrary::any, + prop_oneof, + strategy::{Just, Strategy}, +}; + mod utils; +fn any_level() -> impl Strate...
2
259
102
55ef374c646b18049848b2e0a40b84dba0bcf308
Wim Looman
2020-05-01T15:32:44
Support stream padding in xz format with multiple members
diff --git a/src/codec/xz/decoder.rs b/src/codec/xz/decoder.rs index 8214089..e58a7d9 100644 --- a/src/codec/xz/decoder.rs +++ b/src/codec/xz/decoder.rs @@ -1,22 +1,25 @@ use crate::{codec::Decode, util::PartialBuffer}; -use std::io::Result; +use std::io::{Error, ErrorKind, Result}; #[derive(Debug)] pub struct X...
2
113
1
983ccabb2e8fa57d6bc992cc752bf23a45b8a19a
Wim Looman
2020-05-01T15:07:29
Add test that stream decoder leaves behind any trailer after compressed data
diff --git a/tests/utils/mod.rs b/tests/utils/mod.rs index e0cb3ed..4c1abda 100644 --- a/tests/utils/mod.rs +++ b/tests/utils/mod.rs @@ -830,6 +830,25 @@ macro_rules! test_cases { assert_eq!(output, input); } + #[test] + #[ntest::time...
1
19
0
cf6c523eec459a1d134275c16f33d5b0e9485972
Wim Looman
2020-05-01T15:01:54
Add multi-member support for streams
diff --git a/src/stream/generic/decoder.rs b/src/stream/generic/decoder.rs index 93e4082..9cccb75 100644 --- a/src/stream/generic/decoder.rs +++ b/src/stream/generic/decoder.rs @@ -16,6 +16,7 @@ enum State { Reading, Writing, Flushing, + Next, Done, } @@ -28,6 +29,7 @@ pin_project! { ...
3
79
3
137109e00064bff20ee19f5274e4f44552cd0e82
Wim Looman
2020-05-01T14:36:47
Add multi-member support to new algos
diff --git a/src/codec/lzma/decoder.rs b/src/codec/lzma/decoder.rs index 523a5b0..45eecc1 100644 --- a/src/codec/lzma/decoder.rs +++ b/src/codec/lzma/decoder.rs @@ -16,6 +16,10 @@ impl LzmaDecoder { } impl Decode for LzmaDecoder { + fn reinit(&mut self) -> Result<()> { + self.inner.reinit() + } + ...
4
17
4
94616db14456da873a72490e03ed138b5b5fb711
Wim Looman
2020-02-11T19:08:57
Add support for decoding multi-member compressed streams
diff --git a/src/codec/brotli/decoder.rs b/src/codec/brotli/decoder.rs index e214e5f..392b456 100644 --- a/src/codec/brotli/decoder.rs +++ b/src/codec/brotli/decoder.rs @@ -56,6 +56,15 @@ impl BrotliDecoder { } impl Decode for BrotliDecoder { + fn reinit(&mut self) -> Result<()> { + self.state = BrotliSta...
11
107
13
51802c813cceb4268b4505e543b8aa2bf35cf12c
Luke Seelenbinder
2020-04-21T10:00:44
Clamp precise levels to algorithm's maximum.
diff --git a/src/lib.rs b/src/lib.rs index aae7d56..fe20149 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -165,6 +165,9 @@ pub enum Level { /// Precise quality based on the underlying compression algorithms' /// qualities. The interpretation of this depends on the algorithm chosen /// and the specific impl...
1
6
3
a605a3ab9144b958b9f41a97a4b04d5931ec4b56
Luke Seelenbinder
2020-04-20T11:20:53
Improve documentation of Level::Precise behavior. Co-Authored-By: Nemo157 <wim@nemo157.com>
diff --git a/src/lib.rs b/src/lib.rs index 5baf2fb..aae7d56 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -163,8 +163,8 @@ pub enum Level { /// Default quality of compression defined by the selected compression algorithm. Default, /// Precise quality based on the underlying compression algorithms' - ///...
1
2
2
fc875dc3e01a3ca89687a51b0da07474485137a9
Luke Seelenbinder
2020-04-20T09:01:44
Add Level::Precise to allow precise quality level specification.
diff --git a/src/lib.rs b/src/lib.rs index c1f3f0b..5baf2fb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -162,6 +162,10 @@ pub enum Level { Best, /// Default quality of compression defined by the selected compression algorithm. Default, + /// Precise quality based on the underlying compression algorith...
1
9
0
7910a8fddc91a16d648d7a967daaa55943e834cb
Wim Looman
2020-03-30T09:30:31
Bump version to 0.3.2
diff --git a/Cargo.toml b/Cargo.toml index 73084ac..a84bba6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "async-compression" -version = "0.3.1" +version = "0.3.2" authors = ["Wim Looman <wim@nemo157.com>", "Allen Bui <fairingrey@gmail.com>"] edition = "2018" license = "MIT OR Apache-2....
1
1
1
f4cf94bb933c300476b8cce60c6d2a9571af5fea
Florian Albertz
2020-03-10T16:43:12
Fix tests by disabling flushing for LzmaEncoder
diff --git a/src/codec/lzma/encoder.rs b/src/codec/lzma/encoder.rs index 9f301d2..5441ec2 100644 --- a/src/codec/lzma/encoder.rs +++ b/src/codec/lzma/encoder.rs @@ -26,9 +26,10 @@ impl Encode for LzmaEncoder { fn flush( &mut self, - output: &mut PartialBuffer<impl AsRef<[u8]> + AsMut<[u8]>>, + ...
4
7
6
ca4e4373f5bf975846bf1d95dc5ca2976efa3f3f
Florian Albertz
2020-03-10T11:48:39
Add initial tests for LzmaEncoder
diff --git a/tests/lzma.rs b/tests/lzma.rs new file mode 100644 index 0000000..6c1931f --- /dev/null +++ b/tests/lzma.rs @@ -0,0 +1,4 @@ +#[macro_use] +mod utils; + +test_cases!(lzma); diff --git a/tests/utils/mod.rs b/tests/utils/mod.rs index d9015f3..2b12fd1 100644 --- a/tests/utils/mod.rs +++ b/tests/utils/mod.rs @@...
2
84
0
bec9a7e13414a37f6af84b3bef98501f1c7f2091
Florian Albertz
2020-03-10T11:31:48
Clean up unused code and export LzmaDecoder / LzmaEncoder
diff --git a/src/codec/lzma/decoder.rs b/src/codec/lzma/decoder.rs index 6408ef3..523a5b0 100644 --- a/src/codec/lzma/decoder.rs +++ b/src/codec/lzma/decoder.rs @@ -1,6 +1,5 @@ use crate::{codec::Decode, util::PartialBuffer}; -use std::fmt::{Debug, Formatter, Result as FmtResult}; use std::io::Result; #[derive(D...
6
12
8
5c38248b756acfaa4d0512065a20f038e8d97998
Florian Albertz
2020-03-10T06:30:35
Create Xz2Decoder/-Encoder pair used by the new Xz- and LzmaEncoder/-Decoders
diff --git a/Cargo.toml b/Cargo.toml index db91b46..73084ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ rustdoc-args = ["--cfg", "docsrs"] default = [] all = ["all-implementations", "all-algorithms"] all-implementations = ["futures-bufread", "futures-write", "stream"] -all-algorithms = ["brotli", "bzi...
15
337
134
ecacb95f8429958cc3a838da9b7239c237122a20
Florian Albertz
2020-03-08T17:18:03
add support for lzma
diff --git a/Cargo.toml b/Cargo.toml index 14c93d4..db91b46 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ rustdoc-args = ["--cfg", "docsrs"] default = [] all = ["all-implementations", "all-algorithms"] all-implementations = ["futures-bufread", "futures-write", "stream"] -all-algorithms = ["brotli", "bzi...
10
294
2
a32d1cdee6ba871ef9bf80ebde2099facbffd895
Wim Looman
2020-02-24T19:51:14
Bump version to 0.3.1
diff --git a/Cargo.toml b/Cargo.toml index 6840577..14c93d4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "async-compression" -version = "0.3.0" +version = "0.3.1" authors = ["Wim Looman <wim@nemo157.com>", "Allen Bui <fairingrey@gmail.com>"] edition = "2018" license = "MIT OR Apache-2....
1
1
1
568af4bb61466f259cbf937bfd4ca24984c7cc86
Wim Looman
2020-02-11T18:01:48
Use expected remaining bytes to detect end of zstd frame
diff --git a/src/codec/zstd/decoder.rs b/src/codec/zstd/decoder.rs index c96c37c..161e76a 100644 --- a/src/codec/zstd/decoder.rs +++ b/src/codec/zstd/decoder.rs @@ -28,7 +28,7 @@ impl Decode for ZstdDecoder { .run_on_buffers(input.unwritten(), output.unwritten_mut())?; input.advance(status.bytes_r...
1
1
1
79eb4c28cbb96bd1acb2b8dc4c66d50e697406be
Wim Looman
2020-02-08T18:53:16
Add test that decoder leaves behind any trailer after compressed data
diff --git a/tests/utils/mod.rs b/tests/utils/mod.rs index 82c3b80..dcfca12 100644 --- a/tests/utils/mod.rs +++ b/tests/utils/mod.rs @@ -60,7 +60,7 @@ impl From<Vec<Vec<u8>>> for InputStream { } } -mod prelude { +pub mod prelude { pub use bytes::Bytes; pub use futures::{ executor::{block_on, ...
1
18
1
de0f49baa7e495df056793f4124419ffc9f9c4fa
Wim Looman
2020-02-11T19:32:24
Bump version
diff --git a/Cargo.toml b/Cargo.toml index c4df499..6840577 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "async-compression" -version = "0.2.0" +version = "0.3.0" authors = ["Wim Looman <wim@nemo157.com>", "Allen Bui <fairingrey@gmail.com>"] edition = "2018" license = "MIT OR Apache-2....
1
1
1
62557bf5430de9f0a5deba046d4aee548493a683
daxpedda
2020-02-04T13:58:00
Renamed `Compression` to `Level` and implemented for all algos.
diff --git a/src/lib.rs b/src/lib.rs index 05fb243..d5566af 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -134,9 +134,12 @@ pub mod stream; mod unshared; mod util; +#[cfg(feature = "brotli")] +use brotli::enc::backward_references::BrotliEncoderParams; + /// Level of compression data should be compressed with. #[der...
3
90
132
aba831409feb9c13b6681a2faa2789ecf400e3e2
daxpedda
2020-02-03T16:51:09
Some polish.
diff --git a/src/macros.rs b/src/macros.rs index d61f744..50edfaf 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -32,7 +32,7 @@ macro_rules! algos { } } { /// The `level` argument here is typically 0-11. - pub fn with_quality(reader: $inner, level: crate::Compression) ->...
1
6
6
59e3b118bee03a675cbdb6b42aca3ad4c1329828
daxpedda
2020-02-03T16:32:49
Implement general compression quality enum.
diff --git a/src/codec/brotli/encoder.rs b/src/codec/brotli/encoder.rs index 686ba22..3d69a88 100644 --- a/src/codec/brotli/encoder.rs +++ b/src/codec/brotli/encoder.rs @@ -14,7 +14,7 @@ use brotli::enc::{ }; pub struct BrotliEncoder { - pub(crate) state: BrotliEncoderStateStruct<StandardAlloc>, + state: Brot...
7
151
67
9647451512e5d9fb3392eb0e09f5c39808280d58
daxpedda
2020-01-28T15:47:03
Remove builder system.
diff --git a/src/macros.rs b/src/macros.rs index 8478865..3865496 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -32,9 +32,10 @@ macro_rules! algos { } } { /// The `level` argument here is typically 0-11. - pub fn quality(mut self, level: u8) -> Self { - s...
1
4
3
c459163c60fa448bfb85b31e0dcfcd2498c54734
daxpedda
2020-01-27T15:58:23
Remove `BrotliEncoderParams`.
diff --git a/src/codec/brotli/encoder.rs b/src/codec/brotli/encoder.rs index 3d69a88..686ba22 100644 --- a/src/codec/brotli/encoder.rs +++ b/src/codec/brotli/encoder.rs @@ -14,7 +14,7 @@ use brotli::enc::{ }; pub struct BrotliEncoder { - state: BrotliEncoderStateStruct<StandardAlloc>, + pub(crate) state: Brot...
6
13
20
ea405fcc22d55b63a5252789323520cacc7f21b0
Wim Looman
2020-01-27T14:00:50
Update repository url metadata
diff --git a/Cargo.toml b/Cargo.toml index e8241c3..2ce88d2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" license = "MIT OR Apache-2.0" keywords = ["compression", "gzip", "zstd", "brotli", "async"] categories = ["compression", "asynchronous"] -repository = "https://github.com/rustasync/as...
1
1
1
1348ac6264f7359803e0083ead97c85ac7650264
daxpedda
2020-01-25T11:28:42
Straighten comparison.
diff --git a/src/codec/brotli/encoder.rs b/src/codec/brotli/encoder.rs index c67ffb5..3d69a88 100644 --- a/src/codec/brotli/encoder.rs +++ b/src/codec/brotli/encoder.rs @@ -89,7 +89,7 @@ impl Encode for BrotliEncoder { BrotliEncoderOperation::BROTLI_OPERATION_FINISH, )?; - Ok(BrotliEncode...
1
1
1
1fea095f449ec3b905f19c5f1743541b1bb31a2d
daxpedda
2020-01-25T11:25:58
Clean way to check for finished state.
diff --git a/src/codec/brotli/encoder.rs b/src/codec/brotli/encoder.rs index 03d4e0c..c67ffb5 100644 --- a/src/codec/brotli/encoder.rs +++ b/src/codec/brotli/encoder.rs @@ -7,8 +7,8 @@ use std::{ use brotli::enc::{ backward_references::BrotliEncoderParams, encode::{ - BrotliEncoderCompressStream, Brot...
1
14
13
92429e34d725e9a30eb5be112b470ce2e009f2d7
daxpedda
2020-01-24T17:54:11
Fix doc link.
diff --git a/src/lib.rs b/src/lib.rs index 4ea5f55..ca8b9a7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -141,7 +141,7 @@ pub mod flate2 { pub use flate2::Compression; } -/// Types to configure [`brotli2`](::brotli2) based encoders. +/// Types to configure [`brotli`](::brotli) based encoders. #[cfg(feature = "b...
1
1
1
a244ddd3552f0846b8d1d4d496dec132fd6d8cba
daxpedda
2020-01-24T16:44:52
Replace `brotli2` with `brotli`.
diff --git a/Cargo.toml b/Cargo.toml index e8241c3..5d7d0ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,14 +28,13 @@ futures-write = ["futures-io"] stream = ["bytes"] # algorithms -brotli = ["brotli2"] deflate = ["flate2"] gzip = ["flate2"] zlib = ["flate2"] zstd = ["libzstd", "zstd-safe"] [dependencies]...
6
103
57
48872f4e4d5e75d27cc06c2d4338b1002fb78240
Daiki Mizukami
2019-12-24T02:11:38
Remove trait bounds on type definitions
diff --git a/src/futures/bufread/generic/decoder.rs b/src/futures/bufread/generic/decoder.rs index b875cd5..e13fd97 100644 --- a/src/futures/bufread/generic/decoder.rs +++ b/src/futures/bufread/generic/decoder.rs @@ -18,7 +18,7 @@ enum State { pin_project! { #[derive(Debug)] - pub struct Decoder<R: AsyncBufR...
13
13
13
822b165f13dc563f472edb991ef5299c73d766e7
Steven Fackler
2019-12-05T18:58:39
Upgrade bytes to 0.5 This is a breaking change to the stream interface, but synchronizes the version of Bytes to what the upcoming hyper release is using.
diff --git a/Cargo.toml b/Cargo.toml index 1f97183..f703332 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,7 +39,7 @@ zstd = ["libzstd", "zstd-safe"] [dependencies] brotli2 = { version = "0.3.2", optional = true } -bytes = { version = "0.4.12", optional = true } +bytes = { version = "0.5.0", optional = true } bzi...
3
6
10
0e95520127ac7e98974dcf225c546305d6558f67
Wim Looman
2019-12-09T15:38:04
Remove deprecated features
diff --git a/Cargo.toml b/Cargo.toml index 1f97183..f8a5871 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "async-compression" -version = "0.1.1" +version = "0.2.0" authors = ["Wim Looman <wim@nemo157.com>", "Allen Bui <fairingrey@gmail.com>"] edition = "2018" license = "MIT OR Apache-2....
3
7
26
c308841584fd3a3df73a995eaec8a8aee657a0b8
Wim Looman
2019-12-05T21:07:04
Bump version to 0.1.1
diff --git a/Cargo.toml b/Cargo.toml index 62f31ee..da949b0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "async-compression" -version = "0.1.0" +version = "0.1.1" authors = ["Wim Looman <wim@nemo157.com>", "Allen Bui <fairingrey@gmail.com>"] edition = "2018" license = "MIT OR Apache-2....
1
1
1
ec67081ff2d1c0f485ce289cc9de70ff9397b959
Wim Looman
2019-12-05T19:36:57
Move bufread/write features under futures namespace
diff --git a/Cargo.toml b/Cargo.toml index df9f011..62f31ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,12 +19,14 @@ rustdoc-args = ["--cfg", "docsrs"] # groups default = [] all = ["all-implementations", "all-algorithms"] -all-implementations = ["bufread", "write", "stream"] +all-implementations = ["futures::buf...
19
45
22
81f82a5153072ad7bbc6a73c157c27d859c62b9b
Wim Looman
2019-12-05T19:21:50
Rename bzip back to bzip2, leave deprecated feature in
diff --git a/Cargo.toml b/Cargo.toml index 37414fb..c170d52 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ rustdoc-args = ["--cfg", "docsrs"] default = [] all = ["all-implementations", "all-algorithms"] all-implementations = ["bufread", "write", "stream"] -all-algorithms = ["brotli", "bzip", "deflate", "...
10
18
18
434f69b19df9b99486b45041bfc5d89b4c7c7268
Steven Fackler
2019-12-05T19:05:27
Move to pin-project-lite Closes #60
diff --git a/Cargo.toml b/Cargo.toml index 37414fb..987b7ae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,7 +42,7 @@ bzip2 = { version = "0.3.3" , optional = true } flate2 = { version = "1.0.11", optional = true } futures-core = { version = "0.3.0", default-features = false } futures-io = { version = "0.3.0", defa...
14
128
115
f1b520dd793d7b916d8af85a4c783fc38352029a
Nemo157
2019-11-06T23:08:28
Fix spelling mistake
diff --git a/src/lib.rs b/src/lib.rs index 8e16514..2bd6223 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,8 +15,8 @@ //! Feature | Does //! ---------|------ //! `all` | Activates all implementations and algorithms. -//! `all-implementations` | Activates all implementations, needs to be pared with a selection ...
1
2
2
a0860790e0a854d34c7266603e4185d28e5c14c1
Wim Looman
2019-11-06T19:57:24
Improve algorithm feature documentation
diff --git a/src/lib.rs b/src/lib.rs index 1d93a8e..8e16514 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,6 @@ //! Adaptors between compression crates and Rust's modern asynchronous IO types. //! -//! + //! # Feature Organization //! //! This crate is divided up along two axes, which can each be individually...
1
56
14
d0c296750932fb61d89bc6500cd348ee61fec836
Wim Looman
2019-11-06T19:34:39
Rename bzip2 to bzip in more places
diff --git a/Cargo.toml b/Cargo.toml index 1f8e364..37414fb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -61,8 +61,8 @@ name = "brotli" required-features = ["all-implementations", "brotli"] [[test]] -name = "bzip2" -required-features = ["all-implementations", "bzip2"] +name = "bzip" +required-features = ["all-implem...
4
5
5
9613fc14a0757ac82d8c23fe8ac901015b1b3a9c
Wim Looman
2019-11-06T19:31:57
Disable all features by default
diff --git a/Cargo.toml b/Cargo.toml index e98f6c3..1f8e364 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,10 +16,18 @@ all-features = true rustdoc-args = ["--cfg", "docsrs"] [features] -default = ["bufread", "stream", "write", "brotli", "bzip", "deflate", "gzip", "zlib", "zstd"] +# groups +default = [] +all = ["a...
2
52
12
959c91a6a2aa0a161fdd9cbd3eac9d377ee52afb
Wim Looman
2019-11-06T18:50:29
Bump version to 0.1.0
diff --git a/Cargo.toml b/Cargo.toml index 3e6c836..e98f6c3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "async-compression" -version = "0.1.0-alpha.7" +version = "0.1.0" authors = ["Wim Looman <wim@nemo157.com>", "Allen Bui <fairingrey@gmail.com>"] edition = "2018" license = "MIT OR A...
1
1
1
3ff461f869dbdb87c8d63903a49eb381d857b895
Wim Looman
2019-11-06T18:50:11
Update to futures 0.3
diff --git a/Cargo.toml b/Cargo.toml index 0bade32..3e6c836 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,8 +17,8 @@ rustdoc-args = ["--cfg", "docsrs"] [features] default = ["bufread", "stream", "write", "brotli", "bzip", "deflate", "gzip", "zlib", "zstd"] -bufread = ["futures-io-preview"] -write = ["futures-io-p...
2
11
12