Skip to content

Incompatible with prost >= 0.12.0 #21

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

Open
rumman-cst opened this issue Feb 12, 2025 · 0 comments
Open

Incompatible with prost >= 0.12.0 #21

rumman-cst opened this issue Feb 12, 2025 · 0 comments

Comments

@rumman-cst
Copy link

rumman-cst commented Feb 12, 2025

The demo software compiles properly with prost=0.11.9 but as soon as I bump up the version to 0.12.0 or higher, the code does not compile.

The error is about the ProstMessage trait not being satisfied for the generated proto message.

  = note: the following trait bounds were not satisfied:
            `Ping: ProstMessage`
            which is required by `Prost<Ping>: Format`
note: the trait `ProstMessage` must be implemented

Note that I have verified that the compiled proto file is exactly the same as the one in the demo.

prost-types below 1.13.0 does not derive Copy for protobuf::Timestamp so if it is used in proto files, the code won't compile.

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

No branches or pull requests

1 participant