-
Notifications
You must be signed in to change notification settings - Fork 440
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
Protobuf Version #302
Comments
I agree that we should bump protobuf, I will look into doing this |
Hi, the proto toolchain used by the repository does not need to be used by downstream dependency. See https://github.com/bazelbuild/rules_rust/tree/master/proto#custom-deps on how to use a custom version of protobuf. That being said, there is no reason to not update if you want to sent a PR :) |
I bumped the protobuf+grpc to newer versions in this PR, which seems to be passing tests: #306 |
#310 bumped protobuf to 2.8.2, but for compatibility with grpc-rust's latest release (0.6.2), I wasn't able to get as close to master as you were hoping @Bergie1994 |
Has anything changed in the last few months? Would the upgrade work now? |
Hey, friendly ping here 😅 |
@UebelAndre You need to look at the grpc-rust crates to see the protobuf compatibility, this was the blocker last time and it is not under our control. |
@damienmg right but how do I identify the compatible version? Are you referring to https://crates.io/crates/grpc ? I can't seem to find any mention of a compatible protobuf version |
Then there's the issue of the author of |
I personally agree that it'd be better to focus on getting the tonic PR working but have heard some folks say they prefer the grpc crate. Either way, I don't think the maintainers have bandwidth to drive changes to the I do think if tonic/prost rules could be written that didn't violate any package boundaries then it would have a higher chance of making it in (not that the current draft does, just saying). It might be easier to start a discussion associated with the draft to make questions are more visible. Anyhow... Hope that information answers some questions 😅 |
Thing is, though, if |
That's a great point. If you'd be willing to submit a PR to update the docs, I'd be happy to review, though I think this is really @dfreese domain 😅 interested to hear their thoughts |
I'd be glad to pick up the Tonic PR mentioned earlier. It's in the last legs and, frankly, just needs a bit more work to get out the door. The main issue seems to be with forcing specific dependencies on users, and I put a few proposed ideas on the PR. Thoughts would be appareciated |
This PR provides documentation of Bazelmod and several code examples that addresses a number of issues related to Bazelmod. Preview of the documentation: https://github.com/marvin-hansen/rules_rust/blob/main/docs/crate_universe_bzlmod.md First and foremost it paves the way for a meaningful update the Bazelmod documentation that references these and existing code examples. This touches at least the following issues: * #2670 * #2181 The compile_opt example addresses or resolves: * #515 * #2701 The musl_cross_compilling example addresses or resolves * #390 * #276 The oci_container does not relate to any open issue, although the tokio example in it gives a nice end to end example so this definitely helps those looking for something non-trivial. The proto example addresses or resolves: * #2668 * #302 * #2534 * Possibly a few more if I were to search longer Formalities * I've signed the CLA * I've signed all commits --------- Signed-off-by: Marvin Hansen <[email protected]> Co-authored-by: Daniel Wagner-Hall <[email protected]>
Hi from the cargo.toml file it looks like this is using protobuf 1.6.0. Is there any way this can be updated? I need some features which have recently been implemented so that I can use the Timestamp type in a proto message declaration. Let me know if you have any advice, thanks!
The text was updated successfully, but these errors were encountered: