fluxion-core 0.8.0

Core traits and types for ordered stream processing
Documentation
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2025 Umberto Gotti <umberto.gotti@umbertogotti.dev>
// Licensed under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0

//! Synchronization primitives that switch between `parking_lot` (std) and `spin` (no_std).

#[cfg(feature = "std")]
pub use parking_lot::Mutex;

#[cfg(not(feature = "std"))]
pub use spin::Mutex;