Cargo Features
[dependencies]
warcat = { version = "0.3.2", default-features = false, features = ["zstd", "bin"] }
- default = zstd
-
The
zstd
feature is set by default wheneverwarcat
is added without
somewhere in the dependency tree.default-features = false - zstd default
-
Enables support for Zstandard and related APIs.
zstd is optional because the crate relies on a C library that might not be fully portable.Enables zstd
- bin
-
FIXME: blake3: a way to provide a "blake3-opt" feature to enable compiling native code. The crate misuses the "pure" feature as a subtractive feature and defaults to compiling. This is undesirable as it can only check whether a compiler is supported, not whether it is installed.
This feature is intended to be used only for building the binary (main.rs)Enables takecrate, tempfile, and tracing-subscriber, derive of serde and anyhow, clap, clap-markdown, and indicatif
anyhow:
Dependencies for the binary, enabled by "bin" feature:
Affects
warcat::app
…Required by the binary