Skip to content

Add support for injecting rust code into generated prost libraries #2045

@UebelAndre

Description

@UebelAndre

This is a continuation of #2033 (comment)

illicitonion:

I'm imagining this taking the form roughly of a new attribute on rust_*_library along the lines of:

extra_per_package_code = {
  "my.proto.package": "path/to:extra.rs",
}

or something like that? But very open to ideas!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions