Skip to content

Commit 3a374a3

Browse files
authored
Remove opaque-debug dependencies (#233)
1 parent 2e85d00 commit 3a374a3

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

Cargo.lock

Lines changed: 0 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

poly1305/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ rust-version = "1.85"
1313
edition = "2024"
1414

1515
[dependencies]
16-
opaque-debug = "0.3"
1716
universal-hash = { version = "0.6.0-rc.0", default-features = false }
1817
zeroize = { version = "1", optional = true, default-features = false }
1918

poly1305/src/lib.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
pub use universal_hash;
1010

11+
use core::fmt::{self, Debug};
1112
use universal_hash::{
1213
KeyInit, UhfClosure, UniversalHash,
1314
consts::{U16, U32},
@@ -112,7 +113,11 @@ impl Poly1305 {
112113
}
113114
}
114115

115-
opaque_debug::implement!(Poly1305);
116+
impl Debug for Poly1305 {
117+
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
118+
f.debug_struct("Poly1305").finish_non_exhaustive()
119+
}
120+
}
116121

117122
#[cfg(all(
118123
any(target_arch = "x86", target_arch = "x86_64"),

polyval/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ edition = "2024"
1717

1818
[dependencies]
1919
cfg-if = "1"
20-
opaque-debug = "0.3"
2120
universal-hash = { version = "0.6.0-rc.0", default-features = false }
2221
zeroize = { version = "1", optional = true, default-features = false }
2322

0 commit comments

Comments
 (0)