From 03fb2f1eb66556ea13e58f08437e223b43afef3a Mon Sep 17 00:00:00 2001 From: Nick Zana Date: Mon, 22 May 2023 17:41:33 -0400 Subject: [PATCH] fido-common: Derive ordering for credential::Type --- crates/fido-common/src/credential/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/fido-common/src/credential/mod.rs b/crates/fido-common/src/credential/mod.rs index c4d15c1..033a3ea 100644 --- a/crates/fido-common/src/credential/mod.rs +++ b/crates/fido-common/src/credential/mod.rs @@ -9,7 +9,7 @@ use serde::{Deserialize, Serialize}; /// > enumeration are used for versioning the Authentication /// > Assertion and attestation structures according to the type of /// > the authenticator. -#[derive(Debug, Clone, Copy, PartialEq, Eq)] +#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] #[non_exhaustive] pub enum Type {