Cargo Features

[dependencies]
keyring = { version = "2.3.3", default-features = false, features = ["platform-all", "platform-linux", "platform-openbsd", "platform-macos", "platform-ios", "platform-windows", "linux-secret-service", "linux-secret-service-rt-async-io-crypto-rust", "linux-secret-service-rt-tokio-crypto-rust", "linux-secret-service-rt-async-io-crypto-openssl", "linux-secret-service-rt-tokio-crypto-openssl", "linux-no-secret-service", "linux-default-keyutils", "windows-test-threading"] }
default = platform-all

The platform-all feature is set by default whenever keyring is added without default-features = false somewhere in the dependency tree.

platform-all default = platform-freebsd, platform-ios, platform-linux, platform-macos, platform-openbsd, platform-windows
platform-linux platform-all = linux-keyutils, linux-secret-service
platform-freebsd platform-openbsd platform-all = linux-secret-service
platform-macos platform-all = security-framework

Affects keyring::macos

platform-ios platform-all = security-framework

Affects keyring::ios

platform-windows platform-all = byteorder, windows-sys

Affects keyring::windows

linux-secret-service platform-freebsd? platform-linux? platform-openbsd? = linux-secret…async-io-crypto-rust
linux-secret-service-rt-async-io-crypto-rust linux-secret-service?

Enables rt-async-io-crypto-rust of secret-service

linux-secret-service-rt-tokio-crypto-rust

Enables rt-tokio-crypto-rust of secret-service

linux-secret-service-rt-async-io-crypto-openssl

Enables rt-async-io-crypto-openssl of secret-service

linux-secret-service-rt-tokio-crypto-openssl

Enables rt-tokio-crypto-openssl of secret-service

linux-no-secret-service = linux-default-keyutils
linux-default-keyutils linux-no-secret-service? = linux-keyutils
windows-test-threading

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.

byteorder win platform-windows?
windows-sys win platform-windows?
linux-keyutils linux linux-default-keyutils? platform-linux?

Affects keyring::keyutils

security-framework mac ios platform-ios? platform-macos?
secret-service openbsd linux freebsd linux-secret…io-crypto-openssl? linux-secret…async-io-crypto-rust? linux-secret…tokio-crypto-openssl? linux-secret…rt-tokio-crypto-rust?

Affects keyring::secret_service, keyring::secret_service, keyring::secret_service