Cargo Features

[dependencies]
keyring = { version = "4.0.0-rc.1", default-features = false, features = ["apple-native", "secret-service", "windows-native", "vendored", "encrypted"] }
default = apple-native, secret-service, windows-native

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

apple-native default

Use the built-in Keychain Services on macOS and iOS

Enables security-framework

Affects keyring::macos, keyring::ios

secret-service default

Use the secret-service on *nix.

Enables dbus-secret-service

Affects keyring::secret_service

windows-native default

Use the built-in credential store on Windows

Enables byteorder and windows-sys

Affects keyring::windows

vendored

Link any external required libraries statically

Enables vendored of optional dbus-secret-service

encrypted

Encrypt values when passing them to/from the keystore, if supported.