You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since rules_rust 0.25 introduced prost/tonic rules it's now theoretically possible to remove the entire proto directory and trivially generate the current proto target with this:
Modulo some toolchain setup/configuration and adjustments to bring turbo-cache in sync with the upstream proto this will give us a net gain of over 6k LoC. Fantastic 😍
There seems to be one bug remaining in 0.25 that prevents us from implementing this and we'll probably have to wait for 0.25.1 or 0.26, but we're getting close:
I'll have to think about this. I find it useful to have the generated proto files at my finger tips sometimes, especially when debugging complicated code.
I'm not saying no, I'm simply questioning the value it will bring at this point.
I very much agree that this is only a good change if it doesn't complicate debugging. I'll send a draft PR when there is a resolution for bazelbuild/rules_rust#2047, but let's drop this if it turns out to be bad dev-UX.
Since
rules_rust
0.25 introduced prost/tonic rules it's now theoretically possible to remove the entireproto
directory and trivially generate the currentproto
target with this:Modulo some toolchain setup/configuration and adjustments to bring turbo-cache in sync with the upstream proto this will give us a net gain of over 6k LoC. Fantastic 😍
There seems to be one bug remaining in 0.25 that prevents us from implementing this and we'll probably have to wait for 0.25.1 or 0.26, but we're getting close:
The text was updated successfully, but these errors were encountered: