Skip to content

Commit

Permalink
Public Message type (#599)
Browse files Browse the repository at this point in the history
Currently, it's not possible to access `Message` from dependent crates. Fix
it by `pub` using the type.

Signed-off-by: Moritz Hoffmann <antiguru@gmail.com>
  • Loading branch information
antiguru authored Nov 12, 2024
1 parent 5c33a63 commit 0b39e2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timely/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ impl<T: Data + encoding::Data> ExchangeData for T { }
pub struct ReadmeDoctests;

/// A wrapper that indicates a serialization/deserialization strategy.
use encoding::Bincode as Message;
pub use encoding::Bincode as Message;

mod encoding {

Expand Down

0 comments on commit 0b39e2f

Please sign in to comment.