Skip to content

Allow renaming generated Prost crate name#3438

Merged
illicitonion merged 2 commits intobazelbuild:mainfrom
purkhusid:prost-crate-name-override
Jun 22, 2025
Merged

Allow renaming generated Prost crate name#3438
illicitonion merged 2 commits intobazelbuild:mainfrom
purkhusid:prost-crate-name-override

Conversation

@purkhusid
Copy link
Copy Markdown
Contributor

What?

Adds crate_name to rust_prost_transform which allows overriding the generated crate name

Why?

This allows the end user to control the name of the generated crates to avoid conflicts.

Closes Prost Crate Naming Conventions #2889

purkhusid added 2 commits May 12, 2025 11:50
## What?
Adds `crate_name` to `rust_prost_transform` which allows overriding the generated crate name

## Why?
This allows the end user to control the name of the generated crates to avoid conflicts.

Closes Prost Crate Naming Conventions bazelbuild#2889
Copy link
Copy Markdown
Collaborator

@illicitonion illicitonion left a comment

Choose a reason for hiding this comment

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

Seems reasonable! Thanks!

@illicitonion illicitonion added this pull request to the merge queue Jun 22, 2025
Merged via the queue into bazelbuild:main with commit 52d3fd8 Jun 22, 2025
3 checks passed
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