Cargo Features

[dependencies]
hardlight = { version = "2.0.0", default-features = false, features = ["unpure-compression", "quiet", "noisy", "disable-self-signed"] }
unpure-compression

uses zlib-ng instead of miniz_oxide, which is faster but requires a C compiler, so can be a pain to ship in unusual environments

Enables zlib-ng of flate2

quiet default

disables most tracing in release mode

Enables release_max_level_debug of tracing

noisy

enables all tracing

Enables max_level_trace of tracing

disable-self-signed

disables any self-signed features, forcing the use of a CA

Enables disable-self-signed of hardlight-macros

default = quiet

The quiet feature is set by default whenever hardlight is added without default-features = false somewhere in the dependency tree.