Cargo Features

[dependencies]
apk-tools-rs = { version = "0.0.0", default-features = false, features = ["completions", "pretty", "miniz-sys", "zlib"] }
default = completions, pretty

These default features are set whenever apk-tools-rs is added without default-features = false somewhere in the dependency tree.

completions default = clap_complete
pretty default = log, pretty_env_logger

Enables color and wrap_help of clap ^3.0.1

miniz-sys

Enables miniz-sys of flate2

flate2:

For backwards compatibility

zlib

Enables zlib of flate2

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.

pretty_env_logger pretty

Enables pretty_env_logger ^0.4.0

clap_complete completions

Enables clap_complete ^3.0.1

log pretty