Cargo Features
[dependencies]
secret-lib = { version = "0.4.6", default-features = false, features = ["command", "keyring", "keyring-tokio", "keyring-tokio-openssl", "keyring-async-io", "keyring-async-io-openssl", "derive"] }
- default = command, keyring-tokio
-
These default features are set whenever
secret-lib
is added without
somewhere in the dependency tree.default-features = false - command default
-
Enables process-lib
- keyring keyring-async-io? keyring-async-io-openssl? keyring-tokio keyring-tokio-openssl?
- keyring-tokio default = keyring
-
Enables tokio of keyring-lib
- keyring-tokio-openssl = keyring
-
Enables tokio-openssl of keyring-lib
- keyring-async-io = keyring
-
Enables async-io of keyring-lib
- keyring-async-io-openssl = keyring
-
Enables async-io-openssl of keyring-lib
- derive
-
Enables derive of optional keyring-lib, optional process-lib, and serde
serde:
Provide derive(Serialize, Deserialize) macros.
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.