Cargo Features
[dependencies]
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
somewhere in the dependency tree.default-features = false - 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. These features may have been created by mistake, and this functionality may be removed in the future.
- stoken rsa_stoken?
- keyring keychain
-
Enables keyring ^0
- clipboard copy