Cargo Features
[dependencies]
sshcerts = { version = "0.13.2", default-features = false, features = ["all", "all-but-fido", "experimental", "encrypted-keys", "wasm_experimental", "fido-support", "fido-support-mozilla", "fido-lite", "rsa-signing", "x509-support", "yubikey-support", "yubikey-lite", "lexical-core"] }
- default = all
-
The
all
feature is set by default wheneversshcerts
is added without
somewhere in the dependency tree.default-features = false - all default = encrypted-keys, fido-support-mozilla, rsa-signing, x509-support, yubikey-support
- all-but-fido = encrypted-keys, rsa-signing, x509-support, yubikey-support
- experimental = encrypted-keys, fido-support-mozilla, rsa-signing, x509-support, yubikey-support
- encrypted-keys all all-but-fido? experimental? = aes, bcrypt-pbkdf, ctr
- wasm_experimental
-
Enables wasm32_unknown_unknown_js of ring
- fido-support = ctap-hid-fido2, fido-lite
-
Full FIDO support pulls in ctap-hid-fido2 with USB dependencies. Use fido-lite if you need to work with fido data, without needing to generate it.
Affects
ctap2_hid::list_fido_devices
,ctap2_hid::device_requires_pin
,ctap2_hid::device_pin_retries
,fido::generate
,fido::signing
,sshcerts::fido
,fido::parsing
,fido::verification
… - fido-support-mozilla all experimental? = authenticator, fido-lite
-
Affects
fido::generate
,fido::signing
,fido::parsing
,fido::verification
… - fido-lite fido-support? fido-support-mozilla? = minicbor, x509-parser
-
Affects
sshcerts::fido
,fido::parsing
,fido::verification
… - rsa-signing all all-but-fido? experimental? = num-bigint, simple_asn1
- x509-support all all-but-fido? experimental? yubikey-lite? = der-parser, x509, x509-parser
-
Affects
sshcerts::x509
… - yubikey-support all all-but-fido? experimental? = rcgen, yubikey, yubikey-lite
-
Affects
yubikey::piv
,sshcerts::yubikey
,sshcerts::x509
,yubikey::verification
… - yubikey-lite yubikey-support? = x509-support
-
Affects
sshcerts::yubikey
,yubikey::verification
…
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.
- simple_asn1 rsa-signing?
-
Enables simple_asn1 ^0.5
Dependencies for rsa-signing
- num-bigint rsa-signing?
- yubikey yubikey-support?
-
Enables yubikey ^0.7
Dependencies for yubikey-support
- lexical-core implicit feature
-
Enables lexical-core
lexical-core:
Lexical, to- and from-string conversion routines
- rcgen yubikey-support?
-
Enables rcgen ^0.11
- x509 x509-support?
- x509-parser fido-lite? x509-support?
-
Enables x509-parser ^0.15
- der-parser x509-support?
-
Enables der-parser ^5
- aes encrypted-keys?
-
Enables aes ^0.7
Dependencies for encrypted-keys
- bcrypt-pbkdf encrypted-keys?
-
Enables bcrypt-pbkdf ^0.6
- ctr encrypted-keys?
-
Enables ctr ^0.8
- minicbor fido-lite?
-
Enables minicbor ^0.13
Dependencies for fido-support-*
- authenticator fido-support-mozilla?
-
Enables authenticator
Dependencies for fido-support-mozilla
- ctap-hid-fido2 fido-support?
-
Enables ctap-hid-fido2
authenticator = { path = "../authenticator-rs", default-features = false, features = [
"crypto_openssl",
], optional = true }
Dependencies for fido-support