Skip to content

Commit 59fa85b

Browse files
committed
rename protocol::serialization to boxed_format
1 parent 309f98e commit 59fa85b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

manul/src/protocol.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@ to be executed by a [`Session`](`crate::session::Session`).
1111
For more details, see the documentation of the mentioned traits.
1212
*/
1313

14+
mod boxed_format;
1415
mod boxed_round;
1516
mod errors;
1617
mod message;
1718
mod round;
1819
mod round_id;
19-
mod serialization;
2020

21+
pub use boxed_format::BoxedFormat;
2122
pub use boxed_round::BoxedRound;
2223
pub use errors::{
2324
DeserializationError, DirectMessageError, EchoBroadcastError, LocalError, MessageValidationError,
@@ -29,7 +30,6 @@ pub use round::{
2930
Payload, Protocol, ProtocolError, RequiredMessageParts, RequiredMessages, Round,
3031
};
3132
pub use round_id::{RoundId, TransitionInfo};
32-
pub use serialization::BoxedFormat;
3333

3434
pub(crate) use errors::ReceiveErrorType;
3535
pub(crate) use message::ProtocolMessagePartHashable;

manul/src/protocol/round.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ use rand_core::CryptoRngCore;
1212
use serde::{Deserialize, Serialize};
1313

1414
use super::{
15+
boxed_format::BoxedFormat,
1516
boxed_round::BoxedRound,
1617
errors::{LocalError, MessageValidationError, ProtocolValidationError, ReceiveError},
1718
message::{DirectMessage, EchoBroadcast, NormalBroadcast, ProtocolMessage, ProtocolMessagePart},
1819
round_id::{RoundId, TransitionInfo},
19-
serialization::BoxedFormat,
2020
};
2121

2222
/// Describes what other parties this rounds sends messages to, and what other parties it expects messages from.

0 commit comments

Comments
 (0)