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

Change casing of ProtoBuf to Protobuf #1595

Merged
merged 3 commits into from
Feb 17, 2023
Merged

Conversation

allan2
Copy link
Contributor

@allan2 allan2 commented Nov 29, 2022

The casing "Protobuf" is canonical. Note the lowercase "b". The protocolbuffers/protobuf repo uses this casing exclusively.

Examples:

This PR replaces all references of "ProtoBuf" to be "Protobuf".

  • 36 substitions in axum-extra/src/protobuf.rs
  • 1 substition in axum-extra/src/lib.rs
  • one untouched casing of "Protobuf" in ECOSYSTEM.md

The casing "Protobuf" is canonical. Note the lowercase "b".
The [protocolbuffers/protobuf](https://github.com/protocolbuffers/protobuf) repo uses this casing exclusively.

Examples:
- [Protobuf.java](https://github.com/protocolbuffers/protobuf/blob/7c308c7d45996e9d890623d80636319b292b84bc/java/core/src/main/java/com/google/protobuf/Protobuf.java#L45)
- [protobuf.rb](https://github.com/protocolbuffers/protobuf/blob/7c308c7d45996e9d890623d80636319b292b84bc/ruby/lib/google/protobuf.rb#L37)

This PR replaces all references of "ProtoBuf" to be "Protobuf".

- 36 substitions in *axum-extra/src/protobuf.rs*
- 1 substition in *axum-extra/src/lib.rs*
- one untouched casing of "Protobuf" in *ECOSYSTEM.md*
@davidpdrsn davidpdrsn added this to the 0.7 milestone Nov 29, 2022
@davidpdrsn
Copy link
Member

Looks good! Though this is a breaking change so has to wait until we ship the next major release of axum-extra. That'll most likely be with axum 0.7.0.

Wanna update the changelog as well?

@davidpdrsn davidpdrsn added breaking change A PR that makes a breaking change. A-axum-extra labels Nov 29, 2022
axum-extra/CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
@davidpdrsn davidpdrsn changed the base branch from main to v0.7.0 February 17, 2023 08:36
Copy link
Member

@davidpdrsn davidpdrsn left a comment

Choose a reason for hiding this comment

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

Thanks! I'll merge this into the 0.7 branch.

@davidpdrsn davidpdrsn merged commit 842f22a into tokio-rs:v0.7.0 Feb 17, 2023
@davidpdrsn
Copy link
Member

Ah wait... It only touched axum-extra so doesn't need to go out with axum 0.7. Guess I'll reopen this PR 😅

davidpdrsn added a commit that referenced this pull request Feb 17, 2023
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-axum-extra breaking change A PR that makes a breaking change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants