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
somewhere in the dependency tree.default-features = false - 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
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.