Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update re-exports #47

Merged
merged 2 commits into from
Jun 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion cfdp-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ edition = "2021"
[dependencies]
byteorder = "~1.4"
camino = {version = "~1.1", features=["serde1"]}
crossbeam-channel = "~0.5"
itertools = "~0.10"
log = '~0.4'
num-derive = "0.3"
Expand Down
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
Loading