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

Revert deprecation of IpAddr, stabilizing for 1.7 #31438

Merged
merged 1 commit into from
Feb 10, 2016

Conversation

aturon
Copy link
Member

@aturon aturon commented Feb 6, 2016

After considerable pushback, it's clear that there is a community consensus around providing IpAddr in the standard library, together with other APIs using it.

This commit reverts from deprecated status directly to stable. The deprecation landed in 1.6, which has already been released, so the stabilization is marked for 1.7 (currently in beta; will require a backport).

r? @alexcrichton

@alexcrichton
Copy link
Member

r=me, but looks like the build failure on travis is legit (needs a stability attribute for the fields of the enum variants)

@alexcrichton alexcrichton added beta-nominated Nominated for backporting to the compiler in the beta channel. relnotes Marks issues that should be documented in the release notes of the next release. labels Feb 6, 2016
After [considerable
pushback](rust-lang/rfcs#1451), it's clear
that there is a community consensus around providing `IpAddr` in the
standard library, together with other APIs using it.

This commit reverts from deprecated status directly to stable. The
deprecation landed in 1.6, which has already been released, so the
stabilization is marked for 1.7 (currently in beta; will require a backport).
@aturon
Copy link
Member Author

aturon commented Feb 9, 2016

@bors: r=alexcrichton

@bors
Copy link
Contributor

bors commented Feb 9, 2016

📌 Commit 2067c57 has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Feb 10, 2016

⌛ Testing commit 2067c57 with merge 0542745...

bors added a commit that referenced this pull request Feb 10, 2016
After [considerable pushback](rust-lang/rfcs#1451), it's clear that there is a community consensus around providing `IpAddr` in the standard library, together with other APIs using it.

This commit reverts from deprecated status directly to stable. The deprecation landed in 1.6, which has already been released, so the stabilization is marked for 1.7 (currently in beta; will require a backport).

r? @alexcrichton
@bors bors merged commit 2067c57 into rust-lang:master Feb 10, 2016
@alexcrichton alexcrichton added the T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. label Feb 10, 2016
@alexcrichton
Copy link
Member

Accepting for a beta backport (discussed at libs triage today)

@alexcrichton alexcrichton added the beta-accepted Accepted for backporting to the compiler in the beta channel. label Feb 11, 2016
@brson brson removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Feb 11, 2016
bors bot added a commit to nix-rust/nix that referenced this pull request Apr 11, 2019
1043: Uncomment to_std and from_std methods for IpAddr r=asomers a=rabbott99

These were commented out in 2b60633, apparently because `std::net::IpAddr` had been removed from the standard library. However, `IpAddr` has since been re-added to the standard library (rust-lang/rust#23711) and stabilized (rust-lang/rust#31438), so it seems there is no reason to keep them commented out.

Co-authored-by: rabbott99 <rabbott4927@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta-accepted Accepted for backporting to the compiler in the beta channel. relnotes Marks issues that should be documented in the release notes of the next release. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants