Skip to content

Remove protobuf generated types from public API#328

Open
sophokles73 wants to merge 1 commit into
eclipse-uprotocol:mainfrom
etas-contrib:remove_protobuf_types_from_public_api
Open

Remove protobuf generated types from public API#328
sophokles73 wants to merge 1 commit into
eclipse-uprotocol:mainfrom
etas-contrib:remove_protobuf_types_from_public_api

Conversation

@sophokles73
Copy link
Copy Markdown
Contributor

Replaced all types that are generated by the protobuf compiler with custom types that do not depend on the protobuf crate. This reduces the public API surface and avoids leaking implementation details.

Also added (Try)From implementations to convert between the protobuf generated types and the custom types.

@sophokles73 sophokles73 requested a review from PLeVasseur May 29, 2026 11:42
@sophokles73 sophokles73 added the enhancement New feature or request label May 29, 2026
@sophokles73 sophokles73 force-pushed the remove_protobuf_types_from_public_api branch from 78ace46 to 908c0d6 Compare May 29, 2026 11:59
Replaced all types that are generated by the protobuf compiler with
custom types that do not depend on the protobuf crate. This reduces the
public API surface and avoids leaking implementation details.

Also added (Try)From implementations to convert between the protobuf
generated types and the custom types.
@sophokles73 sophokles73 force-pushed the remove_protobuf_types_from_public_api branch from 908c0d6 to 50b432d Compare May 29, 2026 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant