Skip to content

Commit

Permalink
messaging re exports serde
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-JB committed Jun 18, 2024
1 parent 1f0cdf2 commit 6e272ba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crates/nevy_messaging/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ use serialize::MessageSerializationPlugin;
pub mod deserialize;
pub mod serialize;

// re export same serde version
pub use serde;

pub mod prelude {
pub use crate::serialize::{
MessageSerializationPlugin, MessageStreamParams, MessageStreamState,
Expand All @@ -18,6 +21,8 @@ pub mod prelude {
};

pub use crate::ProtocolBuilder;

pub use serde::{Deserialize, Serialize};
}

pub struct ProtocolBuilder<C> {
Expand Down

0 comments on commit 6e272ba

Please sign in to comment.