From d93c428c266bcd4f1dfa47a8e6410bcc4ad73b8a Mon Sep 17 00:00:00 2001 From: Daniel Houck Date: Fri, 25 Aug 2023 23:29:56 -0400 Subject: [PATCH] Re-export ffi crate and foreign-types traits --- openssl/src/lib.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openssl/src/lib.rs b/openssl/src/lib.rs index fe29d02293..d4ba3c0498 100644 --- a/openssl/src/lib.rs +++ b/openssl/src/lib.rs @@ -124,6 +124,13 @@ #[doc(inline)] pub use ffi::init; +#[doc(no_inline, alias = "sys", alias = "openssl-sys", alias = "openssl_sys")] +/// Re-export of the `openssl-sys` crate +pub use ffi; +#[doc(no_inline)] +/// Re-export of `ForeignType` traits +pub use foreign_types::{ForeignType, ForeignTypeRef}; + use libc::c_int; use crate::error::ErrorStack;