atomic_lend_cell/
lib.rs

1pub mod atomic_counting;
2pub mod flag_based;
3
4// Export the implementation based on the selected feature
5#[cfg(feature = "ref-counting")]
6pub use atomic_counting::*;
7
8#[cfg(feature = "flag-based")]
9pub use flag_based::*;
10
11// If neither feature is explicitly selected, use the default (flag-based)
12#[cfg(all(not(feature = "ref-counting"), not(feature = "flag-based")))]
13pub use flag_based::*;