From 1589f7293898b6a1d49f4c6171495af0a6c4d5c7 Mon Sep 17 00:00:00 2001 From: Anthony Grondin <104731965+AnthonyGrondin@users.noreply.github.com> Date: Mon, 26 Feb 2024 12:06:37 -0500 Subject: [PATCH] Re-export Rsa since it is a parameter of Session::new() (#27) 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;