-
Notifications
You must be signed in to change notification settings - Fork 51
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
Packet refactor #9
Conversation
Start modularizing packet move header into its own chunk, include tests Move auto_respond as a class method Move packet into its own file rename "packet" to "message" Rename Response and Request to *Type to free up the names Added request and response, pretty clunky feeling though. How can I refactor this? Better consistency using "message" for the packet inside a Request/Response cleanup `use`s a bit more cleaning Cleanup before pull request Add tests Add response test Cargo fmt
fb7deac
to
57ce239
Compare
@Covertness ready to merge. |
You accidentally removed |
Thanks for the catch. Is there any way to get |
A quick google search shows that the idea have been raised, but not closed: rust-lang/cargo#383 |
The README example has another problem:
|
Made changes, the suggested rustdoc command didn't seem to work for me. I will look into this before adding it to the travis script. See below. Thanks again for the spot.
|
Still planning to add some tests, but please feel free to review. I can also squash the commits once we are ready (I included them in case you wanted to see the steps).