From adbfa1c12257405112445497324938a011db8664 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Fri, 25 Sep 2020 02:06:00 +0200 Subject: Update nitrokey to v0.8.0 This patch updates the nitrokey dependency to version 0.8.0 and applies all breaking changes (Config fields renaming, DeviceWrapper and Model non-exhaustiveness, changed Display implementation for Model). --- src/arg_util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arg_util.rs') diff --git a/src/arg_util.rs b/src/arg_util.rs index b1dd60f..563cfd3 100644 --- a/src/arg_util.rs +++ b/src/arg_util.rs @@ -54,7 +54,7 @@ macro_rules! Command { macro_rules! Enum { ( $(#[$docs:meta])* $name:ident, [ $( $var:ident => $str:expr, ) *] ) => { $(#[$docs])* - #[derive(Clone, Copy, Debug, PartialEq)] + #[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd)] pub enum $name { $( $var, -- cgit v1.2.1