mirror of
https://github.com/callumio/suck.git
synced 2025-12-17 03:29:21 +00:00
Each provider is enabled via a feature flag. The currently implemented providers are: - std::mpsc - flume - crossbeam_channel
17 lines
339 B
Rust
17 lines
339 B
Rust
pub mod traits;
|
|
|
|
#[cfg(feature = "sync-crossbeam")]
|
|
pub mod crossbeam;
|
|
#[cfg(feature = "sync-flume")]
|
|
pub mod flume;
|
|
#[cfg(feature = "sync-std")]
|
|
pub mod std;
|
|
|
|
#[cfg(feature = "sync-flume")]
|
|
pub use flume::FlumeSuck;
|
|
|
|
#[cfg(feature = "sync-crossbeam")]
|
|
pub use crossbeam::CrossbeamSuck;
|
|
|
|
#[cfg(feature = "sync-std")]
|
|
pub use std::StdSuck;
|