From 1736efc228f114d92c01ead80b7d449cbc19afc9 Mon Sep 17 00:00:00 2001 From: Matthew Kolopanis Date: Thu, 29 Jun 2023 14:16:06 -0700 Subject: [PATCH] update re-exports on channels --- cfdp-core/src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cfdp-core/src/lib.rs b/cfdp-core/src/lib.rs index 2d89678..cfbdbd0 100644 --- a/cfdp-core/src/lib.rs +++ b/cfdp-core/src/lib.rs @@ -6,7 +6,10 @@ pub(crate) mod timer; pub mod transaction; pub mod transport; // Re-exported for convenience -pub use crossbeam_channel::{bounded, unbounded, Receiver, Sender, TryRecvError}; +pub use tokio::sync::{ + mpsc::{channel, Receiver, Sender}, + oneshot, +}; // this import is necessary for the template macro in rstest_reuse as of v0.5.0 #[cfg(test)]