Conversation
Signed-off-by: yjhmelody <yjh465402634@gmail.com>
|
is there any reason why you cannot also depend on prost? exposing these types in the public interface of this crate introduces a worrisome footgun with respect to semantic versioning: updating this crate's version of doing this would mean that this library would need to pin itself to a particular version of there's some discussion about this on the rust forum here: https://users.rust-lang.org/t/semver-behavior-for-dependency-changes/73665/2
|
|
Unless this is recommended by the Rust project, I would prefer not to re-export crates in our public API, for the sake of simplicity. In this particular case especially, as I would prefer to get rid of prost. |
Unless I am missing something, bumping to a breaking version of See e.g. |
belatedly responding to this, but yes! exactly. my point was that re-exporting would expose this property further, i believe we are in agreement about this 🙂 |
The following code is very common:
But we need to import prost crate