Cargo Features
[dependencies]
miniz_oxide = { version = "0.8.2", default-features = false, features = ["std", "with-alloc", "rustc-dep-of-std", "simd"] }
- default = with-alloc
-
The
with-alloc
feature is set by default wheneverminiz_oxide
is added without
somewhere in the dependency tree.default-features = false - std
- with-alloc default
-
Affects
inflate::DecompressError
,inflate::decompress_to_vec
,inflate::decompress_to_vec_zlib
,inflate::decompress_to_vec_with_limit
,inflate::decompress_to_vec_zlib_with_limit
,miniz_oxide::deflate
… - rustc-dep-of-std = alloc, compiler_builtins, core
-
Internal feature, only used when building as part of libstd, not part of the stable interface of this crate.
Enables rustc-dep-of-std of adler2
- simd = simd-adler32
-
Affects
shared::update_adler32
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- alloc rustc-dep-of-std?
-
Enables rustc-std-workspace-alloc
- simd-adler32 simd?
- core rustc-dep-of-std?
-
Enables rustc-std-workspace-core
Internal feature, only used when building as part of libstd, not part of the stable interface of this crate.
- compiler_builtins rustc-dep-of-std?