Cargo Features

[dependencies]
rpm = { version = "0.16.0", default-features = false, features = ["gzip-compression", "zstd-compression", "xz-compression", "bzip2-compression", "signature-pgp", "signature-meta", "test-with-podman", "zstdmt"] }
default = gzip-compression, signature-pgp, xz-compression, zstd-compression

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

gzip-compression default = flate2
zstd-compression default zstdmt? = zstd
xz-compression default = xz2
bzip2-compression = bzip2
signature-pgp default test-with-podman? = chrono, pgp, signature-meta

Affects signature::pgp

signature-meta signature-pgp
test-with-podman = signature-pgp

Segregate tests that require podman to be installed

zstdmt = zstd-compression

Enables zstdmt of zstd

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.

flate2 gzip-compression
pgp signature-pgp
chrono signature-pgp
zstd zstd-compression zstdmt?
xz2 xz-compression
bzip2 bzip2-compression?

Enables bzip2 ^0.4.4