Cargo Features

otpcli = { version = "1.0.0", default-features = false, features = ["keychain", "copy", "rsa_stoken"] }
default = copy, keychain

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

keychain default = keyring

Affects otpcli::migrate_secrets_to_keychain

copy default = clipboard

Affects cli::Options.copy_to_clipboard

rsa_stoken = stoken

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

stoken rsa_stoken?
keyring keychain

Enables keyring ^0

clipboard copy