-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjust re-exports #75
Conversation
Digests are not used at this level anymore
Pull Request Test Coverage Report for Build 11921849434Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
use manul::protocol::{ | ||
Artifact, BoxedRound, Deserializer, DirectMessage, EchoBroadcast, EntryPoint, FinalizeOutcome, LocalError, | ||
MessageValidationError, NormalBroadcast, PartyId, Payload, Protocol, ProtocolError, ProtocolMessagePart, | ||
ProtocolValidationError, ReceiveError, Round, RoundId, Serializer, | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about having a prelude
when the code stabilizes a bit that users can *-import, giving them most of the basic types?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Basically protocol
and session
are such preludes already, for two different types of users.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a slight problem if you try to glob-import both, because they share LocalError
and RemoteError
. But a) perhaps they shouldn't (see #25), and b) I can't imagine a case where it would be necessary.
protocol::digest
re-export.digest
andsignature
are now re-exported from the top level instead ofsession
.