Skip to content

chore(build): Make empty client and server modules private #2291

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

Merged
merged 3 commits into from
Jun 18, 2025

Conversation

ADSteele916
Copy link
Contributor

Currently, tonic_build exports the client and server modules, both of which contain only private items. Exporting these modules only serves to clutter up the crate's docs. This PR makes the two modules private.

@ADSteele916 ADSteele916 force-pushed the remove-empty-exports branch from 292dec1 to 7cffad1 Compare June 2, 2025 05:30
@ADSteele916 ADSteele916 changed the base branch from master to next June 2, 2025 05:31
@ADSteele916
Copy link
Contributor Author

What branch should I target? I initially tried master but the semver check failed.

@ADSteele916 ADSteele916 changed the base branch from next to master June 2, 2025 14:37
@ADSteele916 ADSteele916 force-pushed the remove-empty-exports branch 2 times, most recently from 11ebca7 to 292dec1 Compare June 2, 2025 14:42
@tottoto
Copy link
Collaborator

tottoto commented Jun 5, 2025

Sounds reasonable to me. It looks needed to be waited until the next release with breaking changes.

@tottoto tottoto enabled auto-merge (squash) June 18, 2025 13:43
@tottoto tottoto merged commit bb125a5 into hyperium:master Jun 18, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants