Cargo Features

ctap-types has no features set by default.

[dependencies]
ctap-types = { version = "0.3.2", features = ["std", "arbitrary", "get-info-full", "large-blobs", "third-party-payment", "log-warn", "log-error"] }
std arbitrary?
arbitrary = std

implements arbitrary::Arbitrary for requests

Enables arbitrary

get-info-full

enables all fields for ctap2::get_info

Affects get_info::Response.force_pin_change, get_info::Response.min_pin_length, get_info::Response.firmware_version, get_info::Response.max_cred_blob_length, get_info::Response.max_rpids_for_set_min_pin_length, get_info::Response.preferred_platform_uv_attempts, get_info::Response.uv_modality, get_info::Response.certifications, get_info::Response.remaining_discoverable_credentials, get_info::Response.vendor_prototype_config_commands, get_info::Response.attestation_formats, get_info::Response.uv_count_since_last_pin_entry, get_info::Response.long_touch_for_reset, get_info::CtapOptions.ep, get_info::CtapOptions.uv_acfg, get_info::CtapOptions.always_uv

large-blobs

enables support for implementing the large-blobs extension, see src/sizes.rs

Affects sizes::LARGE_BLOB_MAX_FRAGMENT_LENGTH

third-party-payment

Affects credential_management::Response.third_party_payment, get_assertion::ExtensionsInput.third_party_payment, get_assertion::ExtensionsOutput.third_party_payment, make_credential::Extensions.third_party_payment

log-all log-none log-info log-debug log-warn
log-error