Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Cleanup proto visibility #193

Merged
merged 2 commits into from
Nov 10, 2021

Conversation

stbuehler
Copy link
Contributor

As preparation for #170 (and I probably need to make more PRs before #170 is ready, and I'd like to base those on this to avoid merge conflicts).

See commit message why this shouldn't be an API break.

- The module `protocol` itself is private at crate level
- Protocol, Response and the Request alias already are only
  `pub(crate)` at the crate level
- There are two `From` implementations involving `Request`; without the
  explicit `Request` typename those should have been inaccessible from
  other crates
- Request and Response are used in `pub` Protocol parts, but Protocol
  itself wasn't accessible from other crates, so this should matter
- Can't see anything else that would have exposed the types so far

-> shouldn't need a version bump
Copy link
Collaborator

@JohnTitor JohnTitor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me.

@JohnTitor JohnTitor merged commit 2364a3b into little-dude:master Nov 10, 2021
@stbuehler stbuehler deleted the cleanup-proto-visibility branch November 10, 2021 18:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants