Skip to content

Commit

Permalink
update re-exports on channels
Browse files Browse the repository at this point in the history
  • Loading branch information
mkolopanis committed Jun 29, 2023
1 parent e435fc1 commit 1736efc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cfdp-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 1736efc

Please sign in to comment.