Cargo Features
[dependencies]
prs-lib = { version = "0.5.2", default-features = false, features = ["tomb", "backend-gpgme", "backend-gnupg-bin"] }
- default = backend-gnupg-bin
-
The
backend-gnupg-bin
feature is set by default wheneverprs-lib
is added without
somewhere in the dependency tree.default-features = false - tomb = fs_extra
-
Regular features
Option: tomb support for password store on LinuxAffects
prs-lib::systemd_bin
,prs-lib::tomb
,env::is_wayland
,fs::SUDO_BIN
,fs::dir_size
,fs::copy_dir_contents
… - backend-gpgme = gpgme
-
Pluggable cryptography backends
Option: GnuPG cryptography backend using GPGMEAffects
backend::gpgme
… - backend-gnupg-bin default = regex, shlex, version-compare
-
Option (default): GnuPG cryptography backend using gpg binary
Affects
backend::gnupg_bin
… - _crypto-gpg
-
Private/internal/automatic features
GnuPG (gpg) crypto supportAffects
proto::gpg
…
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.
- fs_extra tomb?
-
Enables fs_extra
Tomb support
- gpgme backend-gpgme?
-
Enables gpgme
Crypto backend: GPGME
- regex backend-gnupg-bin
-
Enables regex
Crypto backend: gnupg binary
- shlex backend-gnupg-bin
- version-compare backend-gnupg-bin