diff --git a/src/bastion/examples/fibonacci_message_handler.rs b/src/bastion/examples/fibonacci_message_handler.rs index 28dd3fd7..e6ca7220 100644 --- a/src/bastion/examples/fibonacci_message_handler.rs +++ b/src/bastion/examples/fibonacci_message_handler.rs @@ -1,4 +1,4 @@ -use bastion::{message::MessageHandler, prelude::*}; +use bastion::prelude::*; use tracing::{error, info}; diff --git a/src/bastion/examples/message_handler_multiple_types.rs b/src/bastion/examples/message_handler_multiple_types.rs index 0f93e09d..44a94136 100644 --- a/src/bastion/examples/message_handler_multiple_types.rs +++ b/src/bastion/examples/message_handler_multiple_types.rs @@ -1,4 +1,3 @@ -use bastion::message::MessageHandler; use bastion::prelude::*; use std::fmt::Debug; use tracing::error; diff --git a/src/bastion/src/lib.rs b/src/bastion/src/lib.rs index a41955a0..61769b80 100644 --- a/src/bastion/src/lib.rs +++ b/src/bastion/src/lib.rs @@ -112,7 +112,7 @@ pub mod prelude { pub use crate::errors::*; #[cfg(not(target_os = "windows"))] pub use crate::io::*; - pub use crate::message::{Answer, AnswerSender, Message, Msg}; + pub use crate::message::{Answer, AnswerSender, Message, MessageHandler, Msg}; pub use crate::msg; pub use crate::path::{BastionPath, BastionPathElement}; #[cfg(feature = "scaling")]