ockam_node 0.76.0

Ockam Node implementation crate
Documentation
#[cfg(feature = "std")]
/// Async Mutex and RwLock
pub mod asynchronous {
    pub use tokio::sync::Mutex;
    pub use tokio::sync::RwLock;
}

/// FutureExt
pub mod futures {
    pub use futures::FutureExt;
}

#[cfg(not(feature = "std"))]
mod mutex;
#[cfg(not(feature = "std"))]
mod rwlock;

/// Async Mutex and RwLock
#[cfg(not(feature = "std"))]
pub mod asynchronous {
    pub use super::mutex::Mutex;
    pub use super::rwlock::RwLock;
}

pub use crate::tokio;