From 9d3ede2b235aedc3a233370d8791c6af1b7cb5ae Mon Sep 17 00:00:00 2001 From: Anthony Grondin <104731965+AnthonyGrondin@users.noreply.github.com> Date: Fri, 23 Feb 2024 13:19:43 -0500 Subject: [PATCH] Re-export Rsa since it is a parameter of Session::new() 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. --- esp-mbedtls/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp-mbedtls/src/lib.rs b/esp-mbedtls/src/lib.rs index 2be2a37..97a9524 100644 --- a/esp-mbedtls/src/lib.rs +++ b/esp-mbedtls/src/lib.rs @@ -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;