Cargo Features

[dependencies]
prs-lib = { version = "0.5.1", default-features = false, features = ["tomb", "backend-gpgme", "backend-gnupg-bin"] }
default = backend-gnupg-bin

The backend-gnupg-bin feature is set by default whenever prs-lib is added without default-features = false somewhere in the dependency tree.

tomb = fs_extra

Regular features

Option: tomb support for password store on Linux

Affects 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 GPGME

Affects 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 support

Affects 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