Cargo Features

[dependencies]
prs-cli = { version = "0.5.1", default-features = false, features = ["alias", "clipboard", "notify", "tomb", "totp", "backend-gpgme", "backend-gnupg-bin", "select-skim", "select-skim-bin", "select-fzf-bin"] }
default = alias, backend-gnupg-bin, clipboard, notify, select-fzf-bin, select-skim, tomb, totp

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

alias default

Regular features

Option (default): alias management (symlink) support

Affects action::alias, remove::find_symlinks_to, matcher::alias, subcmd::alias

clipboard default = base64, copypasta-ext, x11-clipboard

Option (default): clipboard support (copy password to clipboard)

Affects internal::clip, internal::clip_revert, action::copy, totp::copy, internal::clip, internal::clip_revert, matcher::copy, totp::copy, internal::clip, internal::clip_revert, subcmd::copy, totp::copy, util::base64, util::clipboard, internal::totp_recopy, internal::totp_recopy, internal::totp_recopy

notify default = notify-rust

Option (default): notification support (clipboard notifications)

tomb default = bytesize, fs_extra

Option (default): tomb support for password store on Linux

Enables tomb of prs-lib

Affects action::tomb, matcher::tomb, subcmd::tomb, fs::has_swap, util::time, util::tomb

totp default = linkify, qr2term, totp-rs

Option (default): TOTP token support

Affects action::totp, matcher::totp, subcmd::totp, util::totp, internal::totp_recopy, internal::totp_recopy, internal::totp_recopy

backend-gpgme

Pluggable cryptography backends

Option: GnuPG cryptography backend using GPGME

Enables backend-gpgme of prs-lib

backend-gnupg-bin default

Option (default): GnuPG cryptography backend using gpg binary

Enables backend-gnupg-bin of prs-lib

select-skim default = skim

Pluggable interactive selection systems

Option (default): interactive selection with skim (ignored on Windows)

Affects util::select_skim

select-skim-bin

Option: interactive selection with skim binary

Affects util::select_skim_bin

select-fzf-bin default

Option: interactive selection with fzf binary

Affects util::select_fzf_bin

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.

notify-rust notify

Enables notify-rust

Notification support

bytesize tomb

Enables bytesize

Tomb support

fs_extra tomb
totp-rs totp

Enables totp-rs

TOTP support

linkify totp
qr2term totp
base64 clipboard

Enables base64

Clipboard support

copypasta-ext unix not mac android emscripten musl unix not mac android emscripten not musl not unix or mac android emscripten clipboard
skim unix select-skim
x11-clipboard unix not mac android emscripten not musl clipboard

Enables x11-clipboard ^0.7