Skip to content
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

Hide SerializedDependency #2201

Merged
merged 2 commits into from
Dec 8, 2015
Merged

Hide SerializedDependency #2201

merged 2 commits into from
Dec 8, 2015

Conversation

matklad
Copy link
Member

@matklad matklad commented Dec 7, 2015

This hides SerializedDependency from general public, as requested here. It also hides SerializedManifest which was (wrongly?) exposed.

This is required for #2196. I want to move in small steps this time, hence the separate PR.

Technically this break backwards compatibility, because SerializedDependency and SerializedManifest were public (SerializedPackage was private however). Are such changes allowed in cargo?

SerializedDependency can be a private implementation detail now.
@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @wycats (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@matklad matklad changed the title Serialized dep Hide SerializedDependency Dec 7, 2015
@matklad
Copy link
Member Author

matklad commented Dec 7, 2015

Ok, quick GitHub search says that Serialized(Dependency|Manifest) are used only by cargo.

@alexcrichton
Copy link
Member

@bors: r+ a42422d

Thanks!

@bors
Copy link
Collaborator

bors commented Dec 8, 2015

⌛ Testing commit a42422d with merge fcff230...

bors added a commit that referenced this pull request Dec 8, 2015
This hides `SerializedDependency` from general public, as requested [here](#1434 (comment)). It also hides `SerializedManifest` which was (wrongly?) exposed.

This is required for #2196. I want to move in small steps this time, hence the separate PR.

Technically this break backwards compatibility, because `SerializedDependency` and `SerializedManifest` were public (`SerializedPackage` was private however). Are such changes allowed in cargo?
@bors
Copy link
Collaborator

bors commented Dec 8, 2015

@bors bors merged commit a42422d into rust-lang:master Dec 8, 2015
@matklad matklad deleted the serialized-dep branch June 9, 2016 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants