Skip to content

Commit

Permalink
Re-export Rsa since it is a parameter of Session::new() (#27)
Browse files Browse the repository at this point in the history
This is a quality of life improvement, as it allows a library to wrap esp-mbedtls without having to re-import the hal for the Rsa struct.
  • Loading branch information
AnthonyGrondin authored Feb 26, 2024
1 parent f324d11 commit 1589f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp-mbedtls/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub use esp32s2_hal as hal;
#[cfg(feature = "esp32s3")]
pub use esp32s3_hal as hal;

use crate::hal::rsa::Rsa;
pub use crate::hal::rsa::Rsa;

mod compat;

Expand Down

0 comments on commit 1589f72

Please sign in to comment.