Cargo Features

[dependencies]
webc = { version = "7.0.0-rc.2", default-features = false, features = ["v1", "v2", "v3", "crypto", "mmap", "flate2", "semver", "tar", "tempfile", "toml"] }
default = v1, v2, v3

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

v1 default

Load WEBC files in the v1 format

Enables base64, ignore, leb128, lexical-sort, path-clean, and rand

Affects webc::v1

v2 default

Load WEBC files in the v2 format

Enables once_cell

Affects webc::v2, webc::migration

v3 default

Load WEBC files in the v3 format

Enables base64 and once_cell

Affects webc::v3, webc::migration

crypto

Sign and verify binaries in v1 webc format

Enables sequoia-openpgp

Affects v1::ParseOptions.key

mmap

No longer used

Features from optional dependencies

flate2 implicit feature
semver implicit feature

Enables semver

semver:

Parser and evaluator for Cargo's flavor of Semantic Versioning

tar implicit feature
tempfile implicit feature

Enables tempfile

tempfile:

A library for managing temporary files and directories

toml implicit feature