-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch switches us from using bincode, which has pretty terrible forwards compatibility properties to using msgpack (I think I did a switch in the previous direction in the past). bincode is faster, but we don't actually care about encoding speed since we are just encoding some tiny baby little headers at the start of a connection. This change also adds a bunch of #[serde(default)] annotations, which should take care of the second half of forwards compatibilty. This means one last protocol version break before hopefully being able to evolve the protocol in a much more civilized manner. I realized I was going to have to add a protocol field for #47, so this should be done first. Fixes #85
- Loading branch information
1 parent
e21c16b
commit 61a6b27
Showing
4 changed files
with
95 additions
and
18 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters