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 whenever webauthn-rs is added without default-features = false somewhere in the dependency tree.

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