Skip to main content

polybox/
lib.rs

1//! Message-passing abstractions to make working with channels and actors a more seamless experience.
2//!
3//! See [GitHub](https://github.com/jvdwrf/polybox) for more information.
4
5#[cfg(feature = "flume")]
6mod flume_inbox;
7#[cfg(feature = "tokio")]
8mod tokio_inbox;
9
10pub mod inboxes {
11    #[cfg(feature = "flume")]
12    pub use crate::flume_inbox::FlumeInbox;
13
14    #[cfg(feature = "tokio")]
15    pub use crate::tokio_inbox::TokioInbox;
16}
17
18pub use polybox_codegen::{Interface, Message};
19pub use polybox_core::*;