Cargo Features
[dependencies]
rpm = { version = "0.15.1", default-features = false, features = ["signature-pgp", "signature-meta", "test-with-podman"] }
- default = signature-pgp
-
The
signature-pgp
feature is set by default wheneverrpm
is added without
somewhere in the dependency tree.default-features = false - 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
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.
- pgp signature-pgp
-
Enables pgp ^0.13.0
- chrono signature-pgp