diff --git a/crates/ctap2-proto/src/authenticator/reset/mod.rs b/crates/ctap2-proto/src/authenticator/reset/mod.rs index 4799666..8d52928 100644 --- a/crates/ctap2-proto/src/authenticator/reset/mod.rs +++ b/crates/ctap2-proto/src/authenticator/reset/mod.rs @@ -1,4 +1,9 @@ +#[cfg(feature = "serde")] +use serde::{Deserialize, Serialize}; + /// Possible errors for the [`Ctap2Device::reset`] command. +#[derive(Debug)] +#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] pub enum Error { /// Returned if the `reset` operation is disabled for the transport used or /// if user precense is explicitly denied.