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

chore: Split prost-types lib.rs into separate modules. #1007

Merged
merged 3 commits into from
Mar 29, 2024

Conversation

gibbz00
Copy link
Contributor

@gibbz00 gibbz00 commented Mar 17, 2024

Protobuf JSON mapping requires a lot of custom serializing for each protobuf type. Continuing to add that logic in a huge lib.rs file would quickly make these things harder to maintain and reason about.

Depends on #1006

caspermeijn

This comment was marked as outdated.

Copy link
Collaborator

@caspermeijn caspermeijn left a comment

Choose a reason for hiding this comment

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

Looks good to me

@gibbz00
Copy link
Contributor Author

gibbz00 commented Mar 29, 2024

Shit, rebased anyway after the LGTM, sorry. Pressed the rebase button on Github, nothing else.

@caspermeijn
Copy link
Collaborator

Shit, rebased anyway after the LGTM, sorry. Pressed the rebase button on Github, nothing else.

No problem. My first reaction was: it needs a rebase. My second reaction was: well, GitHub will do that automatically.

@gibbz00
Copy link
Contributor Author

gibbz00 commented Mar 29, 2024

Hehe. It do be like that sometimes. Thanks 😊

@caspermeijn caspermeijn added this pull request to the merge queue Mar 29, 2024
Merged via the queue into tokio-rs:master with commit 50bab4f Mar 29, 2024
12 checks passed
gibbz00 added a commit to gibbz00/prost that referenced this pull request Mar 29, 2024
* prost-types: Place type implementations in modules.

* prost-types: Extract modules to separate files.

* prost-types: Move tests to the respective modules.
gibbz00 added a commit to gibbz00/prost that referenced this pull request Apr 6, 2024
* prost-types: Place type implementations in modules.

* prost-types: Extract modules to separate files.

* prost-types: Move tests to the respective modules.
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.

2 participants