1
Fork 0
rust/src/libstd
Alex Crichton ff49733274 std: Stabilize library APIs for 1.5
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 #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)
2015-10-25 09:36:32 -07:00
..
collections Document replacement behavior in some collections 2015-10-22 20:30:42 -04:00
ffi Owned conversions for CString 2015-10-19 01:29:44 -04:00
io std: Stabilize library APIs for 1.5 2015-10-25 09:36:32 -07:00
net std: Implement FromStr for SocketAddrV{4,6} 2015-10-20 11:35:05 -07:00
num std: Stabilize/deprecate features for 1.4 2015-09-11 09:48:48 -07:00
os Make the Metadata struct Clone 2015-10-13 13:06:00 +01:00
prelude Fix the link to Default trait in the prelude docs 2015-10-14 17:31:27 +03:00
rand Use null()/null_mut() instead of 0 as *const T/0 as *mut T 2015-09-03 09:49:50 +03:00
sync std: Stabilize library APIs for 1.5 2015-10-25 09:36:32 -07:00
sys std: Stabilize library APIs for 1.5 2015-10-25 09:36:32 -07:00
thread Clean up thread::spawn 2015-10-18 20:03:09 -04:00
time std: Add issues to all unstable features 2015-08-15 18:09:17 -07:00
ascii.rs std: Add issues to all unstable features 2015-08-15 18:09:17 -07:00
dynamic_lib.rs std: Stabilize library APIs for 1.5 2015-10-25 09:36:32 -07:00
env.rs Clarify the behavior of std::env::home_dir and std::env::temp_dir 2015-10-11 09:46:23 +09:00
error.rs std: Add issues to all unstable features 2015-08-15 18:09:17 -07:00
fs.rs std: Stabilize library APIs for 1.5 2015-10-25 09:36:32 -07:00
lib.rs std: Stabilize library APIs for 1.5 2015-10-25 09:36:32 -07:00
macros.rs Change the first line of the println macro doc 2015-09-25 12:29:47 +01:00
panicking.rs Abort earlier upon multi-panics 2015-09-24 23:52:13 +02:00
path.rs std: Stabilize library APIs for 1.5 2015-10-25 09:36:32 -07:00
primitive_docs.rs Fix typo in docs: usize is unsigned, not signed. 2015-09-30 01:18:23 -03:00
process.rs Rollup merge of #29158 - arcnmx:process-test, r=alexcrichton 2015-10-20 09:43:47 -04:00
rt.rs std: Internalize almost all of std::rt 2015-09-11 11:19:20 -07:00
rtdeps.rs Auto merge of #26741 - alexcrichton:noinline-destructors, r=brson 2015-07-06 19:49:16 +00:00