Skip to content

feat: add envoy ratelimit server protobufs - #39

Merged
flemosr merged 4 commits into
flemosr:mainfrom
4dawit:add-envoy-rate-limit-server-types
Jun 19, 2026
Merged

feat: add envoy ratelimit server protobufs#39
flemosr merged 4 commits into
flemosr:mainfrom
4dawit:add-envoy-rate-limit-server-types

Conversation

@4dawit

@4dawit 4dawit commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Hello! Thank you for creating this crate, it fits my use case really well. My project has evolved a little to where I'd prefer to configure envoy's rate limit server (https://github.com/envoyproxy/ratelimit) with this crate rather than json/yaml files, so hopefully this contribution is acceptable!

Changes:

  • Added envoyproxy/ratelimit as a submodule under tools/submodules/ratelimit
  • Added a collect_protos() call in proto-collect.rs to copy the proto files
  • Added the corresponding glob patterns and include path in proto-codegen.rs
  • Regenerated envoy-types/src/generated (Some new comments showed up from google.protobuf.rs, don't think I can take it out of types.bin so that's why it's left in my PR)

@flemosr flemosr left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Hey, thanks for this contribution! I reproduced the generated files with the latest stable protoc, and CI is already passing. We just need two small adjustments before merging.

Comment thread tools/src/proto-collect.rs Outdated
Comment thread .gitmodules Outdated
Comment thread tools/src/proto-collect.rs Outdated

@flemosr flemosr left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thanks again!

@flemosr
flemosr merged commit 4b2d551 into flemosr:main Jun 19, 2026
14 checks passed
@4dawit

4dawit commented Jun 19, 2026

Copy link
Copy Markdown
Contributor Author

Thanks again!

Thanks for the quick turnaround!

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