<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/fs.rs, branch 1.6.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.6.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.6.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2015-12-05T23:09:44+00:00</updated>
<entry>
<title>std: Stabilize APIs for the 1.6 release</title>
<updated>2015-12-05T23:09:44+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-12-03T01:31:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=464cdff102993ff1900eebbf65209e0a3c0be0d5'/>
<id>urn:sha1:464cdff102993ff1900eebbf65209e0a3c0be0d5</id>
<content type='text'>
This commit is the standard API stabilization commit for the 1.6 release cycle.
The list of issues and APIs below have all been through their cycle-long FCP and
the libs team decisions are listed below

Stabilized APIs

* `Read::read_exact`
* `ErrorKind::UnexpectedEof` (renamed from `UnexpectedEOF`)
* libcore -- this was a bit of a nuanced stabilization, the crate itself is now
  marked as `#[stable]` and the methods appearing via traits for primitives like
  `char` and `str` are now also marked as stable. Note that the extension traits
  themeselves are marked as unstable as they're imported via the prelude. The
  `try!` macro was also moved from the standard library into libcore to have the
  same interface. Otherwise the functions all have copied stability from the
  standard library now.
* The `#![no_std]` attribute
* `fs::DirBuilder`
* `fs::DirBuilder::new`
* `fs::DirBuilder::recursive`
* `fs::DirBuilder::create`
* `os::unix::fs::DirBuilderExt`
* `os::unix::fs::DirBuilderExt::mode`
* `vec::Drain`
* `vec::Vec::drain`
* `string::Drain`
* `string::String::drain`
* `vec_deque::Drain`
* `vec_deque::VecDeque::drain`
* `collections::hash_map::Drain`
* `collections::hash_map::HashMap::drain`
* `collections::hash_set::Drain`
* `collections::hash_set::HashSet::drain`
* `collections::binary_heap::Drain`
* `collections::binary_heap::BinaryHeap::drain`
* `Vec::extend_from_slice` (renamed from `push_all`)
* `Mutex::get_mut`
* `Mutex::into_inner`
* `RwLock::get_mut`
* `RwLock::into_inner`
* `Iterator::min_by_key` (renamed from `min_by`)
* `Iterator::max_by_key` (renamed from `max_by`)

Deprecated APIs

* `ErrorKind::UnexpectedEOF` (renamed to `UnexpectedEof`)
* `OsString::from_bytes`
* `OsStr::to_cstring`
* `OsStr::to_bytes`
* `fs::walk_dir` and `fs::WalkDir`
* `path::Components::peek`
* `slice::bytes::MutableByteVector`
* `slice::bytes::copy_memory`
* `Vec::push_all` (renamed to `extend_from_slice`)
* `Duration::span`
* `IpAddr`
* `SocketAddr::ip`
* `Read::tee`
* `io::Tee`
* `Write::broadcast`
* `io::Broadcast`
* `Iterator::min_by` (renamed to `min_by_key`)
* `Iterator::max_by` (renamed to `max_by_key`)
* `net::lookup_addr`

New APIs (still unstable)

* `&lt;[T]&gt;::sort_by_key` (added to mirror `min_by_key`)

Closes #27585
Closes #27704
Closes #27707
Closes #27710
Closes #27711
Closes #27727
Closes #27740
Closes #27744
Closes #27799
Closes #27801
cc #27801 (doesn't close as `Chars` is still unstable)
Closes #28968
</content>
</entry>
<entry>
<title>doc: add example for std::fs::DirBuilder</title>
<updated>2015-12-03T21:40:26+00:00</updated>
<author>
<name>Tshepang Lekhonkhobe</name>
<email>tshepang@gmail.com</email>
</author>
<published>2015-12-03T19:50:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=446307012696723739a8022111ca450df4fffb61'/>
<id>urn:sha1:446307012696723739a8022111ca450df4fffb61</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename #[deprecated] to #[rustc_deprecated]</title>
<updated>2015-11-20T13:11:20+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2015-11-20T13:11:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a613059e3fcfb751f7664f67a4a6c99faf436483'/>
<id>urn:sha1:a613059e3fcfb751f7664f67a4a6c99faf436483</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add missing annotations and some tests</title>
<updated>2015-11-17T22:24:21+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2015-11-16T16:54:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7e2ffc7090a70fe8c77a0e03fcec3cb1387141f2'/>
<id>urn:sha1:7e2ffc7090a70fe8c77a0e03fcec3cb1387141f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #29755 - mbrubeck:stat-doc, r=steveklabnik</title>
<updated>2015-11-11T11:09:43+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2015-11-11T11:09:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7d3477ce094de69823006d0a2ca147b970eee2e2'/>
<id>urn:sha1:7d3477ce094de69823006d0a2ca147b970eee2e2</id>
<content type='text'>
Moved from #29753. r? @steveklabnik
</content>
</entry>
<entry>
<title>[docs] Update references to renamed fs::stat function</title>
<updated>2015-11-10T19:17:26+00:00</updated>
<author>
<name>Matt Brubeck</name>
<email>mbrubeck@limpet.net</email>
</author>
<published>2015-11-10T19:17:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=adbd38d85bea555bfe0434e489088a8b06445522'/>
<id>urn:sha1:adbd38d85bea555bfe0434e489088a8b06445522</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #29643 - petrochenkov:stability5, r=alexcrichton</title>
<updated>2015-11-06T14:57:41+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2015-11-06T14:57:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2143a9ff9a4b93b1b4bf2815b6ca828cc630c863'/>
<id>urn:sha1:2143a9ff9a4b93b1b4bf2815b6ca828cc630c863</id>
<content type='text'>
Also remove `stable` stability annotations from inherent impls

(There will be a warning for useless stability annotations soon.)

r? @Gankro
</content>
</entry>
<entry>
<title>Remove stability annotations from trait impl items</title>
<updated>2015-11-05T21:13:46+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2015-11-05T21:13:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2ef07f05192c98c7441977420efde6730d730b25'/>
<id>urn:sha1:2ef07f05192c98c7441977420efde6730d730b25</id>
<content type='text'>
Remove `stable` stability annotations from inherent impls
</content>
</entry>
<entry>
<title>remove excess string allocation</title>
<updated>2015-11-05T14:30:34+00:00</updated>
<author>
<name>Steve Klabnik</name>
<email>steve@steveklabnik.com</email>
</author>
<published>2015-11-05T14:30:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=63576c23e41092ae16c57e15977bf10e72327799'/>
<id>urn:sha1:63576c23e41092ae16c57e15977bf10e72327799</id>
<content type='text'>
&amp;format!("...") is the same as "" if we're not doing any interpolation,
and doesn't allocate an intermediate String.
</content>
</entry>
<entry>
<title>std: Stabilize library APIs for 1.5</title>
<updated>2015-10-25T16:36:32+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-10-22T23:28:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ff49733274f4af79362f9f9aaf16fb6032b2a06d'/>
<id>urn:sha1:ff49733274f4af79362f9f9aaf16fb6032b2a06d</id>
<content type='text'>
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}`
* `&lt;[T]&gt;::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)
</content>
</entry>
</feed>
