Cargo Features
[dependencies]
webauthn-rs = { version = "0.5.0", default-features = false, features = ["preview-features", "resident-key-support", "conditional-ui", "attestation", "danger-allow-state-serialisation", "danger-user-presence-only-security-keys"] }
- default = attestation
-
The
attestation
feature is set by default wheneverwebauthn-rs
is added without
somewhere in the dependency tree.default-features = false - preview-features = conditional-ui
- resident-key-support
-
Affects
interface::AttestedResidentKeyRegistration
,interface::AttestedResidentKeyAuthentication
,interface::AttestedResidentKey
… - conditional-ui preview-features?
-
Affects
interface::DiscoverableAuthentication
,interface::DiscoverableKey
… - attestation default
-
Affects
interface::AttestedPasskeyRegistration
,interface::AttestedPasskeyAuthentication
,interface::AttestedPasskey
… - workaround-google-passkey-specific-issues danger-allow-state-serialisation
- danger-credential-internals danger-user-presence-only-security-keys