abi_stable/
external_types.rs

1//! Ffi wrapper for types defined outside the standard library.
2//!
3//! The modules here are named after the crates whose types are being wrapped.
4//!
5
6#[cfg(feature = "crossbeam-channel")]
7#[cfg_attr(feature = "docsrs", doc(cfg(feature = "channels")))]
8pub mod crossbeam_channel;
9
10pub mod parking_lot;
11
12#[cfg(feature = "serde_json")]
13#[cfg_attr(feature = "docsrs", doc(cfg(feature = "serde_json")))]
14pub mod serde_json;
15
16pub use self::parking_lot::{RMutex, ROnce, RRwLock};
17
18#[cfg(feature = "serde_json")]
19pub use self::serde_json::{RawValueBox, RawValueRef};