Skip to content

Commit

Permalink
add extern std
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Mar 4, 2024
1 parent e66394e commit 5d10c66
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sha1-checked/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ pub use digest::{self, Digest};

use core::slice::from_ref;

#[cfg(feature = "std")]
extern crate std;

#[cfg(feature = "zeroize")]
use digest::zeroize::{Zeroize, ZeroizeOnDrop};
use digest::{
Expand Down

0 comments on commit 5d10c66

Please sign in to comment.