Skip to content

Commit

Permalink
Re-export digest for convenience
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyGrondin committed Aug 12, 2024
1 parent 500b73f commit 033d84e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions esp-hal/src/sha.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@

use core::{convert::Infallible, marker::PhantomData};

/// Re-export digest for convenience
#[cfg(feature = "digest")]
pub use digest::Digest;

use crate::{
peripheral::{Peripheral, PeripheralRef},
peripherals::SHA,
Expand Down

0 comments on commit 033d84e

Please sign in to comment.