Cargo Features
[dependencies]
webauthn_rp = { version = "0.2.0", default-features = false, features = ["bin", "custom", "serde", "serde_relaxed", "serializable_server_state"] }
FEATURES
- default = bin, serde
-
These default features are set whenever
webauthn_rp
is added without
somewhere in the dependency tree.default-features = false - bin default serializable_server_state?
-
Provide binary (de)serialization for persistent data.
Affects
webauthn_rp::bin
,register::bin
,register::bin
,response::bin
… - custom
-
Provide constructors for types that ideally are constructed indirectly via the bin and serde features.
- serde default serde_relaxed?
-
Provide client (de)serialization based on JSON-motivated data structures.
Enables serde, alloc of data-encoding
- serde_relaxed = serde
-
Provide "relaxed" JSON deserialization implementations.
Enables serde_json
Affects
auth::AuthenticationVerificationOptions.client_data_json_relaxed
,register::RegistrationVerificationOptions.client_data_json_relaxed
,auth::ser_relaxed
,register::ser_relaxed
,response::ser_relaxed
… - serializable_server_state = bin
-
Provide binary (de)serialization for RegistrationServerState and AuthenticationServerState to avoid the use of in-memory collections for ceremony completion.
Affects
auth::ser_server_state
,register::ser_server_state
,request::ServerState.expiration
…