1ac7cb706Sopenharmony_ci//! Unsafe but flexible platform-specific bindings to dynamic library loading facilities.
2ac7cb706Sopenharmony_ci//!
3ac7cb706Sopenharmony_ci//! These modules expose more extensive and powerful bindings to the dynamic
4ac7cb706Sopenharmony_ci//! library loading facilities. Use of these bindings come at the cost of less (in most cases,
5ac7cb706Sopenharmony_ci//! none at all) safety guarantees, which are provided by the top-level bindings.
6ac7cb706Sopenharmony_ci//!
7ac7cb706Sopenharmony_ci//! # Examples
8ac7cb706Sopenharmony_ci//!
9ac7cb706Sopenharmony_ci//! Using these modules will likely involve conditional compilation:
10ac7cb706Sopenharmony_ci//!
11ac7cb706Sopenharmony_ci//! ```ignore
12ac7cb706Sopenharmony_ci//! # extern crate libloading;
13ac7cb706Sopenharmony_ci//! #[cfg(unix)]
14ac7cb706Sopenharmony_ci//! use libloading::os::unix::*;
15ac7cb706Sopenharmony_ci//! #[cfg(windows)]
16ac7cb706Sopenharmony_ci//! use libloading::os::windows::*;
17ac7cb706Sopenharmony_ci//! ```
18ac7cb706Sopenharmony_ci
19ac7cb706Sopenharmony_ci/// UNIX implementation of dynamic library loading.
20ac7cb706Sopenharmony_ci#[cfg(any(unix, libloading_docs))]
21ac7cb706Sopenharmony_ci#[cfg_attr(libloading_docs, doc(cfg(unix)))]
22ac7cb706Sopenharmony_cipub mod unix;
23ac7cb706Sopenharmony_ci
24ac7cb706Sopenharmony_ci/// Windows implementation of dynamic library loading.
25ac7cb706Sopenharmony_ci#[cfg(any(windows, libloading_docs))]
26ac7cb706Sopenharmony_ci#[cfg_attr(libloading_docs, doc(cfg(windows)))]
27ac7cb706Sopenharmony_cipub mod windows;
28