Skip to content

Commit

Permalink
Silence sha1-checked warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Jun 21, 2024
1 parent 7abdf97 commit 5ea05bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sha1-checked/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![warn(missing_docs, rust_2018_idioms)]
// TODO: remove after fixing https://github.com/RustCrypto/hashes/issues/594
#![allow(dead_code)]

//! Collision checked Sha1.
//!
Expand Down Expand Up @@ -240,7 +242,6 @@ impl Drop for DetectionState {
impl ZeroizeOnDrop for DetectionState {}

#[cfg(feature = "oid")]
#[cfg_attr(docsrs, doc(cfg(feature = "oid")))]
impl digest::const_oid::AssociatedOid for Sha1 {
const OID: digest::const_oid::ObjectIdentifier = sha1::Sha1Core::OID;
}
Expand Down

0 comments on commit 5ea05bc

Please sign in to comment.