Cargo Features
[dependencies]
authenticator = { version = "0.4.1", default-features = false, features = ["binding-recompile", "crypto_dummy", "crypto_openssl", "crypto_nss", "gecko", "bytes"] }
- default = crypto_nss
-
The
crypto_nss
feature is set by default wheneverauthenticator
is added without
somewhere in the dependency tree.default-features = false - binding-recompile = bindgen
- crypto_dummy
-
Crypto backends
NOTE: These are mutually exclusive, but cargo does not support that.
Selecting more than one will result in a compilation error!
Default: NSS - crypto_openssl = openssl, openssl-sys
- crypto_nss default = nss-gk-api, pkcs11-bindings
- gecko
-
Enables gecko of nss-gk-api
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.
- bytes implicit feature
-
Enables bytes ^0.5
bytes:
Types and traits for working with bytes
- openssl-sys crypto_openssl?
-
Enables openssl-sys
Crypto backends
- openssl crypto_openssl?
- nss-gk-api crypto_nss gecko?
- pkcs11-bindings crypto_nss
- bindgen build binding-recompile?
-
Enables bindgen ^0.58.1