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