parent
9d3444f778
commit
fc8bcab0c6
@ -1,2 +1,3 @@
|
||||
/des-0.3.0.crate
|
||||
/des-0.4.0.crate
|
||||
/des-0.6.0.crate
|
||||
|
@ -1,54 +0,0 @@
|
||||
From cb46043221156413192aab8b01b885deb72ff133 Mon Sep 17 00:00:00 2001
|
||||
From: Josh Stone <cuviper@gmail.com>
|
||||
Date: Mon, 20 Jul 2020 14:42:53 -0700
|
||||
Subject: [PATCH] Upgrade to opaque-debug 0.3
|
||||
|
||||
---
|
||||
des/src/des.rs | 2 +-
|
||||
des/src/lib.rs | 3 ---
|
||||
des/src/tdes.rs | 8 ++++----
|
||||
3 files changed, 5 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/des/src/des.rs b/des/src/des.rs
|
||||
index 720c2f71153f..971ad9c22424 100644
|
||||
--- a/src/des.rs
|
||||
+++ b/src/des.rs
|
||||
@@ -209,4 +209,4 @@ impl BlockCipher for Des {
|
||||
}
|
||||
}
|
||||
|
||||
-impl_opaque_debug!(Des);
|
||||
+opaque_debug::implement!(Des);
|
||||
diff --git a/des/src/lib.rs b/des/src/lib.rs
|
||||
index 735babee09f7..270e75f97af8 100644
|
||||
--- a/src/lib.rs
|
||||
+++ b/src/lib.rs
|
||||
@@ -7,9 +7,6 @@
|
||||
#![forbid(unsafe_code)]
|
||||
#![warn(missing_docs, rust_2018_idioms)]
|
||||
|
||||
-#[macro_use]
|
||||
-extern crate opaque_debug;
|
||||
-
|
||||
pub use block_cipher;
|
||||
|
||||
mod consts;
|
||||
diff --git a/des/src/tdes.rs b/des/src/tdes.rs
|
||||
index 5e213a37e03d..ce0d5bc7beb3 100644
|
||||
--- a/src/tdes.rs
|
||||
+++ b/src/tdes.rs
|
||||
@@ -198,7 +198,7 @@ impl BlockCipher for TdesEee2 {
|
||||
}
|
||||
}
|
||||
|
||||
-impl_opaque_debug!(TdesEde3);
|
||||
-impl_opaque_debug!(TdesEee3);
|
||||
-impl_opaque_debug!(TdesEde2);
|
||||
-impl_opaque_debug!(TdesEee2);
|
||||
+opaque_debug::implement!(TdesEde3);
|
||||
+opaque_debug::implement!(TdesEee3);
|
||||
+opaque_debug::implement!(TdesEde2);
|
||||
+opaque_debug::implement!(TdesEee2);
|
||||
--
|
||||
2.26.2
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- des-0.4.0/Cargo.toml 2020-06-08T14:33:24+00:00
|
||||
+++ des-0.4.0/Cargo.toml 2020-07-20T21:45:19.898007+00:00
|
||||
@@ -30,7 +30,7 @@
|
||||
default-features = false
|
||||
|
||||
[dependencies.opaque-debug]
|
||||
-version = "0.2"
|
||||
+version = "0.3"
|
||||
[dev-dependencies.block-cipher]
|
||||
version = "0.7"
|
||||
features = ["dev"]
|
@ -1 +1 @@
|
||||
SHA512 (des-0.4.0.crate) = b7fe89219beb084b946fa787110820a5bde8c5304ef6ab16e6e412717e384e3c002551465b877854bd9d4bb38d609dfb87f4e533c4bd01edb52e0c9fb58d7914
|
||||
SHA512 (des-0.6.0.crate) = 7e4b60b87ca369645e52376d65c5f287972a5e634c9727bd7f68c886da09693d1b0987b2911ec3664f6ddab3ba41a141be985d23bdefe48a9a441e236aec40dd
|
||||
|
Loading…
Reference in new issue