File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -190,18 +190,6 @@ impl Compression {
190190 ///
191191 /// The integer here is typically on a scale of 0-9 where 0 means "no
192192 /// compression" and 9 means "take as long as you'd like".
193- ///
194- /// ### Backend differences
195- ///
196- /// The [`miniz_oxide`](https://crates.io/crates/miniz_oxide) backend for flate2
197- /// does not support level 0 or `Compression::none()`. Instead it interprets them
198- /// as the default compression level, which is quite slow.
199- /// `Compression::fast()` should be used instead.
200- ///
201- /// `miniz_oxide` also supports a non-compliant compression level 10.
202- /// It is even slower and may result in higher compression, but
203- /// **only miniz_oxide will be able to read the data** compressed with level 10.
204- /// Do **not** use level 10 if you need other software to be able to read it!
205193 pub const fn new ( level : u32 ) -> Compression {
206194 Compression ( level)
207195 }
You can’t perform that action at this time.
0 commit comments