Skip to content

Commit

Permalink
Merge pull request #33 from fjarri/user-serializer
Browse files Browse the repository at this point in the history
Make supplying a serializer the user's responsibility
  • Loading branch information
fjarri authored Oct 30, 2024
2 parents 4d724bb + e1cab5e commit d0c9965
Show file tree
Hide file tree
Showing 23 changed files with 714 additions and 279 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `Artifact::empty()` removed, the user should return `None` instead. ([#46])
- `EchoBroadcast` and `DirectMessage` now use `ProtocolMessagePart` trait for their methods. ([#47])
- Added normal broadcasts support in addition to echo ones; signatures of `Round` methods changed accordingly; added `Round::make_normal_broadcast()`. ([#47])
- Serialization format is a part of `SessionParameters` now; `Round` and `Protocol` methods receive dynamic serializers/deserializers. ([#33])


### Added
Expand All @@ -27,6 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0


[#32]: https://github.com/entropyxyz/manul/pull/32
[#33]: https://github.com/entropyxyz/manul/pull/33
[#36]: https://github.com/entropyxyz/manul/pull/36
[#37]: https://github.com/entropyxyz/manul/pull/37
[#40]: https://github.com/entropyxyz/manul/pull/40
Expand Down
155 changes: 144 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ readme = "README.md"

[dependencies]
manul = { path = "../manul" }
bincode = { version = "2.0.0-rc.3", default-features = false, features = ["alloc", "serde"] }
postcard = { version = "1", features = ["alloc"] }
serde = "1"
sha3 = "0.10"
rand_core = "0.6"
Expand Down
Loading

0 comments on commit d0c9965

Please sign in to comment.