reth_primitives_traits/
sync.rs

1
2
3
4
5
6
7
8
9
//! Lock synchronization primitives

use once_cell as _;

#[cfg(not(feature = "std"))]
pub use once_cell::sync::{Lazy as LazyLock, OnceCell as OnceLock};

#[cfg(feature = "std")]
pub use std::sync::{LazyLock, OnceLock};