Commit b72e6c0
refactor(proto): keep the datasource proto module private
The module holds nothing but `TryFrom` impls, and trait impls are
registered globally by coherence, so they reach every downstream crate
whether or not the module that writes them is reachable by path. `pub`
therefore adds no capability: it only publishes an item-less module page
and a path we would then owe compatibility to.
If a later conversion in this family needs a named helper that `TryFrom`
cannot express (an encode/decode context, per #23494), exporting the
module again is additive.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 8f9a8fe commit b72e6c0
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments