1 | [package] |
2 | name = "miniz_oxide" |
3 | authors = ["Frommi <daniil.liferenko@gmail.com>" , "oyvindln <oyvindln@users.noreply.github.com>" ] |
4 | version = "0.7.2" |
5 | license = "MIT OR Zlib OR Apache-2.0" |
6 | readme = "Readme.md" |
7 | keywords = ["zlib" , "miniz" , "deflate" , "encoding" ] |
8 | categories = ["compression" ] |
9 | repository = "https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide" |
10 | homepage = "https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide" |
11 | documentation = "https://docs.rs/miniz_oxide" |
12 | description = "DEFLATE compression and decompression library rewritten in Rust based on miniz" |
13 | edition = "2018" |
14 | exclude = ["benches/*" , "tests/*" ] |
15 | |
16 | [lib] |
17 | name = "miniz_oxide" |
18 | |
19 | [dependencies] |
20 | adler = { version = "1.0" , default-features = false } |
21 | simd-adler32 = { version = "0.3" , default-features = false, optional = true } |
22 | |
23 | # Internal feature, only used when building as part of libstd, not part of the |
24 | # stable interface of this crate. |
25 | core = { version = '1.0.0' , optional = true, package = 'rustc-std-workspace-core' } |
26 | alloc = { version = '1.0.0' , optional = true, package = 'rustc-std-workspace-alloc' } |
27 | compiler_builtins = { version = '0.1.2' , optional = true } |
28 | |
29 | [features] |
30 | default = ["with-alloc" ] |
31 | with-alloc = [] |
32 | std = [] |
33 | |
34 | # Internal feature, only used when building as part of libstd, not part of the |
35 | # stable interface of this crate. |
36 | rustc-dep-of-std = ['core' , 'alloc' , 'compiler_builtins' , 'adler/rustc-dep-of-std' ] |
37 | |
38 | simd = ['simd-adler32' ] |
39 | |