#[cfg(all(feature = "parking-lot", feature = "std-lock"))]
compile_error!("features `parking-lot` and `std-lock` are mutually exclusive; enable exactly one");
#[cfg(all(not(feature = "parking-lot"), not(feature = "std-lock")))]
compile_error!("exactly one of the `parking-lot` or `std-lock` features must be enabled");
#[cfg(feature = "parking-lot")]
mod parking_lot;
#[cfg(all(feature = "std-lock", not(feature = "parking-lot")))]
mod std_mutex;
#[cfg(feature = "parking-lot")]
pub(crate) use parking_lot::{SyncLock, SyncLockGuard};
#[cfg(all(feature = "std-lock", not(feature = "parking-lot")))]
pub(crate) use std_mutex::{SyncLock, SyncLockGuard};