Skip to content
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

Move client code used by server code down into proto #1879

Merged
merged 4 commits into from Feb 6, 2023

Conversation

djc
Copy link
Collaborator

@djc djc commented Jan 10, 2023

All the low-level stuff in the client code was quite generic (and in fact used by the server).

As a future improvement, we might move all the networking stuff out of -proto into a trust-dns-net crate maybe? It would be nice if trust-dns-proto was sans-io.

@djc djc requested a review from bluejekyll January 10, 2023 15:06
Copy link
Member

@bluejekyll bluejekyll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. I think it would be good to make the txt parsing portion of the library a default off feature. The resolver generally does not need any of that code, and I think it's enough that it probably makes a difference.

We could call it text-parsing or something like that?

crates/proto/src/serialize/mod.rs Show resolved Hide resolved
@djc djc force-pushed the client-to-proto branch 3 times, most recently from a73907f to 8c7b85d Compare January 11, 2023 08:50
@bluejekyll
Copy link
Member

@djc take a look at my recent changes... I also fixed all the current cleanliness issues, separate commits.

@djc
Copy link
Collaborator Author

djc commented Feb 6, 2023

Sorry for losing sight of this, LGTM (I can't merge it since I'm the author).

@bluejekyll
Copy link
Member

I'm going to rebase and then merge... thanks @djc

@bluejekyll bluejekyll merged commit b5e0b3d into main Feb 6, 2023
@bluejekyll bluejekyll deleted the client-to-proto branch February 6, 2023 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants