-
Notifications
You must be signed in to change notification settings - Fork 2
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
Refactor to decouple ASCII and Meta protocols #69
Merged
Conversation
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
mrattle
force-pushed
the
mrattle/implement-meta-set
branch
from
October 12, 2024 22:08
bbd5c9c
to
477ef91
Compare
mrattle
force-pushed
the
mrattle/implement-meta-set
branch
3 times, most recently
from
October 23, 2024 16:32
efb5ba2
to
1f31e1f
Compare
mrattle
force-pushed
the
mrattle/decouple-ascii-meta-protos
branch
from
October 23, 2024 21:51
7b58d0d
to
24f76a8
Compare
mrattle
force-pushed
the
mrattle/decouple-ascii-meta-protos
branch
2 times, most recently
from
October 23, 2024 22:36
11bfb91
to
7db4f34
Compare
mrattle
changed the title
[WIP] Refactor to decouple ASCII and Meta protocols
Refactor to decouple ASCII and Meta protocols
Oct 23, 2024
mrattle
force-pushed
the
mrattle/decouple-ascii-meta-protos
branch
from
October 24, 2024 10:20
7db4f34
to
0469f4d
Compare
mrattle
force-pushed
the
mrattle/decouple-ascii-meta-protos
branch
from
October 24, 2024 13:54
0469f4d
to
b16eb44
Compare
mrattle
force-pushed
the
mrattle/decouple-ascii-meta-protos
branch
from
October 25, 2024 14:52
2aa3cb2
to
35b5d44
Compare
nickamorim
approved these changes
Oct 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TL;DR - What are you trying to accomplish?
This PR splits the ASCII and Meta protocols into their own separate files. More changes will be made to split tests and benchmarks apart into separate files as well, since those files are also becoming bloated as the crate has expanded.
The
Value
struct has been returns to its original form, from before the meta protocol implementation began. TheMetaValue
struct has been expanded to include all fields and take a flat structure, instead of the nested structure that the initial implementations used. This has allowed for some simplification in other parts of the code that maps meta flags once they're parsed.Details - How are you making this change? What are the effects of this change?
Impl traits on the
Client
for bothAsciiProtocol
andMetaProtocol
allow things to be split apart.