Uh oh!
There was an error while loading. Please reload this page.
std: Stabilize library APIs for 1.5 - #29254
Merged
Merged
Conversation
rust-highfive
commented
Oct 23, 2015
Contributor
r? @aturon (rust_highfive has picked a reviewer for you, use r? to override) |
alexcrichton
commented
Oct 23, 2015
MemberAuthor
r? @brson |
alexcrichton
commented
Oct 23, 2015
MemberAuthor
cc @rust-lang/libs, would be good to get lots of eyes on this |
brson
commented
Oct 24, 2015
Contributor
@bors r+ |
bors
commented
Oct 24, 2015
Collaborator
📌 Commit a84f62b has been approved by |
bors
commented
Oct 24, 2015
Collaborator
⌛ Testing commit a84f62b with merge 604a69f... |
bors
commented
Oct 24, 2015
Collaborator
💔 Test failed - auto-mac-64-opt |
alexcrichtonforce-pushed
the
stabilize-1.5
branch
from
October 24, 2015 18:50
a84f62b to
99c0eaaComparealexcrichton
commented
Oct 24, 2015
MemberAuthor
@bors: r=brson 99c0eaab10b753afd0beee9c518cfd2ec1594ddd |
bors
commented
Oct 25, 2015
Collaborator
⌛ Testing commit 99c0eaa with merge abf7a85... |
bors
commented
Oct 25, 2015
Collaborator
💔 Test failed - auto-mac-64-opt |
alexcrichtonforce-pushed
the
stabilize-1.5
branch
from
October 25, 2015 02:22
99c0eaa to
68162b4Comparealexcrichton
commented
Oct 25, 2015
MemberAuthor
@bors: r=brson 68162b4 |
bors
commented
Oct 25, 2015
Collaborator
⌛ Testing commit 68162b4 with merge c9c0627... |
bors
commented
Oct 25, 2015
Collaborator
💔 Test failed - auto-mac-64-opt |
alexcrichtonforce-pushed
the
stabilize-1.5
branch
from
October 25, 2015 04:32
68162b4 to
8cab27eComparealexcrichton
commented
Oct 25, 2015
MemberAuthor
@bors: r=brson 8cab27e |
bors
commented
Oct 25, 2015
Collaborator
⌛ Testing commit 8cab27e with merge 23b37e4... |
bors
commented
Oct 25, 2015
Collaborator
💔 Test failed - auto-linux-64-nopt-t |
This commit stabilizes and deprecates library APIs whose FCP has closed in the
last cycle, specifically:
Stabilized APIs:
* `fs::canonicalize`
* `Path::{metadata, symlink_metadata, canonicalize, read_link, read_dir, exists,
is_file, is_dir}` - all moved to inherent methods from the `PathExt` trait.
* `Formatter::fill`
* `Formatter::width`
* `Formatter::precision`
* `Formatter::sign_plus`
* `Formatter::sign_minus`
* `Formatter::alternate`
* `Formatter::sign_aware_zero_pad`
* `string::ParseError`
* `Utf8Error::valid_up_to`
* `Iterator::{cmp, partial_cmp, eq, ne, lt, le, gt, ge}`
* `<[T]>::split_{first,last}{,_mut}`
* `Condvar::wait_timeout` - note that `wait_timeout_ms` is not yet deprecated
but will be once 1.5 is released.
* `str::{R,}MatchIndices`
* `str::{r,}match_indices`
* `char::from_u32_unchecked`
* `VecDeque::insert`
* `VecDeque::shrink_to_fit`
* `VecDeque::as_slices`
* `VecDeque::as_mut_slices`
* `VecDeque::swap_remove_front` - (renamed from `swap_front_remove`)
* `VecDeque::swap_remove_back` - (renamed from `swap_back_remove`)
* `Vec::resize`
* `str::slice_mut_unchecked`
* `FileTypeExt`
* `FileTypeExt::{is_block_device, is_char_device, is_fifo, is_socket}`
* `BinaryHeap::from` - `from_vec` deprecated in favor of this
* `BinaryHeap::into_vec` - plus a `Into` impl
* `BinaryHeap::into_sorted_vec`
Deprecated APIs
* `slice::ref_slice`
* `slice::mut_ref_slice`
* `iter::{range_inclusive, RangeInclusive}`
* `std::dynamic_lib`
Closesrust-lang#27706Closesrust-lang#27725
cc rust-lang#27726 (align not stabilized yet)
Closesrust-lang#27734Closesrust-lang#27737Closesrust-lang#27742Closesrust-lang#27743Closesrust-lang#27772Closesrust-lang#27774Closesrust-lang#27777Closesrust-lang#27781
cc rust-lang#27788 (a few remaining methods though)
Closesrust-lang#27790Closesrust-lang#27793Closesrust-lang#27796Closesrust-lang#27810
cc rust-lang#28147 (not all parts stabilized)alexcrichtonforce-pushed
the
stabilize-1.5
branch
from
October 25, 2015 16:36
8cab27e to
ff49733Comparealexcrichton
commented
Oct 25, 2015
MemberAuthor
bors
commented
Oct 25, 2015
Collaborator
bors added a commit
that referenced
this pull request
Oct 25, 2015
This commit stabilizes and deprecates library APIs whose FCP has closed in the
last cycle, specifically:
Stabilized APIs:
* `fs::canonicalize`
* `Path::{metadata, symlink_metadata, canonicalize, read_link, read_dir, exists,
is_file, is_dir}` - all moved to inherent methods from the `PathExt` trait.
* `Formatter::fill`
* `Formatter::width`
* `Formatter::precision`
* `Formatter::sign_plus`
* `Formatter::sign_minus`
* `Formatter::alternate`
* `Formatter::sign_aware_zero_pad`
* `string::ParseError`
* `Utf8Error::valid_up_to`
* `Iterator::{cmp, partial_cmp, eq, ne, lt, le, gt, ge}`
* `<[T]>::split_{first,last}{,_mut}`
* `Condvar::wait_timeout` - note that `wait_timeout_ms` is not yet deprecated
but will be once 1.5 is released.
* `str::{R,}MatchIndices`
* `str::{r,}match_indices`
* `char::from_u32_unchecked`
* `VecDeque::insert`
* `VecDeque::shrink_to_fit`
* `VecDeque::as_slices`
* `VecDeque::as_mut_slices`
* `VecDeque::swap_remove_front` - (renamed from `swap_front_remove`)
* `VecDeque::swap_remove_back` - (renamed from `swap_back_remove`)
* `Vec::resize`
* `str::slice_mut_unchecked`
* `FileTypeExt`
* `FileTypeExt::{is_block_device, is_char_device, is_fifo, is_socket}`
* `BinaryHeap::from` - `from_vec` deprecated in favor of this
* `BinaryHeap::into_vec` - plus a `Into` impl
* `BinaryHeap::into_sorted_vec`
Deprecated APIs
* `slice::ref_slice`
* `slice::mut_ref_slice`
* `iter::{range_inclusive, RangeInclusive}`
* `std::dynamic_lib`
Closes#27706Closes#27725
cc #27726 (align not stabilized yet)
Closes#27734Closes#27737Closes#27742Closes#27743Closes#27772Closes#27774Closes#27777Closes#27781
cc #27788 (a few remaining methods though)
Closes#27790Closes#27793Closes#27796Closes#27810
cc #28147 (not all parts stabilized)bors
commented
Oct 25, 2015
Collaborator
This was referenced Oct 25, 2015
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit stabilizes and deprecates library APIs whose FCP has closed in the
last cycle, specifically:
Stabilized APIs:
fs::canonicalizePath::{metadata, symlink_metadata, canonicalize, read_link, read_dir, exists, is_file, is_dir}- all moved to inherent methods from thePathExttrait.Formatter::fillFormatter::widthFormatter::precisionFormatter::sign_plusFormatter::sign_minusFormatter::alternateFormatter::sign_aware_zero_padstring::ParseErrorUtf8Error::valid_up_toIterator::{cmp, partial_cmp, eq, ne, lt, le, gt, ge}<[T]>::split_{first,last}{,_mut}Condvar::wait_timeout- note thatwait_timeout_msis not yet deprecatedbut will be once 1.5 is released.
str::{R,}MatchIndicesstr::{r,}match_indiceschar::from_u32_uncheckedVecDeque::insertVecDeque::shrink_to_fitVecDeque::as_slicesVecDeque::as_mut_slicesVecDeque::swap_remove_front- (renamed fromswap_front_remove)VecDeque::swap_remove_back- (renamed fromswap_back_remove)Vec::resizestr::slice_mut_uncheckedFileTypeExtFileTypeExt::{is_block_device, is_char_device, is_fifo, is_socket}BinaryHeap::from-from_vecdeprecated in favor of thisBinaryHeap::into_vec- plus aIntoimplBinaryHeap::into_sorted_vecDeprecated APIs
slice::ref_sliceslice::mut_ref_sliceiter::{range_inclusive, RangeInclusive}std::dynamic_libCloses#27706
Closes#27725
cc #27726 (align not stabilized yet)
Closes#27734
Closes#27737
Closes#27742
Closes#27743
Closes#27772
Closes#27774
Closes#27777
Closes#27781
cc #27788 (a few remaining methods though)
Closes#27790
Closes#27793
Closes#27796
Closes#27810
cc #28147 (not all parts stabilized)