]> git.lizzy.rs Git - rust.git/blob - RELEASES.md
Rollup merge of #37224 - petrochenkov:nz, r=eddyb
[rust.git] / RELEASES.md
1 Version 1.12.0 (2016-09-29)
2 ===========================
3
4 Highlights
5 ----------
6
7 * [`rustc` translates code to LLVM IR via its own "middle" IR (MIR)]
8   (https://github.com/rust-lang/rust/pull/34096).
9   This translation pass is far simpler than the previous AST->LLVM pass, and
10   creates opportunities to perform new optimizations directly on the MIR. It
11   was previously described [on the Rust blog]
12   (https://blog.rust-lang.org/2016/04/19/MIR.html).
13 * [`rustc` presents a new, more readable error format, along with
14   machine-readable JSON error output for use by IDEs]
15   (https://github.com/rust-lang/rust/pull/35401).
16   Most common editors supporting Rust have been updated to work with it. It was
17   previously described [on the Rust blog]
18   (https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html).
19
20 Compiler
21 --------
22
23 * [`rustc` translates code to LLVM IR via its own "middle" IR (MIR)]
24   (https://github.com/rust-lang/rust/pull/34096).
25   This translation pass is far simpler than the previous AST->LLVM pass, and
26   creates opportunities to perform new optimizations directly on the MIR. It
27   was previously described [on the Rust blog]
28   (https://blog.rust-lang.org/2016/04/19/MIR.html).
29 * [Print the Rust target name, not the LLVM target name, with
30   `--print target-list`]
31   (https://github.com/rust-lang/rust/pull/35489)
32 * [The computation of `TypeId` is correct in some cases where it was previously
33   producing inconsistent results]
34   (https://github.com/rust-lang/rust/pull/35267)
35 * [The `mips-unknown-linux-gnu` target uses hardware floating point by default]
36   (https://github.com/rust-lang/rust/pull/34910)
37 * [The `rustc` arguments, `--print target-cpus`, `--print target-features`,
38   `--print relocation-models`, and `--print code-models` print the available
39   options to the `-C target-cpu`, `-C target-feature`, `-C relocation-model` and
40   `-C code-model` code generation arguments]
41   (https://github.com/rust-lang/rust/pull/34845)
42 * [`rustc` supports three new MUSL targets on ARM: `arm-unknown-linux-musleabi`,
43   `arm-unknown-linux-musleabihf`, and `armv7-unknown-linux-musleabihf`]
44   (https://github.com/rust-lang/rust/pull/35060).
45   These targets produce statically-linked binaries. There are no binary release
46   builds yet though.
47
48 Diagnostics
49 -----------
50
51 * [`rustc` presents a new, more readable error format, along with
52   machine-readable JSON error output for use by IDEs]
53   (https://github.com/rust-lang/rust/pull/35401).
54   Most common editors supporting Rust have been updated to work with it. It was
55   previously described [on the Rust blog]
56   (https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html).
57 * [In error descriptions, references are now described in plain English,
58   instead of as "&-ptr"]
59   (https://github.com/rust-lang/rust/pull/35611)
60 * [In error type descriptions, unknown numeric types are named `{integer}` or
61   `{float}` instead of `_`]
62   (https://github.com/rust-lang/rust/pull/35080)
63 * [`rustc` emits a clearer error when inner attributes follow a doc comment]
64   (https://github.com/rust-lang/rust/pull/34676)
65
66 Language
67 --------
68
69 * [`macro_rules!` invocations can be made within `macro_rules!` invocations]
70   (https://github.com/rust-lang/rust/pull/34925)
71 * [`macro_rules!` meta-variables are hygienic]
72   (https://github.com/rust-lang/rust/pull/35453)
73 * [`macro_rules!` `tt` matchers can be reparsed correctly, making them much more
74   useful]
75   (https://github.com/rust-lang/rust/pull/34908)
76 * [`macro_rules!` `stmt` matchers correctly consume the entire contents when
77   inside non-braces invocations]
78   (https://github.com/rust-lang/rust/pull/34886)
79 * [Semicolons are properly required as statement delimeters inside
80   `macro_rules!` invocations]
81   (https://github.com/rust-lang/rust/pull/34660)
82 * [`cfg_attr` works on `path` attributes]
83   (https://github.com/rust-lang/rust/pull/34546)
84
85 Stabilized APIs
86 ---------------
87
88 * [`Cell::as_ptr`]
89   (https://doc.rust-lang.org/std/cell/struct.Cell.html#method.as_ptr)
90 * [`RefCell::as_ptr`]
91   (https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.as_ptr)
92 * [`IpAddr::is_unspecified`]
93   (https://doc.rust-lang.org/std/net/enum.IpAddr.html#method.is_unspecified)
94 * [`IpAddr::is_loopback`]
95   (https://doc.rust-lang.org/std/net/enum.IpAddr.html#method.is_loopback)
96 * [`IpAddr::is_multicast`]
97   (https://doc.rust-lang.org/std/net/enum.IpAddr.html#method.is_multicast)
98 * [`Ipv4Addr::is_unspecified`]
99   (https://doc.rust-lang.org/std/net/struct.Ipv4Addr.html#method.is_unspecified)
100 * [`Ipv6Addr::octets`]
101   (https://doc.rust-lang.org/std/net/struct.Ipv6Addr.html#method.octets)
102 * [`LinkedList::contains`]
103   (https://doc.rust-lang.org/std/collections/linked_list/struct.LinkedList.html#method.contains)
104 * [`VecDeque::contains`]
105   (https://doc.rust-lang.org/std/collections/vec_deque/struct.VecDeque.html#method.contains)
106 * [`ExitStatusExt::from_raw`]
107   (https://doc.rust-lang.org/std/os/unix/process/trait.ExitStatusExt.html#tymethod.from_raw).
108   Both on Unix and Windows.
109 * [`Receiver::recv_timeout`]
110   (https://doc.rust-lang.org/std/sync/mpsc/struct.Receiver.html#method.recv_timeout)
111 * [`RecvTimeoutError`]
112   (https://doc.rust-lang.org/std/sync/mpsc/enum.RecvTimeoutError.html)
113 * [`BinaryHeap::peek_mut`]
114   (https://doc.rust-lang.org/std/collections/binary_heap/struct.BinaryHeap.html#method.peek_mut)
115 * [`PeekMut`]
116   (https://doc.rust-lang.org/std/collections/binary_heap/struct.PeekMut.html)
117 * [`iter::Product`]
118   (https://doc.rust-lang.org/std/iter/trait.Product.html)
119 * [`iter::Sum`]
120   (https://doc.rust-lang.org/std/iter/trait.Sum.html)
121 * [`OccupiedEntry::remove_entry`]
122   (https://doc.rust-lang.org/std/collections/btree_map/struct.OccupiedEntry.html#method.remove_entry)
123 * [`VacantEntry::into_key`]
124   (https://doc.rust-lang.org/std/collections/btree_map/struct.VacantEntry.html#method.into_key)
125
126 Libraries
127 ---------
128
129 * [The `format!` macro and friends now allow a single argument to be formatted
130   in multiple styles]
131   (https://github.com/rust-lang/rust/pull/33642)
132 * [The lifetime bounds on `[T]::binary_search_by` and
133   `[T]::binary_search_by_key` have been adjusted to be more flexible]
134   (https://github.com/rust-lang/rust/pull/34762)
135 * [`Option` implements `From` for its contained type]
136   (https://github.com/rust-lang/rust/pull/34828)
137 * [`Cell`, `RefCell` and `UnsafeCell` implement `From` for their contained type]
138   (https://github.com/rust-lang/rust/pull/35392)
139 * [`RwLock` panics if the reader count overflows]
140   (https://github.com/rust-lang/rust/pull/35378)
141 * [`vec_deque::Drain`, `hash_map::Drain` and `hash_set::Drain` are covariant]
142   (https://github.com/rust-lang/rust/pull/35354)
143 * [`vec::Drain` and `binary_heap::Drain` are covariant]
144   (https://github.com/rust-lang/rust/pull/34951)
145 * [`Cow<str>` implements `FromIterator` for `char`, `&str` and `String`]
146   (https://github.com/rust-lang/rust/pull/35064)
147 * [Sockets on Linux are correctly closed in subprocesses via `SOCK_CLOEXEC`]
148   (https://github.com/rust-lang/rust/pull/34946)
149 * [`hash_map::Entry`, `hash_map::VacantEntry` and `hash_map::OccupiedEntry`
150   implement `Debug`]
151   (https://github.com/rust-lang/rust/pull/34937)
152 * [`btree_map::Entry`, `btree_map::VacantEntry` and `btree_map::OccupiedEntry`
153   implement `Debug`]
154   (https://github.com/rust-lang/rust/pull/34885)
155 * [`String` implements `AddAssign`]
156   (https://github.com/rust-lang/rust/pull/34890)
157 * [Variadic `extern fn` pointers implement the `Clone`, `PartialEq`, `Eq`,
158   `PartialOrd`, `Ord`, `Hash`, `fmt::Pointer`, and `fmt::Debug` traits]
159   (https://github.com/rust-lang/rust/pull/34879)
160 * [`FileType` implements `Debug`]
161   (https://github.com/rust-lang/rust/pull/34757)
162 * [References to `Mutex` and `RwLock` are unwind-safe]
163   (https://github.com/rust-lang/rust/pull/34756)
164 * [`mpsc::sync_channel` `Receiver`s return any available message before
165   reporting a disconnect]
166   (https://github.com/rust-lang/rust/pull/34731)
167 * [Unicode definitions have been updated to 9.0]
168   (https://github.com/rust-lang/rust/pull/34599)
169 * [`env` iterators implement `DoubleEndedIterator`]
170   (https://github.com/rust-lang/rust/pull/33312)
171
172 Cargo
173 -----
174
175 * [Support local mirrors of registries]
176   (https://github.com/rust-lang/cargo/pull/2857)
177 * [Add support for command aliases]
178   (https://github.com/rust-lang/cargo/pull/2679)
179 * [Allow `opt-level="s"` / `opt-level="z"` in profile overrides]
180   (https://github.com/rust-lang/cargo/pull/3007)
181 * [Make `cargo doc --open --target` work as expected]
182   (https://github.com/rust-lang/cargo/pull/2988)
183 * [Speed up noop registry updates]
184   (https://github.com/rust-lang/cargo/pull/2974)
185 * [Update OpenSSL]
186   (https://github.com/rust-lang/cargo/pull/2971)
187 * [Fix `--panic=abort` with plugins]
188   (https://github.com/rust-lang/cargo/pull/2954)
189 * [Always pass `-C metadata` to the compiler]
190   (https://github.com/rust-lang/cargo/pull/2946)
191 * [Fix depending on git repos with workspaces]
192   (https://github.com/rust-lang/cargo/pull/2938)
193 * [Add a `--lib` flag to `cargo new`]
194   (https://github.com/rust-lang/cargo/pull/2921)
195 * [Add `http.cainfo` for custom certs]
196   (https://github.com/rust-lang/cargo/pull/2917)
197 * [Indicate the compilation profile after compiling]
198   (https://github.com/rust-lang/cargo/pull/2909)
199 * [Allow enabling features for dependencies with `--features`]
200   (https://github.com/rust-lang/cargo/pull/2876)
201 * [Add `--jobs` flag to `cargo package`]
202   (https://github.com/rust-lang/cargo/pull/2867)
203 * [Add `--dry-run` to `cargo publish`]
204   (https://github.com/rust-lang/cargo/pull/2849)
205 * [Add support for `RUSTDOCFLAGS`]
206   (https://github.com/rust-lang/cargo/pull/2794)
207
208 Performance
209 -----------
210
211 * [`panic::catch_unwind` is more optimized]
212   (https://github.com/rust-lang/rust/pull/35444)
213 * [`panic::catch_unwind` no longer accesses thread-local storage on entry]
214   (https://github.com/rust-lang/rust/pull/34866)
215
216 Tooling
217 -------
218
219 * [Test binaries now support a `--test-threads` argument to specify the number
220   of threads used to run tests, and which acts the same as the
221   `RUST_TEST_THREADS` environment variable]
222   (https://github.com/rust-lang/rust/pull/35414)  
223 * [The test runner now emits a warning when tests run over 60 seconds]
224   (https://github.com/rust-lang/rust/pull/35405)
225 * [rustdoc: Fix methods in search results]
226   (https://github.com/rust-lang/rust/pull/34752)
227 * [`rust-lldb` warns about unsupported versions of LLDB]
228   (https://github.com/rust-lang/rust/pull/34646)
229 * [Rust releases now come with source packages that can be installed by rustup
230   via `rustup component add rust-src`]
231   (https://github.com/rust-lang/rust/pull/34366).
232   The resulting source code can be used by tools and IDES, located in the
233   sysroot under `lib/rustlib/src`.
234
235 Misc
236 ----
237
238 * [The compiler can now be built against LLVM 3.9]
239   (https://github.com/rust-lang/rust/pull/35594)
240 * Many minor improvements to the documentation.
241 * [The Rust exception handling "personality" routine is now written in Rust]
242   (https://github.com/rust-lang/rust/pull/34832)
243
244 Compatibility Notes
245 -------------------
246
247 * [When printing Windows `OsStr`s, unpaired surrogate codepoints are escaped
248   with the lowercase format instead of the uppercase]
249   (https://github.com/rust-lang/rust/pull/35084)
250 * [When formatting strings, if "precision" is specified, the "fill",
251   "align" and "width" specifiers are no longer ignored]
252   (https://github.com/rust-lang/rust/pull/34544)
253 * [The `Debug` impl for strings no longer escapes all non-ASCII characters]
254   (https://github.com/rust-lang/rust/pull/34485)
255
256
257 Version 1.11.0 (2016-08-18)
258 ===========================
259
260 Language
261 --------
262
263 * [`cfg_attr` works on `path` attributes]
264   (https://github.com/rust-lang/rust/pull/34546)
265 * [Support nested `cfg_attr` attributes]
266   (https://github.com/rust-lang/rust/pull/34216)
267 * [Allow statement-generating braced macro invocations at the end of blocks]
268   (https://github.com/rust-lang/rust/pull/34436)
269 * [Macros can be expanded inside of trait definitions]
270   (https://github.com/rust-lang/rust/pull/34213)
271 * [`#[macro_use]` works properly when it is itself expanded from a macro]
272   (https://github.com/rust-lang/rust/pull/34032)
273
274 Stabilized APIs
275 ---------------
276
277 * [`BinaryHeap::append`]
278   (https://doc.rust-lang.org/std/collections/binary_heap/struct.BinaryHeap.html#method.append)
279 * [`BTreeMap::append`]
280   (https://doc.rust-lang.org/std/collections/btree_map/struct.BTreeMap.html#method.append)
281 * [`BTreeMap::split_off`]
282   (https://doc.rust-lang.org/std/collections/btree_map/struct.BTreeMap.html#method.split_off)
283 * [`BTreeSet::append`]
284   (https://doc.rust-lang.org/std/collections/btree_set/struct.BTreeSet.html#method.append)
285 * [`BTreeSet::split_off`]
286   (https://doc.rust-lang.org/std/collections/btree_set/struct.BTreeSet.html#method.split_off)
287 * [`f32::to_degrees`]
288   (https://doc.rust-lang.org/std/primitive.f32.html#method.to_degrees)
289   (in libcore - previously stabilized in libstd)
290 * [`f32::to_radians`]
291   (https://doc.rust-lang.org/std/primitive.f32.html#method.to_radians)
292   (in libcore - previously stabilized in libstd)
293 * [`f64::to_degrees`]
294   (https://doc.rust-lang.org/std/primitive.f64.html#method.to_degrees)
295   (in libcore - previously stabilized in libstd)
296 * [`f64::to_radians`]
297   (https://doc.rust-lang.org/std/primitive.f64.html#method.to_radians)
298   (in libcore - previously stabilized in libstd)
299 * [`Iterator::sum`]
300   (https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.sum)
301 * [`Iterator::product`]
302   (https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.sum)
303 * [`Cell::get_mut`]
304   (https://doc.rust-lang.org/std/cell/struct.Cell.html#method.get_mut)
305 * [`RefCell::get_mut`]
306   (https://doc.rust-lang.org/std/cell/struct.RefCell.html#method.get_mut)
307
308 Libraries
309 ---------
310
311 * [The `thread_local!` macro supports multiple definitions in a single
312    invocation, and can apply attributes]
313   (https://github.com/rust-lang/rust/pull/34077)
314 * [`Cow` implements `Default`]
315   (https://github.com/rust-lang/rust/pull/34305)
316 * [`Wrapping` implements binary, octal, lower-hex and upper-hex
317   `Display` formatting]
318   (https://github.com/rust-lang/rust/pull/34190)
319 * [The range types implement `Hash`]
320   (https://github.com/rust-lang/rust/pull/34180)
321 * [`lookup_host` ignores unknown address types]
322   (https://github.com/rust-lang/rust/pull/34067)
323 * [`assert_eq!` accepts a custom error message, like `assert!` does]
324   (https://github.com/rust-lang/rust/pull/33976)
325 * [The main thread is now called "main" instead of "&lt;main&gt;"]
326   (https://github.com/rust-lang/rust/pull/33803)
327
328 Cargo
329 -----
330
331 * [Disallow specifying features of transitive deps]
332   (https://github.com/rust-lang/cargo/pull/2821)
333 * [Add color support for Windows consoles]
334   (https://github.com/rust-lang/cargo/pull/2804)
335 * [Fix `harness = false` on `[lib]` sections]
336   (https://github.com/rust-lang/cargo/pull/2795)
337 * [Don't panic when `links` contains a '.']
338   (https://github.com/rust-lang/cargo/pull/2787)
339 * [Build scripts can emit warnings]
340   (https://github.com/rust-lang/cargo/pull/2630),
341   and `-vv` prints warnings for all crates.
342 * [Ignore file locks on OS X NFS mounts]
343   (https://github.com/rust-lang/cargo/pull/2720)
344 * [Don't warn about `package.metadata` keys]
345   (https://github.com/rust-lang/cargo/pull/2668).
346   This provides room for expansion by arbitrary tools.
347 * [Add support for cdylib crate types]
348   (https://github.com/rust-lang/cargo/pull/2741)
349 * [Prevent publishing crates when files are dirty]
350   (https://github.com/rust-lang/cargo/pull/2781)
351 * [Don't fetch all crates on clean]
352   (https://github.com/rust-lang/cargo/pull/2704)
353 * [Propagate --color option to rustc]
354   (https://github.com/rust-lang/cargo/pull/2779)
355 * [Fix `cargo doc --open` on Windows]
356   (https://github.com/rust-lang/cargo/pull/2780)
357 * [Improve autocompletion]
358   (https://github.com/rust-lang/cargo/pull/2772)
359 * [Configure colors of stderr as well as stdout]
360   (https://github.com/rust-lang/cargo/pull/2739)
361
362 Performance
363 -----------
364
365 * [Caching projections speeds up type check dramatically for some
366   workloads]
367   (https://github.com/rust-lang/rust/pull/33816)
368 * [The default `HashMap` hasher is SipHash 1-3 instead of SipHash 2-4]
369   (https://github.com/rust-lang/rust/pull/33940)
370   This hasher is faster, but is believed to provide sufficient
371   protection from collision attacks.
372 * [Comparison of `Ipv4Addr` is 10x faster]
373   (https://github.com/rust-lang/rust/pull/33891)
374
375 Rustdoc
376 -------
377
378 * [Fix empty implementation section on some module pages]
379   (https://github.com/rust-lang/rust/pull/34536)
380 * [Fix inlined renamed reexports in import lists]
381   (https://github.com/rust-lang/rust/pull/34479)
382 * [Fix search result layout for enum variants and struct fields]
383   (https://github.com/rust-lang/rust/pull/34477)
384 * [Fix issues with source links to external crates]
385   (https://github.com/rust-lang/rust/pull/34387)
386 * [Fix redirect pages for renamed reexports]
387   (https://github.com/rust-lang/rust/pull/34245)
388
389 Tooling
390 -------
391
392 * [rustc is better at finding the MSVC toolchain]
393   (https://github.com/rust-lang/rust/pull/34492)
394 * [When emitting debug info, rustc emits frame pointers for closures,
395   shims and glue, as it does for all other functions]
396   (https://github.com/rust-lang/rust/pull/33909)
397 * [rust-lldb warns about unsupported versions of LLDB]
398   (https://github.com/rust-lang/rust/pull/34646)
399 * Many more errors have been given error codes and extended
400   explanations
401 * API documentation continues to be improved, with many new examples
402
403 Misc
404 ----
405
406 * [rustc no longer hangs when dependencies recursively re-export
407   submodules]
408   (https://github.com/rust-lang/rust/pull/34542)
409 * [rustc requires LLVM 3.7+]
410   (https://github.com/rust-lang/rust/pull/34104)
411 * [The 'How Safe and Unsafe Interact' chapter of The Rustonomicon was
412   rewritten]
413   (https://github.com/rust-lang/rust/pull/33895)
414 * [rustc support 16-bit pointer sizes]
415   (https://github.com/rust-lang/rust/pull/33460).
416   No targets use this yet, but it works toward AVR support.
417
418 Compatibility Notes
419 -------------------
420
421 * [`const`s and `static`s may not have unsized types]
422   (https://github.com/rust-lang/rust/pull/34443)
423 * [The new follow-set rules that place restrictions on `macro_rules!`
424   in order to ensure syntax forward-compatibility have been enabled]
425   (https://github.com/rust-lang/rust/pull/33982)
426   This was an [ammendment to RFC 550]
427   (https://github.com/rust-lang/rfcs/pull/1384),
428   and has been a warning since 1.10.
429 * [`cfg` attribute process has been refactored to fix various bugs]
430   (https://github.com/rust-lang/rust/pull/33706).
431   This causes breakage in some corner cases.
432
433
434 Version 1.10.0 (2016-07-07)
435 ===========================
436
437 Language
438 --------
439
440 * [Allow `concat_idents!` in type positions as well as in expression
441   positions]
442   (https://github.com/rust-lang/rust/pull/33735).
443 * [`Copy` types are required to have a trivial implementation of `Clone`]
444   (https://github.com/rust-lang/rust/pull/33420).
445   [RFC 1521](https://github.com/rust-lang/rfcs/blob/master/text/1521-copy-clone-semantics.md).
446 * [Single-variant enums support the `#[repr(..)]` attribute]
447   (https://github.com/rust-lang/rust/pull/33355).
448 * [Fix `#[derive(RustcEncodable)]` in the presence of other `encode` methods]
449   (https://github.com/rust-lang/rust/pull/32908).
450 * [`panic!` can be converted to a runtime abort with the
451   `-C panic=abort` flag]
452   (https://github.com/rust-lang/rust/pull/32900).
453   [RFC 1513](https://github.com/rust-lang/rfcs/blob/master/text/1513-less-unwinding.md).
454 * [Add a new crate type, 'cdylib']
455   (https://github.com/rust-lang/rust/pull/33553).
456   cdylibs are dynamic libraries suitable for loading by non-Rust hosts.
457   [RFC 1510](https://github.com/rust-lang/rfcs/blob/master/text/1510-rdylib.md).
458   Note that Cargo does not yet directly support cdylibs.
459
460 Stabilized APIs
461 ---------------
462
463 * `os::windows::fs::OpenOptionsExt::access_mode`
464 * `os::windows::fs::OpenOptionsExt::share_mode`
465 * `os::windows::fs::OpenOptionsExt::custom_flags`
466 * `os::windows::fs::OpenOptionsExt::attributes`
467 * `os::windows::fs::OpenOptionsExt::security_qos_flags`
468 * `os::unix::fs::OpenOptionsExt::custom_flags`
469 * [`sync::Weak::new`]
470   (http://doc.rust-lang.org/alloc/arc/struct.Weak.html#method.new)
471 * `Default for sync::Weak`
472 * [`panic::set_hook`]
473   (http://doc.rust-lang.org/std/panic/fn.set_hook.html)
474 * [`panic::take_hook`]
475   (http://doc.rust-lang.org/std/panic/fn.take_hook.html)
476 * [`panic::PanicInfo`]
477   (http://doc.rust-lang.org/std/panic/struct.PanicInfo.html)
478 * [`panic::PanicInfo::payload`]
479   (http://doc.rust-lang.org/std/panic/struct.PanicInfo.html#method.payload)
480 * [`panic::PanicInfo::location`]
481   (http://doc.rust-lang.org/std/panic/struct.PanicInfo.html#method.location)
482 * [`panic::Location`]
483   (http://doc.rust-lang.org/std/panic/struct.Location.html)
484 * [`panic::Location::file`]
485   (http://doc.rust-lang.org/std/panic/struct.Location.html#method.file)
486 * [`panic::Location::line`]
487   (http://doc.rust-lang.org/std/panic/struct.Location.html#method.line)
488 * [`ffi::CStr::from_bytes_with_nul`]
489   (http://doc.rust-lang.org/std/ffi/struct.CStr.html#method.from_bytes_with_nul)
490 * [`ffi::CStr::from_bytes_with_nul_unchecked`]
491   (http://doc.rust-lang.org/std/ffi/struct.CStr.html#method.from_bytes_with_nul_unchecked)
492 * [`ffi::FromBytesWithNulError`]
493   (http://doc.rust-lang.org/std/ffi/struct.FromBytesWithNulError.html)
494 * [`fs::Metadata::modified`]
495   (http://doc.rust-lang.org/std/fs/struct.Metadata.html#method.modified)
496 * [`fs::Metadata::accessed`]
497   (http://doc.rust-lang.org/std/fs/struct.Metadata.html#method.accessed)
498 * [`fs::Metadata::created`]
499   (http://doc.rust-lang.org/std/fs/struct.Metadata.html#method.created)
500 * `sync::atomic::Atomic{Usize,Isize,Bool,Ptr}::compare_exchange`
501 * `sync::atomic::Atomic{Usize,Isize,Bool,Ptr}::compare_exchange_weak`
502 * `collections::{btree,hash}_map::{Occupied,Vacant,}Entry::key`
503 * `os::unix::net::{UnixStream, UnixListener, UnixDatagram, SocketAddr}`
504 * [`SocketAddr::is_unnamed`]
505   (http://doc.rust-lang.org/std/os/unix/net/struct.SocketAddr.html#method.is_unnamed)
506 * [`SocketAddr::as_pathname`]
507   (http://doc.rust-lang.org/std/os/unix/net/struct.SocketAddr.html#method.as_pathname)
508 * [`UnixStream::connect`]
509   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.connect)
510 * [`UnixStream::pair`]
511   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.pair)
512 * [`UnixStream::try_clone`]
513   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.try_clone)
514 * [`UnixStream::local_addr`]
515   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.local_addr)
516 * [`UnixStream::peer_addr`]
517   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.peer_addr)
518 * [`UnixStream::set_read_timeout`]
519   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.read_timeout)
520 * [`UnixStream::set_write_timeout`]
521   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.write_timeout)
522 * [`UnixStream::read_timeout`]
523   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.read_timeout)
524 * [`UnixStream::write_timeout`]
525   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.write_timeout)
526 * [`UnixStream::set_nonblocking`]
527   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.set_nonblocking)
528 * [`UnixStream::take_error`]
529   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.take_error)
530 * [`UnixStream::shutdown`]
531   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixStream.html#method.shutdown)
532 * Read/Write/RawFd impls for `UnixStream`
533 * [`UnixListener::bind`]
534   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.bind)
535 * [`UnixListener::accept`]
536   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.accept)
537 * [`UnixListener::try_clone`]
538   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.try_clone)
539 * [`UnixListener::local_addr`]
540   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.local_addr)
541 * [`UnixListener::set_nonblocking`]
542   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.set_nonblocking)
543 * [`UnixListener::take_error`]
544   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.take_error)
545 * [`UnixListener::incoming`]
546   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixListener.html#method.incoming)
547 * RawFd impls for `UnixListener`
548 * [`UnixDatagram::bind`]
549   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.bind)
550 * [`UnixDatagram::unbound`]
551   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.unbound)
552 * [`UnixDatagram::pair`]
553   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.pair)
554 * [`UnixDatagram::connect`]
555   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.connect)
556 * [`UnixDatagram::try_clone`]
557   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.try_clone)
558 * [`UnixDatagram::local_addr`]
559   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.local_addr)
560 * [`UnixDatagram::peer_addr`]
561   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.peer_addr)
562 * [`UnixDatagram::recv_from`]
563   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.recv_from)
564 * [`UnixDatagram::recv`]
565   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.recv)
566 * [`UnixDatagram::send_to`]
567   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.send_to)
568 * [`UnixDatagram::send`]
569   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.send)
570 * [`UnixDatagram::set_read_timeout`]
571   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.set_read_timeout)
572 * [`UnixDatagram::set_write_timeout`]
573   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.set_write_timeout)
574 * [`UnixDatagram::read_timeout`]
575   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.read_timeout)
576 * [`UnixDatagram::write_timeout`]
577   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.write_timeout)
578 * [`UnixDatagram::set_nonblocking`]
579   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.set_nonblocking)
580 * [`UnixDatagram::take_error`]
581   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.take_error)
582 * [`UnixDatagram::shutdown`]
583   (http://doc.rust-lang.org/std/os/unix/net/struct.UnixDatagram.html#method.shutdown)
584 * RawFd impls for `UnixDatagram`
585 * `{BTree,Hash}Map::values_mut`
586 * [`<[_]>::binary_search_by_key`]
587   (http://doc.rust-lang.org/beta/std/primitive.slice.html#method.binary_search_by_key)
588
589 Libraries
590 ---------
591
592 * [The `abs_sub` method of floats is deprecated]
593   (https://github.com/rust-lang/rust/pull/33664).
594   The semantics of this minor method are subtle and probably not what
595   most people want.
596 * [Add implementation of Ord for Cell<T> and RefCell<T> where T: Ord]
597   (https://github.com/rust-lang/rust/pull/33306).
598 * [On Linux, if `HashMap`s can't be initialized with `getrandom` they
599   will fall back to `/dev/urandom` temporarily to avoid blocking
600   during early boot]
601   (https://github.com/rust-lang/rust/pull/33086).
602 * [Implemented negation for wrapping numerals]
603   (https://github.com/rust-lang/rust/pull/33067).
604 * [Implement `Clone` for `binary_heap::IntoIter`]
605   (https://github.com/rust-lang/rust/pull/33050).
606 * [Implement `Display` and `Hash` for `std::num::Wrapping`]
607   (https://github.com/rust-lang/rust/pull/33023).
608 * [Add `Default` implementation for `&CStr`, `CString`]
609   (https://github.com/rust-lang/rust/pull/32990).
610 * [Implement `From<Vec<T>>` and `Into<Vec<T>>` for `VecDeque<T>`]
611   (https://github.com/rust-lang/rust/pull/32866).
612 * [Implement `Default` for `UnsafeCell`, `fmt::Error`, `Condvar`,
613   `Mutex`, `RwLock`]
614   (https://github.com/rust-lang/rust/pull/32785).
615
616 Cargo
617 -----
618 * [Cargo.toml supports the `profile.*.panic` option]
619   (https://github.com/rust-lang/cargo/pull/2687).
620   This controls the runtime behavior of the `panic!` macro
621   and can be either "unwind" (the default), or "abort".
622   [RFC 1513](https://github.com/rust-lang/rfcs/blob/master/text/1513-less-unwinding.md).
623 * [Don't throw away errors with `-p` arguments]
624   (https://github.com/rust-lang/cargo/pull/2723).
625 * [Report status to stderr instead of stdout]
626   (https://github.com/rust-lang/cargo/pull/2693).
627 * [Build scripts are passed a `CARGO_MANIFEST_LINKS` environment
628   variable that corresponds to the `links` field of the manifest]
629   (https://github.com/rust-lang/cargo/pull/2710).
630 * [Ban keywords from crate names]
631   (https://github.com/rust-lang/cargo/pull/2707).
632 * [Canonicalize `CARGO_HOME` on Windows]
633   (https://github.com/rust-lang/cargo/pull/2604).
634 * [Retry network requests]
635   (https://github.com/rust-lang/cargo/pull/2396).
636   By default they are retried twice, which can be customized with the
637   `net.retry` value in `.cargo/config`.
638 * [Don't print extra error info for failing subcommands]
639   (https://github.com/rust-lang/cargo/pull/2674).
640 * [Add `--force` flag to `cargo install`]
641   (https://github.com/rust-lang/cargo/pull/2405).
642 * [Don't use `flock` on NFS mounts]
643   (https://github.com/rust-lang/cargo/pull/2623).
644 * [Prefer building `cargo install` artifacts in temporary directories]
645   (https://github.com/rust-lang/cargo/pull/2610).
646   Makes it possible to install multiple crates in parallel.
647 * [Add `cargo test --doc`]
648   (https://github.com/rust-lang/cargo/pull/2578).
649 * [Add `cargo --explain`]
650   (https://github.com/rust-lang/cargo/pull/2551).
651 * [Don't print warnings when `-q` is passed]
652   (https://github.com/rust-lang/cargo/pull/2576).
653 * [Add `cargo doc --lib` and `--bin`]
654   (https://github.com/rust-lang/cargo/pull/2577).
655 * [Don't require build script output to be UTF-8]
656   (https://github.com/rust-lang/cargo/pull/2560).
657 * [Correctly attempt multiple git usernames]
658   (https://github.com/rust-lang/cargo/pull/2584).
659
660 Performance
661 -----------
662
663 * [rustc memory usage was reduced by refactoring the context used for
664   type checking]
665   (https://github.com/rust-lang/rust/pull/33425).
666 * [Speed up creation of `HashMap`s by caching the random keys used
667   to initialize the hash state]
668   (https://github.com/rust-lang/rust/pull/33318).
669 * [The `find` implementation for `Chain` iterators is 2x faster]
670   (https://github.com/rust-lang/rust/pull/33289).
671 * [Trait selection optimizations speed up type checking by 15%]
672   (https://github.com/rust-lang/rust/pull/33138).
673 * [Efficient trie lookup for boolean Unicode properties]
674   (https://github.com/rust-lang/rust/pull/33098).
675   10x faster than the previous lookup tables.
676 * [Special case `#[derive(Copy, Clone)]` to avoid bloat]
677   (https://github.com/rust-lang/rust/pull/31414).
678
679 Usability
680 ---------
681
682 * Many incremental improvements to documentation and rustdoc.
683 * [rustdoc: List blanket trait impls]
684   (https://github.com/rust-lang/rust/pull/33514).
685 * [rustdoc: Clean up ABI rendering]
686   (https://github.com/rust-lang/rust/pull/33151).
687 * [Indexing with the wrong type produces a more informative error]
688   (https://github.com/rust-lang/rust/pull/33401).
689 * [Improve diagnostics for constants being used in irrefutable patterns]
690   (https://github.com/rust-lang/rust/pull/33406).
691 * [When many method candidates are in scope limit the suggestions to 10]
692   (https://github.com/rust-lang/rust/pull/33338).
693 * [Remove confusing suggestion when calling a `fn` type]
694   (https://github.com/rust-lang/rust/pull/33325).
695 * [Do not suggest changing `&mut self` to `&mut mut self`]
696   (https://github.com/rust-lang/rust/pull/33319).
697
698 Misc
699 ----
700
701 * [Update i686-linux-android features to match Android ABI]
702   (https://github.com/rust-lang/rust/pull/33651).
703 * [Update aarch64-linux-android features to match Android ABI]
704   (https://github.com/rust-lang/rust/pull/33500).
705 * [`std` no longer prints backtraces on platforms where the running
706   module must be loaded with `env::current_exe`, which can't be relied
707   on](https://github.com/rust-lang/rust/pull/33554).
708 * This release includes std binaries for the i586-unknown-linux-gnu,
709   i686-unknown-linux-musl, and armv7-linux-androideabi targets. The
710   i586 target is for old x86 hardware without SSE2, and the armv7
711   target is for Android running on modern ARM architectures.
712 * [The `rust-gdb` and `rust-lldb` scripts are distributed on all
713   Unix platforms](https://github.com/rust-lang/rust/pull/32835).
714 * [On Unix the runtime aborts by calling `libc::abort` instead of
715   generating an illegal instruction]
716   (https://github.com/rust-lang/rust/pull/31457).
717 * [Rust is now bootstrapped from the previous release of Rust,
718   instead of a snapshot from an arbitrary commit]
719   (https://github.com/rust-lang/rust/pull/32942).
720
721 Compatibility Notes
722 -------------------
723
724 * [`AtomicBool` is now bool-sized, not word-sized]
725   (https://github.com/rust-lang/rust/pull/33579).
726 * [`target_env` for Linux ARM targets is just `gnu`, not
727   `gnueabihf`, `gnueabi`, etc]
728   (https://github.com/rust-lang/rust/pull/33403).
729 * [Consistently panic on overflow in `Duration::new`]
730   (https://github.com/rust-lang/rust/pull/33072).
731 * [Change `String::truncate` to panic less]
732   (https://github.com/rust-lang/rust/pull/32977).
733 * [Add `:block` to the follow set for `:ty` and `:path`]
734   (https://github.com/rust-lang/rust/pull/32945).
735   Affects how macros are parsed.
736 * [Fix macro hygiene bug]
737   (https://github.com/rust-lang/rust/pull/32923).
738 * [Feature-gated attributes on macro-generated macro invocations are
739   now rejected]
740   (https://github.com/rust-lang/rust/pull/32791).
741 * [Suppress fallback and ambiguity errors during type inference]
742   (https://github.com/rust-lang/rust/pull/32258).
743   This caused some minor changes to type inference.
744
745
746 Version 1.9.0 (2016-05-26)
747 ==========================
748
749 Language
750 --------
751
752 * The `#[deprecated]` attribute when applied to an API will generate
753   warnings when used. The warnings may be suppressed with
754   `#[allow(deprecated)]`. [RFC 1270].
755 * [`fn` item types are zero sized, and each `fn` names a unique
756   type][1.9fn]. This will break code that transmutes `fn`s, so calling
757   `transmute` on a `fn` type will generate a warning for a few cycles,
758   then will be converted to an error.
759 * [Field and method resolution understand visibility, so private
760   fields and methods cannot prevent the proper use of public fields
761   and methods][1.9fv].
762 * [The parser considers unicode codepoints in the
763   `PATTERN_WHITE_SPACE` category to be whitespace][1.9ws].
764
765 Stabilized APIs
766 ---------------
767
768 * [`std::panic`]
769 * [`std::panic::catch_unwind`][] (renamed from `recover`)
770 * [`std::panic::resume_unwind`][] (renamed from `propagate`)
771 * [`std::panic::AssertUnwindSafe`][] (renamed from `AssertRecoverSafe`)
772 * [`std::panic::UnwindSafe`][] (renamed from `RecoverSafe`)
773 * [`str::is_char_boundary`]
774 * [`<*const T>::as_ref`]
775 * [`<*mut T>::as_ref`]
776 * [`<*mut T>::as_mut`]
777 * [`AsciiExt::make_ascii_uppercase`]
778 * [`AsciiExt::make_ascii_lowercase`]
779 * [`char::decode_utf16`]
780 * [`char::DecodeUtf16`]
781 * [`char::DecodeUtf16Error`]
782 * [`char::DecodeUtf16Error::unpaired_surrogate`]
783 * [`BTreeSet::take`]
784 * [`BTreeSet::replace`]
785 * [`BTreeSet::get`]
786 * [`HashSet::take`]
787 * [`HashSet::replace`]
788 * [`HashSet::get`]
789 * [`OsString::with_capacity`]
790 * [`OsString::clear`]
791 * [`OsString::capacity`]
792 * [`OsString::reserve`]
793 * [`OsString::reserve_exact`]
794 * [`OsStr::is_empty`]
795 * [`OsStr::len`]
796 * [`std::os::unix::thread`]
797 * [`RawPthread`]
798 * [`JoinHandleExt`]
799 * [`JoinHandleExt::as_pthread_t`]
800 * [`JoinHandleExt::into_pthread_t`]
801 * [`HashSet::hasher`]
802 * [`HashMap::hasher`]
803 * [`CommandExt::exec`]
804 * [`File::try_clone`]
805 * [`SocketAddr::set_ip`]
806 * [`SocketAddr::set_port`]
807 * [`SocketAddrV4::set_ip`]
808 * [`SocketAddrV4::set_port`]
809 * [`SocketAddrV6::set_ip`]
810 * [`SocketAddrV6::set_port`]
811 * [`SocketAddrV6::set_flowinfo`]
812 * [`SocketAddrV6::set_scope_id`]
813 * [`slice::copy_from_slice`]
814 * [`ptr::read_volatile`]
815 * [`ptr::write_volatile`]
816 * [`OpenOptions::create_new`]
817 * [`TcpStream::set_nodelay`]
818 * [`TcpStream::nodelay`]
819 * [`TcpStream::set_ttl`]
820 * [`TcpStream::ttl`]
821 * [`TcpStream::set_only_v6`]
822 * [`TcpStream::only_v6`]
823 * [`TcpStream::take_error`]
824 * [`TcpStream::set_nonblocking`]
825 * [`TcpListener::set_ttl`]
826 * [`TcpListener::ttl`]
827 * [`TcpListener::set_only_v6`]
828 * [`TcpListener::only_v6`]
829 * [`TcpListener::take_error`]
830 * [`TcpListener::set_nonblocking`]
831 * [`UdpSocket::set_broadcast`]
832 * [`UdpSocket::broadcast`]
833 * [`UdpSocket::set_multicast_loop_v4`]
834 * [`UdpSocket::multicast_loop_v4`]
835 * [`UdpSocket::set_multicast_ttl_v4`]
836 * [`UdpSocket::multicast_ttl_v4`]
837 * [`UdpSocket::set_multicast_loop_v6`]
838 * [`UdpSocket::multicast_loop_v6`]
839 * [`UdpSocket::set_multicast_ttl_v6`]
840 * [`UdpSocket::multicast_ttl_v6`]
841 * [`UdpSocket::set_ttl`]
842 * [`UdpSocket::ttl`]
843 * [`UdpSocket::set_only_v6`]
844 * [`UdpSocket::only_v6`]
845 * [`UdpSocket::join_multicast_v4`]
846 * [`UdpSocket::join_multicast_v6`]
847 * [`UdpSocket::leave_multicast_v4`]
848 * [`UdpSocket::leave_multicast_v6`]
849 * [`UdpSocket::take_error`]
850 * [`UdpSocket::connect`]
851 * [`UdpSocket::send`]
852 * [`UdpSocket::recv`]
853 * [`UdpSocket::set_nonblocking`]
854
855 Libraries
856 ---------
857
858 * [`std::sync::Once` is poisoned if its initialization function
859   fails][1.9o].
860 * [`cell::Ref` and `cell::RefMut` can contain unsized types][1.9cu].
861 * [Most types implement `fmt::Debug`][1.9db].
862 * [The default buffer size used by `BufReader` and `BufWriter` was
863   reduced to 8K, from 64K][1.9bf]. This is in line with the buffer size
864   used by other languages.
865 * [`Instant`, `SystemTime` and `Duration` implement `+=` and `-=`.
866   `Duration` additionally implements `*=` and `/=`][1.9ta].
867 * [`Skip` is a `DoubleEndedIterator`][1.9sk].
868 * [`From<[u8; 4]>` is implemented for `Ipv4Addr`][1.9fi].
869 * [`Chain` implements `BufRead`][1.9ch].
870 * [`HashMap`, `HashSet` and iterators are covariant][1.9hc].
871
872 Cargo
873 -----
874
875 * [Cargo can now run concurrently][1.9cc].
876 * [Top-level overrides allow specific revisions of crates to be
877   overridden through the entire crate graph][1.9ct].  This is intended
878   to make upgrades easier for large projects, by allowing crates to be
879   forked temporarily until they've been upgraded and republished.
880 * [Cargo exports a `CARGO_PKG_AUTHORS` environment variable][1.9cp].
881 * [Cargo will pass the contents of the `RUSTFLAGS` variable to `rustc`
882   on the commandline][1.9cf]. `rustc` arguments can also be specified
883   in the `build.rustflags` configuration key.
884
885 Performance
886 -----------
887
888 * [The time complexity of comparing variables for equivalence during type
889   unification is reduced from _O_(_n_!) to _O_(_n_)][1.9tu]. This leads
890   to major compilation time improvement in some scenarios.
891 * [`ToString` is specialized for `str`, giving it the same performance
892   as `to_owned`][1.9ts].
893 * [Spawning processes with `Command::output` no longer creates extra
894   threads][1.9sp].
895 * [`#[derive(PartialEq)]` and `#[derive(PartialOrd)]` emit less code
896   for C-like enums][1.9cl].
897
898 Misc
899 ----
900
901 * [Passing the `--quiet` flag to a test runner will produce
902   much-abbreviated output][1.9q].
903 * The Rust Project now publishes std binaries for the
904   `mips-unknown-linux-musl`, `mipsel-unknown-linux-musl`, and
905   `i586-pc-windows-msvc` targets.
906
907 Compatibility Notes
908 -------------------
909
910 * [`std::sync::Once` is poisoned if its initialization function
911   fails][1.9o].
912 * [It is illegal to define methods with the same name in overlapping
913   inherent `impl` blocks][1.9sn].
914 * [`fn` item types are zero sized, and each `fn` names a unique
915   type][1.9fn]. This will break code that transmutes `fn`s, so calling
916   `transmute` on a `fn` type will generate a warning for a few cycles,
917   then will be converted to an error.
918 * [Improvements to const evaluation may trigger new errors when integer
919   literals are out of range][1.9ce].
920
921
922 [1.9bf]: https://github.com/rust-lang/rust/pull/32695
923 [1.9cc]: https://github.com/rust-lang/cargo/pull/2486
924 [1.9ce]: https://github.com/rust-lang/rust/pull/30587
925 [1.9cf]: https://github.com/rust-lang/cargo/pull/2241
926 [1.9ch]: https://github.com/rust-lang/rust/pull/32541
927 [1.9cl]: https://github.com/rust-lang/rust/pull/31977
928 [1.9cp]: https://github.com/rust-lang/cargo/pull/2465
929 [1.9ct]: https://github.com/rust-lang/cargo/pull/2385
930 [1.9cu]: https://github.com/rust-lang/rust/pull/32652
931 [1.9db]: https://github.com/rust-lang/rust/pull/32054
932 [1.9fi]: https://github.com/rust-lang/rust/pull/32050
933 [1.9fn]: https://github.com/rust-lang/rust/pull/31710
934 [1.9fv]: https://github.com/rust-lang/rust/pull/31938
935 [1.9hc]: https://github.com/rust-lang/rust/pull/32635
936 [1.9o]: https://github.com/rust-lang/rust/pull/32325
937 [1.9q]: https://github.com/rust-lang/rust/pull/31887
938 [1.9sk]: https://github.com/rust-lang/rust/pull/31700
939 [1.9sn]: https://github.com/rust-lang/rust/pull/31925
940 [1.9sp]: https://github.com/rust-lang/rust/pull/31618
941 [1.9ta]: https://github.com/rust-lang/rust/pull/32448
942 [1.9ts]: https://github.com/rust-lang/rust/pull/32586
943 [1.9tu]: https://github.com/rust-lang/rust/pull/32062
944 [1.9ws]: https://github.com/rust-lang/rust/pull/29734
945 [RFC 1270]: https://github.com/rust-lang/rfcs/blob/master/text/1270-deprecation.md
946 [`<*const T>::as_ref`]: http://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.as_ref
947 [`<*mut T>::as_mut`]: http://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.as_mut
948 [`<*mut T>::as_ref`]: http://doc.rust-lang.org/nightly/std/primitive.pointer.html#method.as_ref
949 [`slice::copy_from_slice`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.copy_from_slice
950 [`AsciiExt::make_ascii_lowercase`]: http://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#tymethod.make_ascii_lowercase
951 [`AsciiExt::make_ascii_uppercase`]: http://doc.rust-lang.org/nightly/std/ascii/trait.AsciiExt.html#tymethod.make_ascii_uppercase
952 [`BTreeSet::get`]: http://doc.rust-lang.org/nightly/collections/btree/set/struct.BTreeSet.html#method.get
953 [`BTreeSet::replace`]: http://doc.rust-lang.org/nightly/collections/btree/set/struct.BTreeSet.html#method.replace
954 [`BTreeSet::take`]: http://doc.rust-lang.org/nightly/collections/btree/set/struct.BTreeSet.html#method.take
955 [`CommandExt::exec`]: http://doc.rust-lang.org/nightly/std/os/unix/process/trait.CommandExt.html#tymethod.exec
956 [`File::try_clone`]: http://doc.rust-lang.org/nightly/std/fs/struct.File.html#method.try_clone
957 [`HashMap::hasher`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashMap.html#method.hasher
958 [`HashSet::get`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.get
959 [`HashSet::hasher`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.hasher
960 [`HashSet::replace`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.replace
961 [`HashSet::take`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.take
962 [`JoinHandleExt::as_pthread_t`]: http://doc.rust-lang.org/nightly/std/os/unix/thread/trait.JoinHandleExt.html#tymethod.as_pthread_t
963 [`JoinHandleExt::into_pthread_t`]: http://doc.rust-lang.org/nightly/std/os/unix/thread/trait.JoinHandleExt.html#tymethod.into_pthread_t
964 [`JoinHandleExt`]: http://doc.rust-lang.org/nightly/std/os/unix/thread/trait.JoinHandleExt.html
965 [`OpenOptions::create_new`]: http://doc.rust-lang.org/nightly/std/fs/struct.OpenOptions.html#method.create_new
966 [`OsStr::is_empty`]: http://doc.rust-lang.org/nightly/std/ffi/struct.OsStr.html#method.is_empty
967 [`OsStr::len`]: http://doc.rust-lang.org/nightly/std/ffi/struct.OsStr.html#method.len
968 [`OsString::capacity`]: http://doc.rust-lang.org/nightly/std/ffi/struct.OsString.html#method.capacity
969 [`OsString::clear`]: http://doc.rust-lang.org/nightly/std/ffi/struct.OsString.html#method.clear
970 [`OsString::reserve_exact`]: http://doc.rust-lang.org/nightly/std/ffi/struct.OsString.html#method.reserve_exact
971 [`OsString::reserve`]: http://doc.rust-lang.org/nightly/std/ffi/struct.OsString.html#method.reserve
972 [`OsString::with_capacity`]: http://doc.rust-lang.org/nightly/std/ffi/struct.OsString.html#method.with_capacity
973 [`RawPthread`]: http://doc.rust-lang.org/nightly/std/os/unix/thread/type.RawPthread.html
974 [`SocketAddr::set_ip`]: http://doc.rust-lang.org/nightly/std/net/enum.SocketAddr.html#method.set_ip
975 [`SocketAddr::set_port`]: http://doc.rust-lang.org/nightly/std/net/enum.SocketAddr.html#method.set_port
976 [`SocketAddrV4::set_ip`]: http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV4.html#method.set_ip
977 [`SocketAddrV4::set_port`]: http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV4.html#method.set_port
978 [`SocketAddrV6::set_flowinfo`]: http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV6.html#method.set_flowinfo
979 [`SocketAddrV6::set_ip`]: http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV6.html#method.set_ip
980 [`SocketAddrV6::set_port`]: http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV6.html#method.set_port
981 [`SocketAddrV6::set_scope_id`]: http://doc.rust-lang.org/nightly/std/net/struct.SocketAddrV6.html#method.set_scope_id
982 [`TcpListener::only_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.only_v6
983 [`TcpListener::set_nonblocking`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_nonblocking
984 [`TcpListener::set_only_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_only_v6
985 [`TcpListener::set_ttl`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_ttl
986 [`TcpListener::take_error`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.take_error
987 [`TcpListener::ttl`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.ttl
988 [`TcpStream::nodelay`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.nodelay
989 [`TcpStream::only_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.only_v6
990 [`TcpStream::set_nodelay`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_nodelay
991 [`TcpStream::set_nonblocking`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_nonblocking
992 [`TcpStream::set_only_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_only_v6
993 [`TcpStream::set_ttl`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_ttl
994 [`TcpStream::take_error`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.take_error
995 [`TcpStream::ttl`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.ttl
996 [`UdpSocket::broadcast`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.broadcast
997 [`UdpSocket::connect`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.connect
998 [`UdpSocket::join_multicast_v4`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.join_multicast_v4
999 [`UdpSocket::join_multicast_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.join_multicast_v6
1000 [`UdpSocket::leave_multicast_v4`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.leave_multicast_v4
1001 [`UdpSocket::leave_multicast_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.leave_multicast_v6
1002 [`UdpSocket::multicast_loop_v4`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.multicast_loop_v4
1003 [`UdpSocket::multicast_loop_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.multicast_loop_v6
1004 [`UdpSocket::multicast_ttl_v4`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.multicast_ttl_v4
1005 [`UdpSocket::multicast_ttl_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.multicast_ttl_v6
1006 [`UdpSocket::only_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.only_v6
1007 [`UdpSocket::recv`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.recv
1008 [`UdpSocket::send`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.send
1009 [`UdpSocket::set_broadcast`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_broadcast
1010 [`UdpSocket::set_multicast_loop_v4`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_multicast_loop_v4
1011 [`UdpSocket::set_multicast_loop_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_multicast_loop_v6
1012 [`UdpSocket::set_multicast_ttl_v4`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_multicast_ttl_v4
1013 [`UdpSocket::set_multicast_ttl_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_multicast_ttl_v6
1014 [`UdpSocket::set_nonblocking`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_nonblocking
1015 [`UdpSocket::set_only_v6`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_only_v6
1016 [`UdpSocket::set_ttl`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.set_ttl
1017 [`UdpSocket::take_error`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.take_error
1018 [`UdpSocket::ttl`]: http://doc.rust-lang.org/nightly/std/net/struct.UdpSocket.html#method.ttl
1019 [`char::DecodeUtf16Error::unpaired_surrogate`]: http://doc.rust-lang.org/nightly/std/char/struct.DecodeUtf16Error.html#method.unpaired_surrogate
1020 [`char::DecodeUtf16Error`]: http://doc.rust-lang.org/nightly/std/char/struct.DecodeUtf16Error.html
1021 [`char::DecodeUtf16`]: http://doc.rust-lang.org/nightly/std/char/struct.DecodeUtf16.html
1022 [`char::decode_utf16`]: http://doc.rust-lang.org/nightly/std/char/fn.decode_utf16.html
1023 [`ptr::read_volatile`]: http://doc.rust-lang.org/nightly/std/ptr/fn.read_volatile.html
1024 [`ptr::write_volatile`]: http://doc.rust-lang.org/nightly/std/ptr/fn.write_volatile.html
1025 [`std::os::unix::thread`]: http://doc.rust-lang.org/nightly/std/os/unix/thread/index.html
1026 [`std::panic::AssertUnwindSafe`]: http://doc.rust-lang.org/nightly/std/panic/struct.AssertUnwindSafe.html
1027 [`std::panic::UnwindSafe`]: http://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html
1028 [`std::panic::catch_unwind`]: http://doc.rust-lang.org/nightly/std/panic/fn.catch_unwind.html
1029 [`std::panic::resume_unwind`]: http://doc.rust-lang.org/nightly/std/panic/fn.resume_unwind.html
1030 [`std::panic`]: http://doc.rust-lang.org/nightly/std/panic/index.html
1031 [`str::is_char_boundary`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.is_char_boundary
1032
1033
1034 Version 1.8.0 (2016-04-14)
1035 ==========================
1036
1037 Language
1038 --------
1039
1040 * Rust supports overloading of compound assignment statements like
1041   `+=` by implementing the [`AddAssign`], [`SubAssign`],
1042   [`MulAssign`], [`DivAssign`], [`RemAssign`], [`BitAndAssign`],
1043   [`BitOrAssign`], [`BitXorAssign`], [`ShlAssign`], or [`ShrAssign`]
1044   traits. [RFC 953].
1045 * Empty structs can be defined with braces, as in `struct Foo { }`, in
1046   addition to the non-braced form, `struct Foo;`. [RFC 218].
1047
1048 Libraries
1049 ---------
1050
1051 * Stabilized APIs:
1052   * [`str::encode_utf16`][] (renamed from `utf16_units`)
1053   * [`str::EncodeUtf16`][] (renamed from `Utf16Units`)
1054   * [`Ref::map`]
1055   * [`RefMut::map`]
1056   * [`ptr::drop_in_place`]
1057   * [`time::Instant`]
1058   * [`time::SystemTime`]
1059   * [`Instant::now`]
1060   * [`Instant::duration_since`][] (renamed from `duration_from_earlier`)
1061   * [`Instant::elapsed`]
1062   * [`SystemTime::now`]
1063   * [`SystemTime::duration_since`][] (renamed from `duration_from_earlier`)
1064   * [`SystemTime::elapsed`]
1065   * Various `Add`/`Sub` impls for `Time` and `SystemTime`
1066   * [`SystemTimeError`]
1067   * [`SystemTimeError::duration`]
1068   * Various impls for `SystemTimeError`
1069   * [`UNIX_EPOCH`]
1070   * [`AddAssign`], [`SubAssign`], [`MulAssign`], [`DivAssign`],
1071     [`RemAssign`], [`BitAndAssign`], [`BitOrAssign`],
1072     [`BitXorAssign`], [`ShlAssign`], [`ShrAssign`].
1073 * [The `write!` and `writeln!` macros correctly emit errors if any of
1074   their arguments can't be formatted][1.8w].
1075 * [Various I/O functions support large files on 32-bit Linux][1.8l].
1076 * [The Unix-specific `raw` modules, which contain a number of
1077   redefined C types are deprecated][1.8r], including `os::raw::unix`,
1078   `os::raw::macos`, and `os::raw::linux`. These modules defined types
1079   such as `ino_t` and `dev_t`. The inconsistency of these definitions
1080   across platforms was making it difficult to implement `std`
1081   correctly. Those that need these definitions should use the `libc`
1082   crate. [RFC 1415].
1083 * The Unix-specific `MetadataExt` traits, including
1084   `os::unix::fs::MetadataExt`, which expose values such as inode
1085   numbers [no longer return platform-specific types][1.8r], but
1086   instead return widened integers. [RFC 1415].
1087 * [`btree_set::{IntoIter, Iter, Range}` are covariant][1.8cv].
1088 * [Atomic loads and stores are not volatile][1.8a].
1089 * [All types in `sync::mpsc` implement `fmt::Debug`][1.8mp].
1090
1091 Performance
1092 -----------
1093
1094 * [Inlining hash functions lead to a 3% compile-time improvement in
1095   some workloads][1.8h].
1096 * When using jemalloc, its symbols are [unprefixed so that it
1097   overrides the libc malloc implementation][1.8h]. This means that for
1098   rustc, LLVM is now using jemalloc, which results in a 6%
1099   compile-time improvement on a specific workload.
1100 * [Avoid quadratic growth in function size due to cleanups][1.8cu].
1101
1102 Misc
1103 ----
1104
1105 * [32-bit MSVC builds finally implement unwinding][1.8ms].
1106   i686-pc-windows-msvc is now considered a tier-1 platform.
1107 * [The `--print targets` flag prints a list of supported targets][1.8t].
1108 * [The `--print cfg` flag prints the `cfg`s defined for the current
1109   target][1.8cf].
1110 * [`rustc` can be built with an new Cargo-based build system, written
1111   in Rust][1.8b].  It will eventually replace Rust's Makefile-based
1112   build system. To enable it configure with `configure --rustbuild`.
1113 * [Errors for non-exhaustive `match` patterns now list up to 3 missing
1114   variants while also indicating the total number of missing variants
1115   if more than 3][1.8m].
1116 * [Executable stacks are disabled on Linux and BSD][1.8nx].
1117 * The Rust Project now publishes binary releases of the standard
1118   library for a number of tier-2 targets:
1119   `armv7-unknown-linux-gnueabihf`, `powerpc-unknown-linux-gnu`,
1120   `powerpc64-unknown-linux-gnu`, `powerpc64le-unknown-linux-gnu`
1121   `x86_64-rumprun-netbsd`. These can be installed with
1122   tools such as [multirust][1.8mr].
1123
1124 Cargo
1125 -----
1126
1127 * [`cargo init` creates a new Cargo project in the current
1128   directory][1.8ci].  It is otherwise like `cargo new`.
1129 * [Cargo has configuration keys for `-v` and
1130   `--color`][1.8cc]. `verbose` and `color`, respectively, go in the
1131   `[term]` section of `.cargo/config`.
1132 * [Configuration keys that evaluate to strings or integers can be set
1133   via environment variables][1.8ce]. For example the `build.jobs` key
1134   can be set via `CARGO_BUILD_JOBS`. Environment variables take
1135   precedence over config files.
1136 * [Target-specific dependencies support Rust `cfg` syntax for
1137   describing targets][1.8cfg] so that dependencies for multiple
1138   targets can be specified together. [RFC 1361].
1139 * [The environment variables `CARGO_TARGET_ROOT`, `RUSTC`, and
1140   `RUSTDOC` take precedence over the `build.target-dir`,
1141   `build.rustc`, and `build.rustdoc` configuration values][1.8cv].
1142 * [The child process tree is killed on Windows when Cargo is
1143   killed][1.8ck].
1144 * [The `build.target` configuration value sets the target platform,
1145   like `--target`][1.8ct].
1146
1147 Compatibility Notes
1148 -------------------
1149
1150 * [Unstable compiler flags have been further restricted][1.8u]. Since
1151   1.0 `-Z` flags have been considered unstable, and other flags that
1152   were considered unstable additionally required passing `-Z
1153   unstable-options` to access. Unlike unstable language and library
1154   features though, these options have been accessible on the stable
1155   release channel. Going forward, *new unstable flags will not be
1156   available on the stable release channel*, and old unstable flags
1157   will warn about their usage. In the future, all unstable flags will
1158   be unavailable on the stable release channel.
1159 * [It is no longer possible to `match` on empty enum variants using
1160   the `Variant(..)` syntax][1.8v]. This has been a warning since 1.6.
1161 * The Unix-specific `MetadataExt` traits, including
1162   `os::unix::fs::MetadataExt`, which expose values such as inode
1163   numbers [no longer return platform-specific types][1.8r], but
1164   instead return widened integers. [RFC 1415].
1165 * [Modules sourced from the filesystem cannot appear within arbitrary
1166   blocks, but only within other modules][1.8mf].
1167 * [`--cfg` compiler flags are parsed strictly as identifiers][1.8c].
1168 * On Unix, [stack overflow triggers a runtime abort instead of a
1169   SIGSEGV][1.8so].
1170 * [`Command::spawn` and its equivalents return an error if any of
1171   its command-line arguments contain interior `NUL`s][1.8n].
1172 * [Tuple and unit enum variants from other crates are in the type
1173   namespace][1.8tn].
1174 * [On Windows `rustc` emits `.lib` files for the `staticlib` library
1175   type instead of `.a` files][1.8st]. Additionally, for the MSVC
1176   toolchain, `rustc` emits import libraries named `foo.dll.lib`
1177   instead of `foo.lib`.
1178
1179
1180 [1.8a]: https://github.com/rust-lang/rust/pull/30962
1181 [1.8b]: https://github.com/rust-lang/rust/pull/31123
1182 [1.8c]: https://github.com/rust-lang/rust/pull/31530
1183 [1.8cc]: https://github.com/rust-lang/cargo/pull/2397
1184 [1.8ce]: https://github.com/rust-lang/cargo/pull/2398
1185 [1.8cf]: https://github.com/rust-lang/rust/pull/31278
1186 [1.8cfg]: https://github.com/rust-lang/cargo/pull/2328
1187 [1.8ci]: https://github.com/rust-lang/cargo/pull/2081
1188 [1.8ck]: https://github.com/rust-lang/cargo/pull/2370
1189 [1.8ct]: https://github.com/rust-lang/cargo/pull/2335
1190 [1.8cu]: https://github.com/rust-lang/rust/pull/31390
1191 [1.8cv]: https://github.com/rust-lang/cargo/issues/2365
1192 [1.8cv]: https://github.com/rust-lang/rust/pull/30998
1193 [1.8h]: https://github.com/rust-lang/rust/pull/31460
1194 [1.8l]: https://github.com/rust-lang/rust/pull/31668
1195 [1.8m]: https://github.com/rust-lang/rust/pull/31020
1196 [1.8mf]: https://github.com/rust-lang/rust/pull/31534
1197 [1.8mp]: https://github.com/rust-lang/rust/pull/30894
1198 [1.8mr]: https://users.rust-lang.org/t/multirust-0-8-with-cross-std-installation/4901
1199 [1.8ms]: https://github.com/rust-lang/rust/pull/30448
1200 [1.8n]: https://github.com/rust-lang/rust/pull/31056
1201 [1.8nx]: https://github.com/rust-lang/rust/pull/30859
1202 [1.8r]: https://github.com/rust-lang/rust/pull/31551
1203 [1.8so]: https://github.com/rust-lang/rust/pull/31333
1204 [1.8st]: https://github.com/rust-lang/rust/pull/29520
1205 [1.8t]: https://github.com/rust-lang/rust/pull/31358
1206 [1.8tn]: https://github.com/rust-lang/rust/pull/30882
1207 [1.8u]: https://github.com/rust-lang/rust/pull/31793
1208 [1.8v]: https://github.com/rust-lang/rust/pull/31757
1209 [1.8w]: https://github.com/rust-lang/rust/pull/31904
1210 [RFC 1361]: https://github.com/rust-lang/rfcs/blob/master/text/1361-cargo-cfg-dependencies.md
1211 [RFC 1415]: https://github.com/rust-lang/rfcs/blob/master/text/1415-trim-std-os.md
1212 [RFC 218]: https://github.com/rust-lang/rfcs/blob/master/text/0218-empty-struct-with-braces.md
1213 [RFC 953]: https://github.com/rust-lang/rfcs/blob/master/text/0953-op-assign.md
1214 [`AddAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.AddAssign.html
1215 [`BitAndAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.BitAndAssign.html
1216 [`BitOrAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.BitOrAssign.html
1217 [`BitXorAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.BitXorAssign.html
1218 [`DivAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.DivAssign.html
1219 [`Instant::duration_since`]: http://doc.rust-lang.org/nightly/std/time/struct.Instant.html#method.duration_since
1220 [`Instant::elapsed`]: http://doc.rust-lang.org/nightly/std/time/struct.Instant.html#method.elapsed
1221 [`Instant::now`]: http://doc.rust-lang.org/nightly/std/time/struct.Instant.html#method.now
1222 [`MulAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.MulAssign.html
1223 [`Ref::map`]: http://doc.rust-lang.org/nightly/std/cell/struct.Ref.html#method.map
1224 [`RefMut::map`]: http://doc.rust-lang.org/nightly/std/cell/struct.RefMut.html#method.map
1225 [`RemAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.RemAssign.html
1226 [`ShlAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.ShlAssign.html
1227 [`ShrAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.ShrAssign.html
1228 [`SubAssign`]: http://doc.rust-lang.org/nightly/std/ops/trait.SubAssign.html
1229 [`SystemTime::duration_since`]: http://doc.rust-lang.org/nightly/std/time/struct.SystemTime.html#method.duration_since
1230 [`SystemTime::elapsed`]: http://doc.rust-lang.org/nightly/std/time/struct.SystemTime.html#method.elapsed
1231 [`SystemTime::now`]: http://doc.rust-lang.org/nightly/std/time/struct.SystemTime.html#method.now
1232 [`SystemTimeError::duration`]: http://doc.rust-lang.org/nightly/std/time/struct.SystemTimeError.html#method.duration
1233 [`SystemTimeError`]: http://doc.rust-lang.org/nightly/std/time/struct.SystemTimeError.html
1234 [`UNIX_EPOCH`]: http://doc.rust-lang.org/nightly/std/time/constant.UNIX_EPOCH.html
1235 [`ptr::drop_in_place`]: http://doc.rust-lang.org/nightly/std/ptr/fn.drop_in_place.html
1236 [`str::EncodeUtf16`]: http://doc.rust-lang.org/nightly/std/str/struct.EncodeUtf16.html
1237 [`str::encode_utf16`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.encode_utf16
1238 [`time::Instant`]: http://doc.rust-lang.org/nightly/std/time/struct.Instant.html
1239 [`time::SystemTime`]: http://doc.rust-lang.org/nightly/std/time/struct.SystemTime.html
1240
1241
1242 Version 1.7.0 (2016-03-03)
1243 ==========================
1244
1245 Libraries
1246 ---------
1247
1248 * Stabilized APIs
1249   * `Path`
1250     * [`Path::strip_prefix`][] (renamed from relative_from)
1251     * [`path::StripPrefixError`][] (new error type returned from strip_prefix)
1252   * `Ipv4Addr`
1253     * [`Ipv4Addr::is_loopback`]
1254     * [`Ipv4Addr::is_private`]
1255     * [`Ipv4Addr::is_link_local`]
1256     * [`Ipv4Addr::is_multicast`]
1257     * [`Ipv4Addr::is_broadcast`]
1258     * [`Ipv4Addr::is_documentation`]
1259   * `Ipv6Addr`
1260     * [`Ipv6Addr::is_unspecified`]
1261     * [`Ipv6Addr::is_loopback`]
1262     * [`Ipv6Addr::is_multicast`]
1263   * `Vec`
1264     * [`Vec::as_slice`]
1265     * [`Vec::as_mut_slice`]
1266   * `String`
1267     * [`String::as_str`]
1268     * [`String::as_mut_str`]
1269   * Slices
1270     * `<[T]>::`[`clone_from_slice`], which now requires the two slices to
1271     be the same length
1272     * `<[T]>::`[`sort_by_key`]
1273   * checked, saturated, and overflowing operations
1274     * [`i32::checked_rem`], [`i32::checked_neg`], [`i32::checked_shl`], [`i32::checked_shr`]
1275     * [`i32::saturating_mul`]
1276     * [`i32::overflowing_add`], [`i32::overflowing_sub`], [`i32::overflowing_mul`], [`i32::overflowing_div`]
1277     * [`i32::overflowing_rem`], [`i32::overflowing_neg`], [`i32::overflowing_shl`], [`i32::overflowing_shr`]
1278     * [`u32::checked_rem`], [`u32::checked_neg`], [`u32::checked_shl`], [`u32::checked_shl`]
1279     * [`u32::saturating_mul`]
1280     * [`u32::overflowing_add`], [`u32::overflowing_sub`], [`u32::overflowing_mul`], [`u32::overflowing_div`]
1281     * [`u32::overflowing_rem`], [`u32::overflowing_neg`], [`u32::overflowing_shl`], [`u32::overflowing_shr`]
1282     * and checked, saturated, and overflowing operations for other primitive types
1283   * FFI
1284     * [`ffi::IntoStringError`]
1285     * [`CString::into_string`]
1286     * [`CString::into_bytes`]
1287     * [`CString::into_bytes_with_nul`]
1288     * `From<CString> for Vec<u8>`
1289   * `IntoStringError`
1290     * [`IntoStringError::into_cstring`]
1291     * [`IntoStringError::utf8_error`]
1292     * `Error for IntoStringError`
1293   * Hashing
1294     * [`std::hash::BuildHasher`]
1295     * [`BuildHasher::Hasher`]
1296     * [`BuildHasher::build_hasher`]
1297     * [`std::hash::BuildHasherDefault`]
1298     * [`HashMap::with_hasher`]
1299     * [`HashMap::with_capacity_and_hasher`]
1300     * [`HashSet::with_hasher`]
1301     * [`HashSet::with_capacity_and_hasher`]
1302     * [`std::collections::hash_map::RandomState`]
1303     * [`RandomState::new`]
1304 * [Validating UTF-8 is faster by a factor of between 7 and 14x for
1305   ASCII input][1.7utf8]. This means that creating `String`s and `str`s
1306   from bytes is faster.
1307 * [The performance of `LineWriter` (and thus `io::stdout`) was
1308   improved by using `memchr` to search for newlines][1.7m].
1309 * [`f32::to_degrees` and `f32::to_radians` are stable][1.7f]. The
1310   `f64` variants were stabilized previously.
1311 * [`BTreeMap` was rewritten to use less memory and improve the performance
1312   of insertion and iteration, the latter by as much as 5x][1.7bm].
1313 * [`BTreeSet` and its iterators, `Iter`, `IntoIter`, and `Range` are
1314   covariant over their contained type][1.7bt].
1315 * [`LinkedList` and its iterators, `Iter` and `IntoIter` are covariant
1316   over their contained type][1.7ll].
1317 * [`str::replace` now accepts a `Pattern`][1.7rp], like other string
1318   searching methods.
1319 * [`Any` is implemented for unsized types][1.7a].
1320 * [`Hash` is implemented for `Duration`][1.7h].
1321
1322 Misc
1323 ----
1324
1325 * [When running tests with `--test`, rustdoc will pass `--cfg`
1326   arguments to the compiler][1.7dt].
1327 * [The compiler is built with RPATH information by default][1.7rpa].
1328   This means that it will be possible to run `rustc` when installed in
1329   unusual configurations without configuring the dynamic linker search
1330   path explicitly.
1331 * [`rustc` passes `--enable-new-dtags` to GNU ld][1.7dta]. This makes
1332   any RPATH entries (emitted with `-C rpath`) *not* take precedence
1333   over `LD_LIBRARY_PATH`.
1334
1335 Cargo
1336 -----
1337
1338 * [`cargo rustc` accepts a `--profile` flag that runs `rustc` under
1339   any of the compilation profiles, 'dev', 'bench', or 'test'][1.7cp].
1340 * [The `rerun-if-changed` build script directive no longer causes the
1341   build script to incorrectly run twice in certain scenarios][1.7rr].
1342
1343 Compatibility Notes
1344 -------------------
1345
1346 * Soundness fixes to the interactions between associated types and
1347   lifetimes, specified in [RFC 1214], [now generate errors][1.7sf] for
1348   code that violates the new rules. This is a significant change that
1349   is known to break existing code, so it has emitted warnings for the
1350   new error cases since 1.4 to give crate authors time to adapt. The
1351   details of what is changing are subtle; read the RFC for more.
1352 * [Several bugs in the compiler's visibility calculations were
1353   fixed][1.7v]. Since this was found to break significant amounts of
1354   code, the new errors will be emitted as warnings for several release
1355   cycles, under the `private_in_public` lint.
1356 * Defaulted type parameters were accidentally accepted in positions
1357   that were not intended. In this release, [defaulted type parameters
1358   appearing outside of type definitions will generate a
1359   warning][1.7d], which will become an error in future releases.
1360 * [Parsing "." as a float results in an error instead of 0][1.7p].
1361   That is, `".".parse::<f32>()` returns `Err`, not `Ok(0.0)`.
1362 * [Borrows of closure parameters may not outlive the closure][1.7bc].
1363
1364 [1.7a]: https://github.com/rust-lang/rust/pull/30928
1365 [1.7bc]: https://github.com/rust-lang/rust/pull/30341
1366 [1.7bm]: https://github.com/rust-lang/rust/pull/30426
1367 [1.7bt]: https://github.com/rust-lang/rust/pull/30998
1368 [1.7cp]: https://github.com/rust-lang/cargo/pull/2224
1369 [1.7d]: https://github.com/rust-lang/rust/pull/30724
1370 [1.7dt]: https://github.com/rust-lang/rust/pull/30372
1371 [1.7dta]: https://github.com/rust-lang/rust/pull/30394
1372 [1.7f]: https://github.com/rust-lang/rust/pull/30672
1373 [1.7h]: https://github.com/rust-lang/rust/pull/30818
1374 [1.7ll]: https://github.com/rust-lang/rust/pull/30663
1375 [1.7m]: https://github.com/rust-lang/rust/pull/30381
1376 [1.7p]: https://github.com/rust-lang/rust/pull/30681
1377 [1.7rp]: https://github.com/rust-lang/rust/pull/29498
1378 [1.7rpa]: https://github.com/rust-lang/rust/pull/30353
1379 [1.7rr]: https://github.com/rust-lang/cargo/pull/2279
1380 [1.7sf]: https://github.com/rust-lang/rust/pull/30389
1381 [1.7utf8]: https://github.com/rust-lang/rust/pull/30740
1382 [1.7v]: https://github.com/rust-lang/rust/pull/29973
1383 [RFC 1214]: https://github.com/rust-lang/rfcs/blob/master/text/1214-projections-lifetimes-and-wf.md
1384 [`BuildHasher::Hasher`]: http://doc.rust-lang.org/nightly/std/hash/trait.Hasher.html
1385 [`BuildHasher::build_hasher`]: http://doc.rust-lang.org/nightly/std/hash/trait.BuildHasher.html#tymethod.build_hasher
1386 [`CString::into_bytes_with_nul`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.into_bytes_with_nul
1387 [`CString::into_bytes`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.into_bytes
1388 [`CString::into_string`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.into_string
1389 [`HashMap::with_capacity_and_hasher`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashMap.html#method.with_capacity_and_hasher
1390 [`HashMap::with_hasher`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashMap.html#method.with_hasher
1391 [`HashSet::with_capacity_and_hasher`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.with_capacity_and_hasher
1392 [`HashSet::with_hasher`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.with_hasher
1393 [`IntoStringError::into_cstring`]: http://doc.rust-lang.org/nightly/std/ffi/struct.IntoStringError.html#method.into_cstring
1394 [`IntoStringError::utf8_error`]: http://doc.rust-lang.org/nightly/std/ffi/struct.IntoStringError.html#method.utf8_error
1395 [`Ipv4Addr::is_broadcast`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_broadcast
1396 [`Ipv4Addr::is_documentation`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_documentation
1397 [`Ipv4Addr::is_link_local`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_link_local
1398 [`Ipv4Addr::is_loopback`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_loopback
1399 [`Ipv4Addr::is_multicast`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_multicast
1400 [`Ipv4Addr::is_private`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_private
1401 [`Ipv6Addr::is_loopback`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv6Addr.html#method.is_loopback
1402 [`Ipv6Addr::is_multicast`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv6Addr.html#method.is_multicast
1403 [`Ipv6Addr::is_unspecified`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv6Addr.html#method.is_unspecified
1404 [`Path::strip_prefix`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.strip_prefix
1405 [`RandomState::new`]: http://doc.rust-lang.org/nightly/std/collections/hash_map/struct.RandomState.html#method.new
1406 [`String::as_mut_str`]: http://doc.rust-lang.org/nightly/std/string/struct.String.html#method.as_mut_str
1407 [`String::as_str`]: http://doc.rust-lang.org/nightly/std/string/struct.String.html#method.as_str
1408 [`Vec::as_mut_slice`]: http://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#method.as_mut_slice
1409 [`Vec::as_slice`]: http://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#method.as_slice
1410 [`clone_from_slice`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.clone_from_slice
1411 [`ffi::IntoStringError`]: http://doc.rust-lang.org/nightly/std/ffi/struct.IntoStringError.html
1412 [`i32::checked_neg`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.checked_neg
1413 [`i32::checked_rem`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.checked_rem
1414 [`i32::checked_shl`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.checked_shl
1415 [`i32::checked_shr`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.checked_shr
1416 [`i32::overflowing_add`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_add
1417 [`i32::overflowing_div`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_div
1418 [`i32::overflowing_mul`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_mul
1419 [`i32::overflowing_neg`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_neg
1420 [`i32::overflowing_rem`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_rem
1421 [`i32::overflowing_shl`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_shl
1422 [`i32::overflowing_shr`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_shr
1423 [`i32::overflowing_sub`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_sub
1424 [`i32::saturating_mul`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.saturating_mul
1425 [`path::StripPrefixError`]: http://doc.rust-lang.org/nightly/std/path/struct.StripPrefixError.html
1426 [`sort_by_key`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.sort_by_key
1427 [`std::collections::hash_map::RandomState`]: http://doc.rust-lang.org/nightly/std/collections/hash_map/struct.RandomState.html
1428 [`std::hash::BuildHasherDefault`]: http://doc.rust-lang.org/nightly/std/hash/struct.BuildHasherDefault.html
1429 [`std::hash::BuildHasher`]: http://doc.rust-lang.org/nightly/std/hash/trait.BuildHasher.html
1430 [`u32::checked_neg`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.checked_neg
1431 [`u32::checked_rem`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.checked_rem
1432 [`u32::checked_neg`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.checked_neg
1433 [`u32::checked_shl`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.checked_shl
1434 [`u32::overflowing_add`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_add
1435 [`u32::overflowing_div`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_div
1436 [`u32::overflowing_mul`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_mul
1437 [`u32::overflowing_neg`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_neg
1438 [`u32::overflowing_rem`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_rem
1439 [`u32::overflowing_shl`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_shl
1440 [`u32::overflowing_shr`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_shr
1441 [`u32::overflowing_sub`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_sub
1442 [`u32::saturating_mul`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.saturating_mul
1443
1444
1445 Version 1.6.0 (2016-01-21)
1446 ==========================
1447
1448 Language
1449 --------
1450
1451 * The `#![no_std]` attribute causes a crate to not be linked to the
1452   standard library, but only the [core library][1.6co], as described
1453   in [RFC 1184]. The core library defines common types and traits but
1454   has no platform dependencies whatsoever, and is the basis for Rust
1455   software in environments that cannot support a full port of the
1456   standard library, such as operating systems. Most of the core
1457   library is now stable.
1458
1459 Libraries
1460 ---------
1461
1462 * Stabilized APIs:
1463   [`Read::read_exact`],
1464   [`ErrorKind::UnexpectedEof`][] (renamed from `UnexpectedEOF`),
1465   [`fs::DirBuilder`], [`fs::DirBuilder::new`],
1466   [`fs::DirBuilder::recursive`], [`fs::DirBuilder::create`],
1467   [`os::unix::fs::DirBuilderExt`],
1468   [`os::unix::fs::DirBuilderExt::mode`], [`vec::Drain`],
1469   [`vec::Vec::drain`], [`string::Drain`], [`string::String::drain`],
1470   [`vec_deque::Drain`], [`vec_deque::VecDeque::drain`],
1471   [`collections::hash_map::Drain`],
1472   [`collections::hash_map::HashMap::drain`],
1473   [`collections::hash_set::Drain`],
1474   [`collections::hash_set::HashSet::drain`],
1475   [`collections::binary_heap::Drain`],
1476   [`collections::binary_heap::BinaryHeap::drain`],
1477   [`Vec::extend_from_slice`][] (renamed from `push_all`),
1478   [`Mutex::get_mut`], [`Mutex::into_inner`], [`RwLock::get_mut`],
1479   [`RwLock::into_inner`],
1480   [`Iterator::min_by_key`][] (renamed from `min_by`),
1481   [`Iterator::max_by_key`][] (renamed from `max_by`).
1482 * The [core library][1.6co] is stable, as are most of its APIs.
1483 * [The `assert_eq!` macro supports arguments that don't implement
1484   `Sized`][1.6ae], such as arrays. In this way it behaves more like
1485   `assert!`.
1486 * Several timer functions that take duration in milliseconds [are
1487   deprecated in favor of those that take `Duration`][1.6ms]. These
1488   include `Condvar::wait_timeout_ms`, `thread::sleep_ms`, and
1489   `thread::park_timeout_ms`.
1490 * The algorithm by which `Vec` reserves additional elements was
1491   [tweaked to not allocate excessive space][1.6a] while still growing
1492   exponentially.
1493 * `From` conversions are [implemented from integers to floats][1.6f]
1494   in cases where the conversion is lossless. Thus they are not
1495   implemented for 32-bit ints to `f32`, nor for 64-bit ints to `f32`
1496   or `f64`. They are also not implemented for `isize` and `usize`
1497   because the implementations would be platform-specific. `From` is
1498   also implemented from `f32` to `f64`.
1499 * `From<&Path>` and `From<PathBuf>` are implemented for `Cow<Path>`.
1500 * `From<T>` is implemented for `Box<T>`, `Rc<T>` and `Arc<T>`.
1501 * `IntoIterator` is implemented for `&PathBuf` and `&Path`.
1502 * [`BinaryHeap` was refactored][1.6bh] for modest performance
1503   improvements.
1504 * Sorting slices that are already sorted [is 50% faster in some
1505   cases][1.6s].
1506
1507 Cargo
1508 -----
1509
1510 * Cargo will look in `$CARGO_HOME/bin` for subcommands [by default][1.6c].
1511 * Cargo build scripts can specify their dependencies by emitting the
1512   [`rerun-if-changed`][1.6rr] key.
1513 * crates.io will reject publication of crates with dependencies that
1514   have a wildcard version constraint. Crates with wildcard
1515   dependencies were seen to cause a variety of problems, as described
1516   in [RFC 1241]. Since 1.5 publication of such crates has emitted a
1517   warning.
1518 * `cargo clean` [accepts a `--release` flag][1.6cc] to clean the
1519   release folder.  A variety of artifacts that Cargo failed to clean
1520   are now correctly deleted.
1521
1522 Misc
1523 ----
1524
1525 * The `unreachable_code` lint [warns when a function call's argument
1526   diverges][1.6dv].
1527 * The parser indicates [failures that may be caused by
1528   confusingly-similar Unicode characters][1.6uc]
1529 * Certain macro errors [are reported at definition time][1.6m], not
1530   expansion.
1531
1532 Compatibility Notes
1533 -------------------
1534
1535 * The compiler no longer makes use of the [`RUST_PATH`][1.6rp]
1536   environment variable when locating crates. This was a pre-cargo
1537   feature for integrating with the package manager that was
1538   accidentally never removed.
1539 * [A number of bugs were fixed in the privacy checker][1.6p] that
1540   could cause previously-accepted code to break.
1541 * [Modules and unit/tuple structs may not share the same name][1.6ts].
1542 * [Bugs in pattern matching unit structs were fixed][1.6us]. The tuple
1543   struct pattern syntax (`Foo(..)`) can no longer be used to match
1544   unit structs. This is a warning now, but will become an error in
1545   future releases. Patterns that share the same name as a const are
1546   now an error.
1547 * A bug was fixed that causes [rustc not to apply default type
1548   parameters][1.6xc] when resolving certain method implementations of
1549   traits defined in other crates.
1550
1551 [1.6a]: https://github.com/rust-lang/rust/pull/29454
1552 [1.6ae]: https://github.com/rust-lang/rust/pull/29770
1553 [1.6bh]: https://github.com/rust-lang/rust/pull/29811
1554 [1.6c]: https://github.com/rust-lang/cargo/pull/2192
1555 [1.6cc]: https://github.com/rust-lang/cargo/pull/2131
1556 [1.6co]: http://doc.rust-lang.org/beta/core/index.html
1557 [1.6dv]: https://github.com/rust-lang/rust/pull/30000
1558 [1.6f]: https://github.com/rust-lang/rust/pull/29129
1559 [1.6m]: https://github.com/rust-lang/rust/pull/29828
1560 [1.6ms]: https://github.com/rust-lang/rust/pull/29604
1561 [1.6p]: https://github.com/rust-lang/rust/pull/29726
1562 [1.6rp]: https://github.com/rust-lang/rust/pull/30034
1563 [1.6rr]: https://github.com/rust-lang/cargo/pull/2134
1564 [1.6s]: https://github.com/rust-lang/rust/pull/29675
1565 [1.6ts]: https://github.com/rust-lang/rust/issues/21546
1566 [1.6uc]: https://github.com/rust-lang/rust/pull/29837
1567 [1.6us]: https://github.com/rust-lang/rust/pull/29383
1568 [1.6xc]: https://github.com/rust-lang/rust/issues/30123
1569 [RFC 1184]: https://github.com/rust-lang/rfcs/blob/master/text/1184-stabilize-no_std.md
1570 [RFC 1241]: https://github.com/rust-lang/rfcs/blob/master/text/1241-no-wildcard-deps.md
1571 [`ErrorKind::UnexpectedEof`]: http://doc.rust-lang.org/nightly/std/io/enum.ErrorKind.html#variant.UnexpectedEof
1572 [`Iterator::max_by_key`]: http://doc.rust-lang.org/nightly/std/iter/trait.Iterator.html#method.max_by_key
1573 [`Iterator::min_by_key`]: http://doc.rust-lang.org/nightly/std/iter/trait.Iterator.html#method.min_by_key
1574 [`Mutex::get_mut`]: http://doc.rust-lang.org/nightly/std/sync/struct.Mutex.html#method.get_mut
1575 [`Mutex::into_inner`]: http://doc.rust-lang.org/nightly/std/sync/struct.Mutex.html#method.into_inner
1576 [`Read::read_exact`]: http://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.read_exact
1577 [`RwLock::get_mut`]: http://doc.rust-lang.org/nightly/std/sync/struct.RwLock.html#method.get_mut
1578 [`RwLock::into_inner`]: http://doc.rust-lang.org/nightly/std/sync/struct.RwLock.html#method.into_inner
1579 [`Vec::extend_from_slice`]: http://doc.rust-lang.org/nightly/collections/vec/struct.Vec.html#method.extend_from_slice
1580 [`collections::binary_heap::BinaryHeap::drain`]: http://doc.rust-lang.org/nightly/std/collections/binary_heap/struct.BinaryHeap.html#method.drain
1581 [`collections::binary_heap::Drain`]: http://doc.rust-lang.org/nightly/std/collections/binary_heap/struct.Drain.html
1582 [`collections::hash_map::Drain`]: http://doc.rust-lang.org/nightly/std/collections/hash_map/struct.Drain.html
1583 [`collections::hash_map::HashMap::drain`]: http://doc.rust-lang.org/nightly/std/collections/hash_map/struct.HashMap.html#method.drain
1584 [`collections::hash_set::Drain`]: http://doc.rust-lang.org/nightly/std/collections/hash_set/struct.Drain.html
1585 [`collections::hash_set::HashSet::drain`]: http://doc.rust-lang.org/nightly/std/collections/hash_set/struct.HashSet.html#method.drain
1586 [`fs::DirBuilder::create`]: http://doc.rust-lang.org/nightly/std/fs/struct.DirBuilder.html#method.create
1587 [`fs::DirBuilder::new`]: http://doc.rust-lang.org/nightly/std/fs/struct.DirBuilder.html#method.new
1588 [`fs::DirBuilder::recursive`]: http://doc.rust-lang.org/nightly/std/fs/struct.DirBuilder.html#method.recursive
1589 [`fs::DirBuilder`]: http://doc.rust-lang.org/nightly/std/fs/struct.DirBuilder.html
1590 [`os::unix::fs::DirBuilderExt::mode`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.DirBuilderExt.html#tymethod.mode
1591 [`os::unix::fs::DirBuilderExt`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.DirBuilderExt.html
1592 [`string::Drain`]: http://doc.rust-lang.org/nightly/std/string/struct.Drain.html
1593 [`string::String::drain`]: http://doc.rust-lang.org/nightly/std/string/struct.String.html#method.drain
1594 [`vec::Drain`]: http://doc.rust-lang.org/nightly/std/vec/struct.Drain.html
1595 [`vec::Vec::drain`]: http://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#method.drain
1596 [`vec_deque::Drain`]: http://doc.rust-lang.org/nightly/std/collections/vec_deque/struct.Drain.html
1597 [`vec_deque::VecDeque::drain`]: http://doc.rust-lang.org/nightly/std/collections/vec_deque/struct.VecDeque.html#method.drain
1598
1599
1600 Version 1.5.0 (2015-12-10)
1601 ==========================
1602
1603 * ~700 changes, numerous bugfixes
1604
1605 Highlights
1606 ----------
1607
1608 * Stabilized APIs:
1609   [`BinaryHeap::from`], [`BinaryHeap::into_sorted_vec`],
1610   [`BinaryHeap::into_vec`], [`Condvar::wait_timeout`],
1611   [`FileTypeExt::is_block_device`], [`FileTypeExt::is_char_device`],
1612   [`FileTypeExt::is_fifo`], [`FileTypeExt::is_socket`],
1613   [`FileTypeExt`], [`Formatter::alternate`], [`Formatter::fill`],
1614   [`Formatter::precision`], [`Formatter::sign_aware_zero_pad`],
1615   [`Formatter::sign_minus`], [`Formatter::sign_plus`],
1616   [`Formatter::width`], [`Iterator::cmp`], [`Iterator::eq`],
1617   [`Iterator::ge`], [`Iterator::gt`], [`Iterator::le`],
1618   [`Iterator::lt`], [`Iterator::ne`], [`Iterator::partial_cmp`],
1619   [`Path::canonicalize`], [`Path::exists`], [`Path::is_dir`],
1620   [`Path::is_file`], [`Path::metadata`], [`Path::read_dir`],
1621   [`Path::read_link`], [`Path::symlink_metadata`],
1622   [`Utf8Error::valid_up_to`], [`Vec::resize`],
1623   [`VecDeque::as_mut_slices`], [`VecDeque::as_slices`],
1624   [`VecDeque::insert`], [`VecDeque::shrink_to_fit`],
1625   [`VecDeque::swap_remove_back`], [`VecDeque::swap_remove_front`],
1626   [`slice::split_first_mut`], [`slice::split_first`],
1627   [`slice::split_last_mut`], [`slice::split_last`],
1628   [`char::from_u32_unchecked`], [`fs::canonicalize`],
1629   [`str::MatchIndices`], [`str::RMatchIndices`],
1630   [`str::match_indices`], [`str::rmatch_indices`],
1631   [`str::slice_mut_unchecked`], [`string::ParseError`].
1632 * Rust applications hosted on crates.io can be installed locally to
1633   `~/.cargo/bin` with the [`cargo install`] command. Among other
1634   things this makes it easier to augment Cargo with new subcommands:
1635   when a binary named e.g. `cargo-foo` is found in `$PATH` it can be
1636   invoked as `cargo foo`.
1637 * Crates with wildcard (`*`) dependencies will [emit warnings when
1638   published][1.5w]. In 1.6 it will no longer be possible to publish
1639   crates with wildcard dependencies.
1640
1641 Breaking Changes
1642 ----------------
1643
1644 * The rules determining when a particular lifetime must outlive
1645   a particular value (known as '[dropck]') have been [modified
1646   to not rely on parametricity][1.5p].
1647 * [Implementations of `AsRef` and `AsMut` were added to `Box`, `Rc`,
1648   and `Arc`][1.5a]. Because these smart pointer types implement
1649   `Deref`, this causes breakage in cases where the interior type
1650   contains methods of the same name.
1651 * [Correct a bug in Rc/Arc][1.5c] that caused [dropck] to be unaware
1652   that they could drop their content. Soundness fix.
1653 * All method invocations are [properly checked][1.5wf1] for
1654   [well-formedness][1.5wf2]. Soundness fix.
1655 * Traits whose supertraits contain `Self` are [not object
1656   safe][1.5o]. Soundness fix.
1657 * Target specifications support a [`no_default_libraries`][1.5nd]
1658   setting that controls whether `-nodefaultlibs` is passed to the
1659   linker, and in turn the `is_like_windows` setting no longer affects
1660   the `-nodefaultlibs` flag.
1661 * `#[derive(Show)]`, long-deprecated, [has been removed][1.5ds].
1662 * The `#[inline]` and `#[repr]` attributes [can only appear
1663   in valid locations][1.5at].
1664 * Native libraries linked from the local crate are [passed to
1665   the linker before native libraries from upstream crates][1.5nl].
1666 * Two rarely-used attributes, `#[no_debug]` and
1667   `#[omit_gdb_pretty_printer_section]` [are feature gated][1.5fg].
1668 * Negation of unsigned integers, which has been a warning for
1669   several releases, [is now behind a feature gate and will
1670   generate errors][1.5nu].
1671 * The parser accidentally accepted visibility modifiers on
1672   enum variants, a bug [which has been fixed][1.5ev].
1673 * [A bug was fixed that allowed `use` statements to import unstable
1674   features][1.5use].
1675
1676 Language
1677 --------
1678
1679 * When evaluating expressions at compile-time that are not
1680   compile-time constants (const-evaluating expressions in non-const
1681   contexts), incorrect code such as overlong bitshifts and arithmetic
1682   overflow will [generate a warning instead of an error][1.5ce],
1683   delaying the error until runtime. This will allow the
1684   const-evaluator to be expanded in the future backwards-compatibly.
1685 * The `improper_ctypes` lint [no longer warns about using `isize` and
1686   `usize` in FFI][1.5ict].
1687
1688 Libraries
1689 ---------
1690
1691 * `Arc<T>` and `Rc<T>` are [covariant with respect to `T` instead of
1692   invariant][1.5c].
1693 * `Default` is [implemented for mutable slices][1.5d].
1694 * `FromStr` is [implemented for `SockAddrV4` and `SockAddrV6`][1.5s].
1695 * There are now `From` conversions [between floating point
1696   types][1.5f] where the conversions are lossless.
1697 * Thera are now `From` conversions [between integer types][1.5i] where
1698   the conversions are lossless.
1699 * [`fs::Metadata` implements `Clone`][1.5fs].
1700 * The `parse` method [accepts a leading "+" when parsing
1701   integers][1.5pi].
1702 * [`AsMut` is implemented for `Vec`][1.5am].
1703 * The `clone_from` implementations for `String` and `BinaryHeap` [have
1704   been optimized][1.5cf] and no longer rely on the default impl.
1705 * The `extern "Rust"`, `extern "C"`, `unsafe extern "Rust"` and
1706   `unsafe extern "C"` function types now [implement `Clone`,
1707   `PartialEq`, `Eq`, `PartialOrd`, `Ord`, `Hash`, `fmt::Pointer`, and
1708   `fmt::Debug` for up to 12 arguments][1.5fp].
1709 * [Dropping `Vec`s is much faster in unoptimized builds when the
1710   element types don't implement `Drop`][1.5dv].
1711 * A bug that caused in incorrect behavior when [combining `VecDeque`
1712   with zero-sized types][1.5vdz] was resolved.
1713 * [`PartialOrd` for slices is faster][1.5po].
1714
1715 Miscellaneous
1716 -------------
1717
1718 * [Crate metadata size was reduced by 20%][1.5md].
1719 * [Improvements to code generation reduced the size of libcore by 3.3
1720   MB and rustc's memory usage by 18MB][1.5m].
1721 * [Improvements to deref translation increased performance in
1722   unoptimized builds][1.5dr].
1723 * Various errors in trait resolution [are deduplicated to only be
1724   reported once][1.5te].
1725 * Rust has preliminary [support for rumprun kernels][1.5rr].
1726 * Rust has preliminary [support for NetBSD on amd64][1.5na].
1727
1728 [1.5use]: https://github.com/rust-lang/rust/pull/28364
1729 [1.5po]: https://github.com/rust-lang/rust/pull/28436
1730 [1.5ev]: https://github.com/rust-lang/rust/pull/28442
1731 [1.5nu]: https://github.com/rust-lang/rust/pull/28468
1732 [1.5dr]: https://github.com/rust-lang/rust/pull/28491
1733 [1.5vdz]: https://github.com/rust-lang/rust/pull/28494
1734 [1.5md]: https://github.com/rust-lang/rust/pull/28521
1735 [1.5fg]: https://github.com/rust-lang/rust/pull/28522
1736 [1.5dv]: https://github.com/rust-lang/rust/pull/28531
1737 [1.5na]: https://github.com/rust-lang/rust/pull/28543
1738 [1.5fp]: https://github.com/rust-lang/rust/pull/28560
1739 [1.5rr]: https://github.com/rust-lang/rust/pull/28593
1740 [1.5cf]: https://github.com/rust-lang/rust/pull/28602
1741 [1.5nl]: https://github.com/rust-lang/rust/pull/28605
1742 [1.5te]: https://github.com/rust-lang/rust/pull/28645
1743 [1.5at]: https://github.com/rust-lang/rust/pull/28650
1744 [1.5am]: https://github.com/rust-lang/rust/pull/28663
1745 [1.5m]: https://github.com/rust-lang/rust/pull/28778
1746 [1.5ict]: https://github.com/rust-lang/rust/pull/28779
1747 [1.5a]: https://github.com/rust-lang/rust/pull/28811
1748 [1.5pi]: https://github.com/rust-lang/rust/pull/28826
1749 [1.5ce]: https://github.com/rust-lang/rfcs/blob/master/text/1229-compile-time-asserts.md
1750 [1.5p]: https://github.com/rust-lang/rfcs/blob/master/text/1238-nonparametric-dropck.md
1751 [1.5i]: https://github.com/rust-lang/rust/pull/28921
1752 [1.5fs]: https://github.com/rust-lang/rust/pull/29021
1753 [1.5f]: https://github.com/rust-lang/rust/pull/29129
1754 [1.5ds]: https://github.com/rust-lang/rust/pull/29148
1755 [1.5s]: https://github.com/rust-lang/rust/pull/29190
1756 [1.5d]: https://github.com/rust-lang/rust/pull/29245
1757 [1.5o]: https://github.com/rust-lang/rust/pull/29259
1758 [1.5nd]: https://github.com/rust-lang/rust/pull/28578
1759 [1.5wf2]: https://github.com/rust-lang/rfcs/blob/master/text/1214-projections-lifetimes-and-wf.md
1760 [1.5wf1]: https://github.com/rust-lang/rust/pull/28669
1761 [dropck]: https://doc.rust-lang.org/nightly/nomicon/dropck.html
1762 [1.5c]: https://github.com/rust-lang/rust/pull/29110
1763 [1.5w]: https://github.com/rust-lang/rfcs/blob/master/text/1241-no-wildcard-deps.md
1764 [`cargo install`]: https://github.com/rust-lang/rfcs/blob/master/text/1200-cargo-install.md
1765 [`BinaryHeap::from`]: http://doc.rust-lang.org/nightly/std/convert/trait.From.html#method.from
1766 [`BinaryHeap::into_sorted_vec`]: http://doc.rust-lang.org/nightly/std/collections/struct.BinaryHeap.html#method.into_sorted_vec
1767 [`BinaryHeap::into_vec`]: http://doc.rust-lang.org/nightly/std/collections/struct.BinaryHeap.html#method.into_vec
1768 [`Condvar::wait_timeout`]: http://doc.rust-lang.org/nightly/std/sync/struct.Condvar.html#method.wait_timeout
1769 [`FileTypeExt::is_block_device`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.FileTypeExt.html#tymethod.is_block_device
1770 [`FileTypeExt::is_char_device`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.FileTypeExt.html#tymethod.is_char_device
1771 [`FileTypeExt::is_fifo`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.FileTypeExt.html#tymethod.is_fifo
1772 [`FileTypeExt::is_socket`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.FileTypeExt.html#tymethod.is_socket
1773 [`FileTypeExt`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/trait.FileTypeExt.html
1774 [`Formatter::alternate`]: http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.alternate
1775 [`Formatter::fill`]: http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.fill
1776 [`Formatter::precision`]: http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.precision
1777 [`Formatter::sign_aware_zero_pad`]: http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.sign_aware_zero_pad
1778 [`Formatter::sign_minus`]: http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.sign_minus
1779 [`Formatter::sign_plus`]: http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.sign_plus
1780 [`Formatter::width`]: http://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.width
1781 [`Iterator::cmp`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.cmp
1782 [`Iterator::eq`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.eq
1783 [`Iterator::ge`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.ge
1784 [`Iterator::gt`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.gt
1785 [`Iterator::le`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.le
1786 [`Iterator::lt`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.lt
1787 [`Iterator::ne`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.ne
1788 [`Iterator::partial_cmp`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.partial_cmp
1789 [`Path::canonicalize`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.canonicalize
1790 [`Path::exists`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.exists
1791 [`Path::is_dir`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.is_dir
1792 [`Path::is_file`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.is_file
1793 [`Path::metadata`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.metadata
1794 [`Path::read_dir`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.read_dir
1795 [`Path::read_link`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.read_link
1796 [`Path::symlink_metadata`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.symlink_metadata
1797 [`Utf8Error::valid_up_to`]: http://doc.rust-lang.org/nightly/core/str/struct.Utf8Error.html#method.valid_up_to
1798 [`Vec::resize`]: http://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#method.resize
1799 [`VecDeque::as_mut_slices`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.as_mut_slices
1800 [`VecDeque::as_slices`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.as_slices
1801 [`VecDeque::insert`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.insert
1802 [`VecDeque::shrink_to_fit`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.shrink_to_fit
1803 [`VecDeque::swap_remove_back`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.swap_remove_back
1804 [`VecDeque::swap_remove_front`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.swap_remove_front
1805 [`slice::split_first_mut`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.split_first_mut
1806 [`slice::split_first`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.split_first
1807 [`slice::split_last_mut`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.split_last_mut
1808 [`slice::split_last`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.split_last
1809 [`char::from_u32_unchecked`]: http://doc.rust-lang.org/nightly/std/char/fn.from_u32_unchecked.html
1810 [`fs::canonicalize`]: http://doc.rust-lang.org/nightly/std/fs/fn.canonicalize.html
1811 [`str::MatchIndices`]: http://doc.rust-lang.org/nightly/std/str/struct.MatchIndices.html
1812 [`str::RMatchIndices`]: http://doc.rust-lang.org/nightly/std/str/struct.RMatchIndices.html
1813 [`str::match_indices`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.match_indices
1814 [`str::rmatch_indices`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.rmatch_indices
1815 [`str::slice_mut_unchecked`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.slice_mut_unchecked
1816 [`string::ParseError`]: http://doc.rust-lang.org/nightly/std/string/enum.ParseError.html
1817
1818 Version 1.4.0 (2015-10-29)
1819 ==========================
1820
1821 * ~1200 changes, numerous bugfixes
1822
1823 Highlights
1824 ----------
1825
1826 * Windows builds targeting the 64-bit MSVC ABI and linker (instead of
1827   GNU) are now supported and recommended for use.
1828
1829 Breaking Changes
1830 ----------------
1831
1832 * [Several changes have been made to fix type soundness and improve
1833   the behavior of associated types][sound]. See [RFC 1214]. Although
1834   we have mostly introduced these changes as warnings this release, to
1835   become errors next release, there are still some scenarios that will
1836   see immediate breakage.
1837 * [The `str::lines` and `BufRead::lines` iterators treat `\r\n` as
1838   line breaks in addition to `\n`][crlf].
1839 * [Loans of `'static` lifetime extend to the end of a function][stat].
1840 * [`str::parse` no longer introduces avoidable rounding error when
1841   parsing floating point numbers. Together with earlier changes to
1842   float formatting/output, "round trips" like f.to_string().parse()
1843   now preserve the value of f exactly. Additionally, leading plus
1844   signs are now accepted][fp3].
1845
1846
1847 Language
1848 --------
1849
1850 * `use` statements that import multiple items [can now rename
1851   them][i], as in `use foo::{bar as kitten, baz as puppy}`.
1852 * [Binops work correctly on fat pointers][binfat].
1853 * `pub extern crate`, which does not behave as expected, [issues a
1854   warning][pec] until a better solution is found.
1855
1856 Libraries
1857 ---------
1858
1859 * [Many APIs were stabilized][stab]: `<Box<str>>::into_string`,
1860   [`Arc::downgrade`], [`Arc::get_mut`], [`Arc::make_mut`],
1861   [`Arc::try_unwrap`], [`Box::from_raw`], [`Box::into_raw`], [`CStr::to_str`],
1862   [`CStr::to_string_lossy`], [`CString::from_raw`], [`CString::into_raw`],
1863   [`IntoRawFd::into_raw_fd`], [`IntoRawFd`],
1864   `IntoRawHandle::into_raw_handle`, `IntoRawHandle`,
1865   `IntoRawSocket::into_raw_socket`, `IntoRawSocket`, [`Rc::downgrade`],
1866   [`Rc::get_mut`], [`Rc::make_mut`], [`Rc::try_unwrap`], [`Result::expect`],
1867   [`String::into_boxed_str`], [`TcpStream::read_timeout`],
1868   [`TcpStream::set_read_timeout`], [`TcpStream::set_write_timeout`],
1869   [`TcpStream::write_timeout`], [`UdpSocket::read_timeout`],
1870   [`UdpSocket::set_read_timeout`], [`UdpSocket::set_write_timeout`],
1871   [`UdpSocket::write_timeout`], `Vec::append`, `Vec::split_off`,
1872   [`VecDeque::append`], [`VecDeque::retain`], [`VecDeque::split_off`],
1873   [`rc::Weak::upgrade`], [`rc::Weak`], [`slice::Iter::as_slice`],
1874   [`slice::IterMut::into_slice`], [`str::CharIndices::as_str`],
1875   [`str::Chars::as_str`], [`str::split_at_mut`], [`str::split_at`],
1876   [`sync::Weak::upgrade`], [`sync::Weak`], [`thread::park_timeout`],
1877   [`thread::sleep`].
1878 * [Some APIs were deprecated][dep]: `BTreeMap::with_b`,
1879   `BTreeSet::with_b`, `Option::as_mut_slice`, `Option::as_slice`,
1880   `Result::as_mut_slice`, `Result::as_slice`, `f32::from_str_radix`,
1881   `f64::from_str_radix`.
1882 * [Reverse-searching strings is faster with the 'two-way'
1883   algorithm][s].
1884 * [`std::io::copy` allows `?Sized` arguments][cc].
1885 * The `Windows`, `Chunks`, and `ChunksMut` iterators over slices all
1886   [override `count`, `nth` and `last` with an O(1)
1887   implementation][it].
1888 * [`Default` is implemented for arrays up to `[T; 32]`][d].
1889 * [`IntoRawFd` has been added to the Unix-specific prelude,
1890   `IntoRawSocket` and `IntoRawHandle` to the Windows-specific
1891   prelude][pr].
1892 * [`Extend<String>` and `FromIterator<String` are both implemented for
1893   `String`][es].
1894 * [`IntoIterator` is implemented for references to `Option` and
1895   `Result`][into2].
1896 * [`HashMap` and `HashSet` implement `Extend<&T>` where `T:
1897   Copy`][ext] as part of [RFC 839]. This will cause type inferance
1898   breakage in rare situations.
1899 * [`BinaryHeap` implements `Debug`][bh2].
1900 * [`Borrow` and `BorrowMut` are implemented for fixed-size
1901   arrays][bm].
1902 * [`extern fn`s with the "Rust" and "C" ABIs implement common
1903   traits including `Eq`, `Ord`, `Debug`, `Hash`][fp].
1904 * [String comparison is faster][faststr].
1905 * `&mut T` where `T: std::fmt::Write` [also implements
1906   `std::fmt::Write`][mutw].
1907 * [A stable regression in `VecDeque::push_back` and other
1908   capicity-altering methods that caused panics for zero-sized types
1909   was fixed][vd].
1910 * [Function pointers implement traits for up to 12 parameters][fp2].
1911
1912 Miscellaneous
1913 -------------
1914
1915 * The compiler [no longer uses the 'morestack' feature to prevent
1916   stack overflow][mm]. Instead it uses guard pages and stack
1917   probes (though stack probes are not yet implemented on any platform
1918   but Windows).
1919 * [The compiler matches traits faster when projections are involved][p].
1920 * The 'improper_ctypes' lint [no longer warns about use of `isize` and
1921   `usize`][ffi].
1922 * [Cargo now displays useful information about what its doing during
1923   `cargo update`][cu].
1924
1925 [`Arc::downgrade`]: http://doc.rust-lang.org/nightly/alloc/arc/struct.Arc.html#method.downgrade
1926 [`Arc::make_mut`]: http://doc.rust-lang.org/nightly/alloc/arc/struct.Arc.html#method.make_mut
1927 [`Arc::get_mut`]: http://doc.rust-lang.org/nightly/alloc/arc/struct.Arc.html#method.get_mut
1928 [`Arc::try_unwrap`]: http://doc.rust-lang.org/nightly/alloc/arc/struct.Arc.html#method.try_unwrap
1929 [`Box::from_raw`]: http://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html#method.from_raw
1930 [`Box::into_raw`]: http://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html#method.into_raw
1931 [`CStr::to_str`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html#method.to_str
1932 [`CStr::to_string_lossy`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html#method.to_string_lossy
1933 [`CString::from_raw`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.from_raw
1934 [`CString::into_raw`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.into_raw
1935 [`IntoRawFd::into_raw_fd`]: http://doc.rust-lang.org/nightly/std/os/unix/io/trait.IntoRawFd.html#tymethod.into_raw_fd
1936 [`IntoRawFd`]: http://doc.rust-lang.org/nightly/std/os/unix/io/trait.IntoRawFd.html
1937 [`Rc::downgrade`]: http://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html#method.downgrade
1938 [`Rc::get_mut`]: http://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html#method.get_mut
1939 [`Rc::make_mut`]: http://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html#method.make_mut
1940 [`Rc::try_unwrap`]: http://doc.rust-lang.org/nightly/alloc/rc/struct.Rc.html#method.try_unwrap
1941 [`Result::expect`]: http://doc.rust-lang.org/nightly/core/result/enum.Result.html#method.expect
1942 [`String::into_boxed_str`]: http://doc.rust-lang.org/nightly/collections/string/struct.String.html#method.into_boxed_str
1943 [`TcpStream::read_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.read_timeout
1944 [`TcpStream::set_read_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_read_timeout
1945 [`TcpStream::write_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.write_timeout
1946 [`TcpStream::set_write_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_write_timeout
1947 [`UdpSocket::read_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.read_timeout
1948 [`UdpSocket::set_read_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_read_timeout
1949 [`UdpSocket::write_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.write_timeout
1950 [`UdpSocket::set_write_timeout`]: http://doc.rust-lang.org/nightly/std/net/struct.TcpStream.html#method.set_write_timeout
1951 [`VecDeque::append`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.append
1952 [`VecDeque::retain`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.retain
1953 [`VecDeque::split_off`]: http://doc.rust-lang.org/nightly/std/collections/struct.VecDeque.html#method.split_off
1954 [`rc::Weak::upgrade`]: http://doc.rust-lang.org/nightly/std/rc/struct.Weak.html#method.upgrade
1955 [`rc::Weak`]: http://doc.rust-lang.org/nightly/std/rc/struct.Weak.html
1956 [`slice::Iter::as_slice`]: http://doc.rust-lang.org/nightly/std/slice/struct.Iter.html#method.as_slice
1957 [`slice::IterMut::into_slice`]: http://doc.rust-lang.org/nightly/std/slice/struct.IterMut.html#method.into_slice
1958 [`str::CharIndices::as_str`]: http://doc.rust-lang.org/nightly/std/str/struct.CharIndices.html#method.as_str
1959 [`str::Chars::as_str`]: http://doc.rust-lang.org/nightly/std/str/struct.Chars.html#method.as_str
1960 [`str::split_at_mut`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.split_at_mut
1961 [`str::split_at`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.split_at
1962 [`sync::Weak::upgrade`]: http://doc.rust-lang.org/nightly/std/sync/struct.Weak.html#method.upgrade
1963 [`sync::Weak`]: http://doc.rust-lang.org/nightly/std/sync/struct.Weak.html
1964 [`thread::park_timeout`]: http://doc.rust-lang.org/nightly/std/thread/fn.park_timeout.html
1965 [`thread::sleep`]: http://doc.rust-lang.org/nightly/std/thread/fn.sleep.html
1966 [bh2]: https://github.com/rust-lang/rust/pull/28156
1967 [binfat]: https://github.com/rust-lang/rust/pull/28270
1968 [bm]: https://github.com/rust-lang/rust/pull/28197
1969 [cc]: https://github.com/rust-lang/rust/pull/27531
1970 [crlf]: https://github.com/rust-lang/rust/pull/28034
1971 [cu]: https://github.com/rust-lang/cargo/pull/1931
1972 [d]: https://github.com/rust-lang/rust/pull/27825
1973 [dep]: https://github.com/rust-lang/rust/pull/28339
1974 [es]: https://github.com/rust-lang/rust/pull/27956
1975 [ext]: https://github.com/rust-lang/rust/pull/28094
1976 [faststr]: https://github.com/rust-lang/rust/pull/28338
1977 [ffi]: https://github.com/rust-lang/rust/pull/28779
1978 [fp]: https://github.com/rust-lang/rust/pull/28268
1979 [fp2]: https://github.com/rust-lang/rust/pull/28560
1980 [fp3]: https://github.com/rust-lang/rust/pull/27307
1981 [i]: https://github.com/rust-lang/rust/pull/27451
1982 [into2]: https://github.com/rust-lang/rust/pull/28039
1983 [it]: https://github.com/rust-lang/rust/pull/27652
1984 [mm]: https://github.com/rust-lang/rust/pull/27338
1985 [mutw]: https://github.com/rust-lang/rust/pull/28368
1986 [sound]: https://github.com/rust-lang/rust/pull/27641
1987 [p]: https://github.com/rust-lang/rust/pull/27866
1988 [pec]: https://github.com/rust-lang/rust/pull/28486
1989 [pr]: https://github.com/rust-lang/rust/pull/27896
1990 [RFC 839]: https://github.com/rust-lang/rfcs/blob/master/text/0839-embrace-extend-extinguish.md
1991 [RFC 1214]: https://github.com/rust-lang/rfcs/blob/master/text/1214-projections-lifetimes-and-wf.md
1992 [s]: https://github.com/rust-lang/rust/pull/27474
1993 [stab]: https://github.com/rust-lang/rust/pull/28339
1994 [stat]: https://github.com/rust-lang/rust/pull/28321
1995 [vd]: https://github.com/rust-lang/rust/pull/28494
1996
1997 Version 1.3.0 (2015-09-17)
1998 ==============================
1999
2000 * ~900 changes, numerous bugfixes
2001
2002 Highlights
2003 ----------
2004
2005 * The [new object lifetime defaults][nold] have been [turned
2006   on][nold2] after a cycle of warnings about the change. Now types
2007   like `&'a Box<Trait>` (or `&'a Rc<Trait>`, etc) will change from
2008   being interpreted as `&'a Box<Trait+'a>` to `&'a
2009   Box<Trait+'static>`.
2010 * [The Rustonomicon][nom] is a new book in the official documentation
2011   that dives into writing unsafe Rust.
2012 * The [`Duration`] API, [has been stabilized][ds]. This basic unit of
2013   timekeeping is employed by other std APIs, as well as out-of-tree
2014   time crates.
2015
2016 Breaking Changes
2017 ----------------
2018
2019 * The [new object lifetime defaults][nold] have been [turned
2020   on][nold2] after a cycle of warnings about the change.
2021 * There is a known [regression][lr] in how object lifetime elision is
2022   interpreted, the proper solution for which is undetermined.
2023 * The `#[prelude_import]` attribute, an internal implementation
2024   detail, was accidentally stabilized previously. [It has been put
2025   behind the `prelude_import` feature gate][pi]. This change is
2026   believed to break no existing code.
2027 * The behavior of [`size_of_val`][dst1] and [`align_of_val`][dst2] is
2028   [more sane for dynamically sized types][dst3]. Code that relied on
2029   the previous behavior is thought to be broken.
2030 * The `dropck` rules, which checks that destructors can't access
2031   destroyed values, [have been updated][dropck] to match the
2032   [RFC][dropckrfc]. This fixes some soundness holes, and as such will
2033   cause some previously-compiling code to no longer build.
2034
2035 Language
2036 --------
2037
2038 * The [new object lifetime defaults][nold] have been [turned
2039   on][nold2] after a cycle of warnings about the change.
2040 * Semicolons may [now follow types and paths in
2041   macros](https://github.com/rust-lang/rust/pull/27000).
2042 * The behavior of [`size_of_val`][dst1] and [`align_of_val`][dst2] is
2043   [more sane for dynamically sized types][dst3]. Code that relied on
2044   the previous behavior is not known to exist, and suspected to be
2045   broken.
2046 * `'static` variables [may now be recursive][st].
2047 * `ref` bindings choose between [`Deref`] and [`DerefMut`]
2048   implementations correctly.
2049 * The `dropck` rules, which checks that destructors can't access
2050   destroyed values, [have been updated][dropck] to match the
2051   [RFC][dropckrfc].
2052
2053 Libraries
2054 ---------
2055
2056 * The [`Duration`] API, [has been stabilized][ds], as well as the
2057   `std::time` module, which presently contains only `Duration`.
2058 * `Box<str>` and `Box<[T]>` both implement `Clone`.
2059 * The owned C string, [`CString`], implements [`Borrow`] and the
2060   borrowed C string, [`CStr`], implements [`ToOwned`]. The two of
2061   these allow C strings to be borrowed and cloned in generic code.
2062 * [`CStr`] implements [`Debug`].
2063 * [`AtomicPtr`] implements [`Debug`].
2064 * [`Error`] trait objects [can be downcast to their concrete types][e]
2065   in many common configurations, using the [`is`], [`downcast`],
2066   [`downcast_ref`] and [`downcast_mut`] methods, similarly to the
2067   [`Any`] trait.
2068 * Searching for substrings now [employs the two-way algorithm][search]
2069   instead of doing a naive search. This gives major speedups to a
2070   number of methods, including [`contains`][sc], [`find`][sf],
2071   [`rfind`][srf], [`split`][ss]. [`starts_with`][ssw] and
2072   [`ends_with`][sew] are also faster.
2073 * The performance of `PartialEq` for slices is [much faster][ps].
2074 * The [`Hash`] trait offers the default method, [`hash_slice`], which
2075   is overridden and optimized by the implementations for scalars.
2076 * The [`Hasher`] trait now has a number of specialized `write_*`
2077   methods for primitive types, for efficiency.
2078 * The I/O-specific error type, [`std::io::Error`][ie], gained a set of
2079   methods for accessing the 'inner error', if any: [`get_ref`][iegr],
2080   [`get_mut`][iegm], [`into_inner`][ieii]. As well, the implementation
2081   of [`std::error::Error::cause`][iec] also delegates to the inner
2082   error.
2083 * [`process::Child`][pc] gained the [`id`] method, which returns a
2084   `u32` representing the platform-specific process identifier.
2085 * The [`connect`] method on slices is deprecated, replaced by the new
2086   [`join`] method (note that both of these are on the *unstable*
2087   [`SliceConcatExt`] trait, but through the magic of the prelude are
2088   available to stable code anyway).
2089 * The [`Div`] operator is implemented for [`Wrapping`] types.
2090 * [`DerefMut` is implemented for `String`][dms].
2091 * Performance of SipHash (the default hasher for `HashMap`) is
2092   [better for long data][sh].
2093 * [`AtomicPtr`] implements [`Send`].
2094 * The [`read_to_end`] implementations for [`Stdin`] and [`File`]
2095   are now [specialized to use uninitalized buffers for increased
2096   performance][rte].
2097 * Lifetime parameters of foreign functions [are now resolved
2098   properly][f].
2099
2100 Misc
2101 ----
2102
2103 * Rust can now, with some coercion, [produce programs that run on
2104   Windows XP][xp], though XP is not considered a supported platform.
2105 * Porting Rust on Windows from the GNU toolchain to MSVC continues
2106   ([1][win1], [2][win2], [3][win3], [4][win4]). It is still not
2107   recommended for use in 1.3, though should be fully-functional
2108   in the [64-bit 1.4 beta][b14].
2109 * On Fedora-based systems installation will [properly configure the
2110   dynamic linker][fl].
2111 * The compiler gained many new extended error descriptions, which can
2112   be accessed with the `--explain` flag.
2113 * The `dropck` pass, which checks that destructors can't access
2114   destroyed values, [has been rewritten][dropck]. This fixes some
2115   soundness holes, and as such will cause some previously-compiling
2116   code to no longer build.
2117 * `rustc` now uses [LLVM to write archive files where possible][ar].
2118   Eventually this will eliminate the compiler's dependency on the ar
2119   utility.
2120 * Rust has [preliminary support for i686 FreeBSD][fb] (it has long
2121   supported FreeBSD on x86_64).
2122 * The [`unused_mut`][lum], [`unconditional_recursion`][lur],
2123   [`improper_ctypes`][lic], and [`negate_unsigned`][lnu] lints are
2124   more strict.
2125 * If landing pads are disabled (with `-Z no-landing-pads`), [`panic!`
2126   will kill the process instead of leaking][nlp].
2127
2128 [`Any`]: http://doc.rust-lang.org/nightly/std/any/trait.Any.html
2129 [`AtomicPtr`]: http://doc.rust-lang.org/nightly/std/sync/atomic/struct.AtomicPtr.html
2130 [`Borrow`]: http://doc.rust-lang.org/nightly/std/borrow/trait.Borrow.html
2131 [`CStr`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html
2132 [`CString`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html
2133 [`Debug`]: http://doc.rust-lang.org/nightly/std/fmt/trait.Debug.html
2134 [`DerefMut`]: http://doc.rust-lang.org/nightly/std/ops/trait.DerefMut.html
2135 [`Deref`]: http://doc.rust-lang.org/nightly/std/ops/trait.Deref.html
2136 [`Div`]: http://doc.rust-lang.org/nightly/std/ops/trait.Div.html
2137 [`Duration`]: http://doc.rust-lang.org/nightly/std/time/struct.Duration.html
2138 [`Error`]: http://doc.rust-lang.org/nightly/std/error/trait.Error.html
2139 [`File`]: http://doc.rust-lang.org/nightly/std/fs/struct.File.html
2140 [`Hash`]: http://doc.rust-lang.org/nightly/std/hash/trait.Hash.html
2141 [`Hasher`]: http://doc.rust-lang.org/nightly/std/hash/trait.Hasher.html
2142 [`Send`]: http://doc.rust-lang.org/nightly/std/marker/trait.Send.html
2143 [`SliceConcatExt`]: http://doc.rust-lang.org/nightly/std/slice/trait.SliceConcatExt.html
2144 [`Stdin`]: http://doc.rust-lang.org/nightly/std/io/struct.Stdin.html
2145 [`ToOwned`]: http://doc.rust-lang.org/nightly/std/borrow/trait.ToOwned.html
2146 [`Wrapping`]: http://doc.rust-lang.org/nightly/std/num/struct.Wrapping.html
2147 [`connect`]: http://doc.rust-lang.org/nightly/std/slice/trait.SliceConcatExt.html#method.connect
2148 [`downcast_mut`]: http://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.downcast_mut
2149 [`downcast_ref`]: http://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.downcast_ref
2150 [`downcast`]: http://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.downcast
2151 [`hash_slice`]: http://doc.rust-lang.org/nightly/std/hash/trait.Hash.html#method.hash_slice
2152 [`id`]: http://doc.rust-lang.org/nightly/std/process/struct.Child.html#method.id
2153 [`is`]: http://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.is
2154 [`join`]: http://doc.rust-lang.org/nightly/std/slice/trait.SliceConcatExt.html#method.join
2155 [`read_to_end`]: http://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.read_to_end
2156 [ar]: https://github.com/rust-lang/rust/pull/26926
2157 [b14]: https://static.rust-lang.org/dist/rust-beta-x86_64-pc-windows-msvc.msi
2158 [dms]: https://github.com/rust-lang/rust/pull/26241
2159 [dropck]: https://github.com/rust-lang/rust/pull/27261
2160 [dropckrfc]: https://github.com/rust-lang/rfcs/blob/master/text/0769-sound-generic-drop.md
2161 [ds]: https://github.com/rust-lang/rust/pull/26818
2162 [dst1]: http://doc.rust-lang.org/nightly/std/mem/fn.size_of_val.html
2163 [dst2]: http://doc.rust-lang.org/nightly/std/mem/fn.align_of_val.html
2164 [dst3]: https://github.com/rust-lang/rust/pull/27351
2165 [e]: https://github.com/rust-lang/rust/pull/24793
2166 [f]: https://github.com/rust-lang/rust/pull/26588
2167 [fb]: https://github.com/rust-lang/rust/pull/26959
2168 [fl]: https://github.com/rust-lang/rust-installer/pull/41
2169 [hs]: http://doc.rust-lang.org/nightly/std/hash/trait.Hash.html#method.hash_slice
2170 [ie]: http://doc.rust-lang.org/nightly/std/io/struct.Error.html
2171 [iec]: http://doc.rust-lang.org/nightly/std/io/struct.Error.html#method.cause
2172 [iegm]: http://doc.rust-lang.org/nightly/std/io/struct.Error.html#method.get_mut
2173 [iegr]: http://doc.rust-lang.org/nightly/std/io/struct.Error.html#method.get_ref
2174 [ieii]: http://doc.rust-lang.org/nightly/std/io/struct.Error.html#method.into_inner
2175 [lic]: https://github.com/rust-lang/rust/pull/26583
2176 [lnu]: https://github.com/rust-lang/rust/pull/27026
2177 [lr]: https://github.com/rust-lang/rust/issues/27248
2178 [lum]: https://github.com/rust-lang/rust/pull/26378
2179 [lur]: https://github.com/rust-lang/rust/pull/26783
2180 [nlp]: https://github.com/rust-lang/rust/pull/27176
2181 [nold2]: https://github.com/rust-lang/rust/pull/27045
2182 [nold]: https://github.com/rust-lang/rfcs/blob/master/text/1156-adjust-default-object-bounds.md
2183 [nom]: http://doc.rust-lang.org/nightly/nomicon/
2184 [pc]: http://doc.rust-lang.org/nightly/std/process/struct.Child.html
2185 [pi]: https://github.com/rust-lang/rust/pull/26699
2186 [ps]: https://github.com/rust-lang/rust/pull/26884
2187 [rte]: https://github.com/rust-lang/rust/pull/26950
2188 [sc]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.contains
2189 [search]: https://github.com/rust-lang/rust/pull/26327
2190 [sew]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.ends_with
2191 [sf]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.find
2192 [sh]: https://github.com/rust-lang/rust/pull/27280
2193 [srf]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.rfind
2194 [ss]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.split
2195 [ssw]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.starts_with
2196 [st]: https://github.com/rust-lang/rust/pull/26630
2197 [win1]: https://github.com/rust-lang/rust/pull/26569
2198 [win2]: https://github.com/rust-lang/rust/pull/26741
2199 [win3]: https://github.com/rust-lang/rust/pull/26741
2200 [win4]: https://github.com/rust-lang/rust/pull/27210
2201 [xp]: https://github.com/rust-lang/rust/pull/26569
2202
2203 Version 1.2.0 (2015-08-07)
2204 ==========================
2205
2206 * ~1200 changes, numerous bugfixes
2207
2208 Highlights
2209 ----------
2210
2211 * [Dynamically-sized-type coercions][dst] allow smart pointer types
2212   like `Rc` to contain types without a fixed size, arrays and trait
2213   objects, finally enabling use of `Rc<[T]>` and completing the
2214   implementation of DST.
2215 * [Parallel codegen][parcodegen] is now working again, which can
2216   substantially speed up large builds in debug mode; It also gets
2217   another ~33% speedup when bootstrapping on a 4 core machine (using 8
2218   jobs). It's not enabled by default, but will be "in the near
2219   future". It can be activated with the `-C codegen-units=N` flag to
2220   `rustc`.
2221 * This is the first release with [experimental support for linking
2222   with the MSVC linker and lib C on Windows (instead of using the GNU
2223   variants via MinGW)][win]. It is yet recommended only for the most
2224   intrepid Rusticians.
2225 * Benchmark compilations are showing a 30% improvement in
2226   bootstrapping over 1.1.
2227
2228 Breaking Changes
2229 ----------------
2230
2231 * The [`to_uppercase`] and [`to_lowercase`] methods on `char` now do
2232   unicode case mapping, which is a previously-planned change in
2233   behavior and considered a bugfix.
2234 * [`mem::align_of`] now specifies [the *minimum alignment* for
2235   T][align], which is usually the alignment programs are interested
2236   in, and the same value reported by clang's
2237   `alignof`. [`mem::min_align_of`] is deprecated. This is not known to
2238   break real code.
2239 * [The `#[packed]` attribute is no longer silently accepted by the
2240   compiler][packed]. This attribute did nothing and code that
2241   mentioned it likely did not work as intended.
2242 * Associated type defaults are [now behind the
2243   `associated_type_defaults` feature gate][ad]. In 1.1 associated type
2244   defaults *did not work*, but could be mentioned syntactically. As
2245   such this breakage has minimal impact.
2246
2247 Language
2248 --------
2249
2250 * Patterns with `ref mut` now correctly invoke [`DerefMut`] when
2251   matching against dereferencable values.
2252
2253 Libraries
2254 ---------
2255
2256 * The [`Extend`] trait, which grows a collection from an iterator, is
2257   implemented over iterators of references, for `String`, `Vec`,
2258   `LinkedList`, `VecDeque`, `EnumSet`, `BinaryHeap`, `VecMap`,
2259   `BTreeSet` and `BTreeMap`. [RFC][extend-rfc].
2260 * The [`iter::once`] function returns an iterator that yields a single
2261   element, and [`iter::empty`] returns an iterator that yields no
2262   elements.
2263 * The [`matches`] and [`rmatches`] methods on `str` return iterators
2264   over substring matches.
2265 * [`Cell`] and [`RefCell`] both implement `Eq`.
2266 * A number of methods for wrapping arithmetic are added to the
2267   integral types, [`wrapping_div`], [`wrapping_rem`],
2268   [`wrapping_neg`], [`wrapping_shl`], [`wrapping_shr`]. These are in
2269   addition to the existing [`wrapping_add`], [`wrapping_sub`], and
2270   [`wrapping_mul`] methods, and alternatives to the [`Wrapping`]
2271   type.. It is illegal for the default arithmetic operations in Rust
2272   to overflow; the desire to wrap must be explicit.
2273 * The `{:#?}` formatting specifier [displays the alternate,
2274   pretty-printed][debugfmt] form of the `Debug` formatter. This
2275   feature was actually introduced prior to 1.0 with little
2276   fanfare.
2277 * [`fmt::Formatter`] implements [`fmt::Write`], a `fmt`-specific trait
2278   for writing data to formatted strings, similar to [`io::Write`].
2279 * [`fmt::Formatter`] adds 'debug builder' methods, [`debug_struct`],
2280   [`debug_tuple`], [`debug_list`], [`debug_set`], [`debug_map`]. These
2281   are used by code generators to emit implementations of [`Debug`].
2282 * `str` has new [`to_uppercase`][strup] and [`to_lowercase`][strlow]
2283   methods that convert case, following Unicode case mapping.
2284 * It is now easier to handle poisoned locks. The [`PoisonError`]
2285   type, returned by failing lock operations, exposes `into_inner`,
2286   `get_ref`, and `get_mut`, which all give access to the inner lock
2287   guard, and allow the poisoned lock to continue to operate. The
2288   `is_poisoned` method of [`RwLock`] and [`Mutex`] can poll for a
2289   poisoned lock without attempting to take the lock.
2290 * On Unix the [`FromRawFd`] trait is implemented for [`Stdio`], and
2291   [`AsRawFd`] for [`ChildStdin`], [`ChildStdout`], [`ChildStderr`].
2292   On Windows the `FromRawHandle` trait is implemented for `Stdio`,
2293   and `AsRawHandle` for `ChildStdin`, `ChildStdout`,
2294   `ChildStderr`.
2295 * [`io::ErrorKind`] has a new variant, `InvalidData`, which indicates
2296   malformed input.
2297
2298 Misc
2299 ----
2300
2301 * `rustc` employs smarter heuristics for guessing at [typos].
2302 * `rustc` emits more efficient code for [no-op conversions between
2303   unsafe pointers][nop].
2304 * Fat pointers are now [passed in pairs of immediate arguments][fat],
2305   resulting in faster compile times and smaller code.
2306
2307 [`Extend`]: https://doc.rust-lang.org/nightly/std/iter/trait.Extend.html
2308 [extend-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0839-embrace-extend-extinguish.md
2309 [`iter::once`]: https://doc.rust-lang.org/nightly/std/iter/fn.once.html
2310 [`iter::empty`]: https://doc.rust-lang.org/nightly/std/iter/fn.empty.html
2311 [`matches`]: https://doc.rust-lang.org/nightly/std/primitive.str.html#method.matches
2312 [`rmatches`]: https://doc.rust-lang.org/nightly/std/primitive.str.html#method.rmatches
2313 [`Cell`]: https://doc.rust-lang.org/nightly/std/cell/struct.Cell.html
2314 [`RefCell`]: https://doc.rust-lang.org/nightly/std/cell/struct.RefCell.html
2315 [`wrapping_add`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_add
2316 [`wrapping_sub`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_sub
2317 [`wrapping_mul`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_mul
2318 [`wrapping_div`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_div
2319 [`wrapping_rem`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_rem
2320 [`wrapping_neg`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_neg
2321 [`wrapping_shl`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_shl
2322 [`wrapping_shr`]: https://doc.rust-lang.org/nightly/std/primitive.i8.html#method.wrapping_shr
2323 [`Wrapping`]: https://doc.rust-lang.org/nightly/std/num/struct.Wrapping.html
2324 [`fmt::Formatter`]: https://doc.rust-lang.org/nightly/std/fmt/struct.Formatter.html
2325 [`fmt::Write`]: https://doc.rust-lang.org/nightly/std/fmt/trait.Write.html
2326 [`io::Write`]: https://doc.rust-lang.org/nightly/std/io/trait.Write.html
2327 [`debug_struct`]: https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.debug_struct
2328 [`debug_tuple`]: https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.debug_tuple
2329 [`debug_list`]: https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.debug_list
2330 [`debug_set`]: https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.debug_set
2331 [`debug_map`]: https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html#method.debug_map
2332 [`Debug`]: https://doc.rust-lang.org/nightly/std/fmt/trait.Debug.html
2333 [strup]: https://doc.rust-lang.org/nightly/std/primitive.str.html#method.to_uppercase
2334 [strlow]: https://doc.rust-lang.org/nightly/std/primitive.str.html#method.to_lowercase
2335 [`to_uppercase`]: https://doc.rust-lang.org/nightly/std/primitive.char.html#method.to_uppercase
2336 [`to_lowercase`]: https://doc.rust-lang.org/nightly/std/primitive.char.html#method.to_lowercase
2337 [`PoisonError`]: https://doc.rust-lang.org/nightly/std/sync/struct.PoisonError.html
2338 [`RwLock`]: https://doc.rust-lang.org/nightly/std/sync/struct.RwLock.html
2339 [`Mutex`]: https://doc.rust-lang.org/nightly/std/sync/struct.Mutex.html
2340 [`FromRawFd`]: https://doc.rust-lang.org/nightly/std/os/unix/io/trait.FromRawFd.html
2341 [`AsRawFd`]: https://doc.rust-lang.org/nightly/std/os/unix/io/trait.AsRawFd.html
2342 [`Stdio`]: https://doc.rust-lang.org/nightly/std/process/struct.Stdio.html
2343 [`ChildStdin`]: https://doc.rust-lang.org/nightly/std/process/struct.ChildStdin.html
2344 [`ChildStdout`]: https://doc.rust-lang.org/nightly/std/process/struct.ChildStdout.html
2345 [`ChildStderr`]: https://doc.rust-lang.org/nightly/std/process/struct.ChildStderr.html
2346 [`io::ErrorKind`]: https://doc.rust-lang.org/nightly/std/io/enum.ErrorKind.html
2347 [debugfmt]: https://www.reddit.com/r/rust/comments/3ceaui/psa_produces_prettyprinted_debug_output/
2348 [`DerefMut`]: https://doc.rust-lang.org/nightly/std/ops/trait.DerefMut.html
2349 [`mem::align_of`]: https://doc.rust-lang.org/nightly/std/mem/fn.align_of.html
2350 [align]: https://github.com/rust-lang/rust/pull/25646
2351 [`mem::min_align_of`]: https://doc.rust-lang.org/nightly/std/mem/fn.min_align_of.html
2352 [typos]: https://github.com/rust-lang/rust/pull/26087
2353 [nop]: https://github.com/rust-lang/rust/pull/26336
2354 [fat]: https://github.com/rust-lang/rust/pull/26411
2355 [dst]: https://github.com/rust-lang/rfcs/blob/master/text/0982-dst-coercion.md
2356 [parcodegen]: https://github.com/rust-lang/rust/pull/26018
2357 [packed]: https://github.com/rust-lang/rust/pull/25541
2358 [ad]: https://github.com/rust-lang/rust/pull/27382
2359 [win]: https://github.com/rust-lang/rust/pull/25350
2360
2361 Version 1.1.0 (2015-06-25)
2362 =========================
2363
2364 * ~850 changes, numerous bugfixes
2365
2366 Highlights
2367 ----------
2368
2369 * The [`std::fs` module has been expanded][fs] to expand the set of
2370   functionality exposed:
2371   * `DirEntry` now supports optimizations like `file_type` and `metadata` which
2372     don't incur a syscall on some platforms.
2373   * A `symlink_metadata` function has been added.
2374   * The `fs::Metadata` structure now lowers to its OS counterpart, providing
2375     access to all underlying information.
2376 * The compiler now contains extended explanations of many errors. When an error
2377   with an explanation occurs the compiler suggests using the `--explain` flag
2378   to read the explanation. Error explanations are also [available online][err-index].
2379 * Thanks to multiple [improvements][sk] to [type checking][pre], as
2380   well as other work, the time to bootstrap the compiler decreased by
2381   32%.
2382
2383 Libraries
2384 ---------
2385
2386 * The [`str::split_whitespace`] method splits a string on unicode
2387   whitespace boundaries.
2388 * On both Windows and Unix, new extension traits provide conversion of
2389   I/O types to and from the underlying system handles. On Unix, these
2390   traits are [`FromRawFd`] and [`AsRawFd`], on Windows `FromRawHandle`
2391   and `AsRawHandle`. These are implemented for `File`, `TcpStream`,
2392   `TcpListener`, and `UpdSocket`. Further implementations for
2393   `std::process` will be stabilized later.
2394 * On Unix, [`std::os::unix::symlink`] creates symlinks. On
2395   Windows, symlinks can be created with
2396   `std::os::windows::symlink_dir` and
2397   `std::os::windows::symlink_file`.
2398 * The `mpsc::Receiver` type can now be converted into an iterator with
2399   `into_iter` on the [`IntoIterator`] trait.
2400 * `Ipv4Addr` can be created from `u32` with the `From<u32>`
2401   implementation of the [`From`] trait.
2402 * The `Debug` implementation for `RangeFull` [creates output that is
2403   more consistent with other implementations][rf].
2404 * [`Debug` is implemented for `File`][file].
2405 * The `Default` implementation for `Arc` [no longer requires `Sync +
2406   Send`][arc].
2407 * [The `Iterator` methods `count`, `nth`, and `last` have been
2408   overridden for slices to have O(1) performance instead of O(n)][si].
2409 * Incorrect handling of paths on Windows has been improved in both the
2410   compiler and the standard library.
2411 * [`AtomicPtr` gained a `Default` implementation][ap].
2412 * In accordance with Rust's policy on arithmetic overflow `abs` now
2413   [panics on overflow when debug assertions are enabled][abs].
2414 * The [`Cloned`] iterator, which was accidentally left unstable for
2415   1.0 [has been stabilized][c].
2416 * The [`Incoming`] iterator, which iterates over incoming TCP
2417   connections, and which was accidentally unnamable in 1.0, [is now
2418   properly exported][inc].
2419 * [`BinaryHeap`] no longer corrupts itself [when functions called by
2420   `sift_up` or `sift_down` panic][bh].
2421 * The [`split_off`] method of `LinkedList` [no longer corrupts
2422   the list in certain scenarios][ll].
2423
2424 Misc
2425 ----
2426
2427 * Type checking performance [has improved notably][sk] with
2428   [multiple improvements][pre].
2429 * The compiler [suggests code changes][ch] for more errors.
2430 * rustc and it's build system have experimental support for [building
2431   toolchains against MUSL][m] instead of glibc on Linux.
2432 * The compiler defines the `target_env` cfg value, which is used for
2433   distinguishing toolchains that are otherwise for the same
2434   platform. Presently this is set to `gnu` for common GNU Linux
2435   targets and for MinGW targets, and `musl` for MUSL Linux targets.
2436 * The [`cargo rustc`][crc] command invokes a build with custom flags
2437   to rustc.
2438 * [Android executables are always position independent][pie].
2439 * [The `drop_with_repr_extern` lint warns about mixing `repr(C)`
2440   with `Drop`][drop].
2441
2442 [`str::split_whitespace`]: https://doc.rust-lang.org/nightly/std/primitive.str.html#method.split_whitespace
2443 [`FromRawFd`]: https://doc.rust-lang.org/nightly/std/os/unix/io/trait.FromRawFd.html
2444 [`AsRawFd`]: https://doc.rust-lang.org/nightly/std/os/unix/io/trait.AsRawFd.html
2445 [`std::os::unix::symlink`]: https://doc.rust-lang.org/nightly/std/os/unix/fs/fn.symlink.html
2446 [`IntoIterator`]: https://doc.rust-lang.org/nightly/std/iter/trait.IntoIterator.html
2447 [`From`]: https://doc.rust-lang.org/nightly/std/convert/trait.From.html
2448 [rf]: https://github.com/rust-lang/rust/pull/24491
2449 [err-index]: https://doc.rust-lang.org/error-index.html
2450 [sk]: https://github.com/rust-lang/rust/pull/24615
2451 [pre]: https://github.com/rust-lang/rust/pull/25323
2452 [file]: https://github.com/rust-lang/rust/pull/24598
2453 [ch]: https://github.com/rust-lang/rust/pull/24683
2454 [arc]: https://github.com/rust-lang/rust/pull/24695
2455 [si]: https://github.com/rust-lang/rust/pull/24701
2456 [ap]: https://github.com/rust-lang/rust/pull/24834
2457 [m]: https://github.com/rust-lang/rust/pull/24777
2458 [fs]: https://github.com/rust-lang/rfcs/blob/master/text/1044-io-fs-2.1.md
2459 [crc]: https://github.com/rust-lang/cargo/pull/1568
2460 [pie]: https://github.com/rust-lang/rust/pull/24953
2461 [abs]: https://github.com/rust-lang/rust/pull/25441
2462 [c]: https://github.com/rust-lang/rust/pull/25496
2463 [`Cloned`]: https://doc.rust-lang.org/nightly/std/iter/struct.Cloned.html
2464 [`Incoming`]: https://doc.rust-lang.org/nightly/std/net/struct.Incoming.html
2465 [inc]: https://github.com/rust-lang/rust/pull/25522
2466 [bh]: https://github.com/rust-lang/rust/pull/25856
2467 [`BinaryHeap`]: https://doc.rust-lang.org/nightly/std/collections/struct.BinaryHeap.html
2468 [ll]: https://github.com/rust-lang/rust/pull/26022
2469 [`split_off`]: https://doc.rust-lang.org/nightly/collections/linked_list/struct.LinkedList.html#method.split_off
2470 [drop]: https://github.com/rust-lang/rust/pull/24935
2471
2472 Version 1.0.0 (2015-05-15)
2473 ========================
2474
2475 * ~1500 changes, numerous bugfixes
2476
2477 Highlights
2478 ----------
2479
2480 * The vast majority of the standard library is now `#[stable]`. It is
2481   no longer possible to use unstable features with a stable build of
2482   the compiler.
2483 * Many popular crates on [crates.io] now work on the stable release
2484   channel.
2485 * Arithmetic on basic integer types now [checks for overflow in debug
2486   builds][overflow].
2487
2488 Language
2489 --------
2490
2491 * Several [restrictions have been added to trait coherence][coh] in
2492   order to make it easier for upstream authors to change traits
2493   without breaking downstream code.
2494 * Digits of binary and octal literals are [lexed more eagerly][lex] to
2495   improve error messages and macro behavior. For example, `0b1234` is
2496   now lexed as `0b1234` instead of two tokens, `0b1` and `234`.
2497 * Trait bounds [are always invariant][inv], eliminating the need for
2498   the `PhantomFn` and `MarkerTrait` lang items, which have been
2499   removed.
2500 * ["-" is no longer a valid character in crate names][cr], the `extern crate
2501   "foo" as bar` syntax has been replaced with `extern crate foo as
2502   bar`, and Cargo now automatically translates "-" in *package* names
2503   to underscore for the crate name.
2504 * [Lifetime shadowing is an error][lt].
2505 * [`Send` no longer implies `'static`][send-rfc].
2506 * [UFCS now supports trait-less associated paths][moar-ufcs] like
2507   `MyType::default()`.
2508 * Primitive types [now have inherent methods][prim-inherent],
2509   obviating the need for extension traits like `SliceExt`.
2510 * Methods with `Self: Sized` in their `where` clause are [considered
2511   object-safe][self-sized], allowing many extension traits like
2512   `IteratorExt` to be merged into the traits they extended.
2513 * You can now [refer to associated types][assoc-where] whose
2514   corresponding trait bounds appear only in a `where` clause.
2515 * The final bits of [OIBIT landed][oibit-final], meaning that traits
2516   like `Send` and `Sync` are now library-defined.
2517 * A [Reflect trait][reflect] was introduced, which means that
2518   downcasting via the `Any` trait is effectively limited to concrete
2519   types. This helps retain the potentially-important "parametricity"
2520   property: generic code cannot behave differently for different type
2521   arguments except in minor ways.
2522 * The `unsafe_destructor` feature is now deprecated in favor of the
2523   [new `dropck`][dropck]. This change is a major reduction in unsafe
2524   code.
2525
2526 Libraries
2527 ---------
2528
2529 * The `thread_local` module [has been renamed to `std::thread`][th].
2530 * The methods of `IteratorExt` [have been moved to the `Iterator`
2531   trait itself][ie].
2532 * Several traits that implement Rust's conventions for type
2533   conversions, `AsMut`, `AsRef`, `From`, and `Into` have been
2534   [centralized in the `std::convert` module][con].
2535 * The `FromError` trait [was removed in favor of `From`][fe].
2536 * The basic sleep function [has moved to
2537   `std::thread::sleep_ms`][slp].
2538 * The `splitn` function now takes an `n` parameter that represents the
2539   number of items yielded by the returned iterator [instead of the
2540   number of 'splits'][spl].
2541 * [On Unix, all file descriptors are `CLOEXEC` by default][clo].
2542 * [Derived implementations of `PartialOrd` now order enums according
2543   to their explicitly-assigned discriminants][po].
2544 * [Methods for searching strings are generic over `Pattern`s][pat],
2545   implemented presently by `&char`, `&str`, `FnMut(char) -> bool` and
2546   some others.
2547 * [In method resolution, object methods are resolved before inherent
2548   methods][meth].
2549 * [`String::from_str` has been deprecated in favor of the `From` impl,
2550   `String::from`][sf].
2551 * [`io::Error` implements `Sync`][ios].
2552 * [The `words` method on `&str` has been replaced with
2553   `split_whitespace`][sw], to avoid answering the tricky question, 'what is
2554   a word?'
2555 * The new path and IO modules are complete and `#[stable]`. This
2556   was the major library focus for this cycle.
2557 * The path API was [revised][path-normalize] to normalize `.`,
2558   adjusting the tradeoffs in favor of the most common usage.
2559 * A large number of remaining APIs in `std` were also stabilized
2560   during this cycle; about 75% of the non-deprecated API surface
2561   is now stable.
2562 * The new [string pattern API][string-pattern] landed, which makes
2563   the string slice API much more internally consistent and flexible.
2564 * A new set of [generic conversion traits][conversion] replaced
2565   many existing ad hoc traits.
2566 * Generic numeric traits were [completely removed][num-traits]. This
2567   was made possible thanks to inherent methods for primitive types,
2568   and the removal gives maximal flexibility for designing a numeric
2569   hierarchy in the future.
2570 * The `Fn` traits are now related via [inheritance][fn-inherit]
2571   and provide ergonomic [blanket implementations][fn-blanket].
2572 * The `Index` and `IndexMut` traits were changed to
2573   [take the index by value][index-value], enabling code like
2574   `hash_map["string"]` to work.
2575 * `Copy` now [inherits][copy-clone] from `Clone`, meaning that all
2576   `Copy` data is known to be `Clone` as well.
2577
2578 Misc
2579 ----
2580
2581 * Many errors now have extended explanations that can be accessed with
2582   the `--explain` flag to `rustc`.
2583 * Many new examples have been added to the standard library
2584   documentation.
2585 * rustdoc has received a number of improvements focused on completion
2586   and polish.
2587 * Metadata was tuned, shrinking binaries [by 27%][metadata-shrink].
2588 * Much headway was made on ecosystem-wide CI, making it possible
2589   to [compare builds for breakage][ci-compare].
2590
2591
2592 [crates.io]: http://crates.io
2593 [clo]: https://github.com/rust-lang/rust/pull/24034
2594 [coh]: https://github.com/rust-lang/rfcs/blob/master/text/1023-rebalancing-coherence.md
2595 [con]: https://github.com/rust-lang/rust/pull/23875
2596 [cr]: https://github.com/rust-lang/rust/pull/23419
2597 [fe]: https://github.com/rust-lang/rust/pull/23879
2598 [ie]: https://github.com/rust-lang/rust/pull/23300
2599 [inv]: https://github.com/rust-lang/rust/pull/23938
2600 [ios]: https://github.com/rust-lang/rust/pull/24133
2601 [lex]: https://github.com/rust-lang/rfcs/blob/master/text/0879-small-base-lexing.md
2602 [lt]: https://github.com/rust-lang/rust/pull/24057
2603 [meth]: https://github.com/rust-lang/rust/pull/24056
2604 [pat]: https://github.com/rust-lang/rfcs/blob/master/text/0528-string-patterns.md
2605 [po]: https://github.com/rust-lang/rust/pull/24270
2606 [sf]: https://github.com/rust-lang/rust/pull/24517
2607 [slp]: https://github.com/rust-lang/rust/pull/23949
2608 [spl]: https://github.com/rust-lang/rfcs/blob/master/text/0979-align-splitn-with-other-languages.md
2609 [sw]: https://github.com/rust-lang/rfcs/blob/master/text/1054-str-words.md
2610 [th]: https://github.com/rust-lang/rfcs/blob/master/text/0909-move-thread-local-to-std-thread.md
2611 [send-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0458-send-improvements.md
2612 [moar-ufcs]: https://github.com/rust-lang/rust/pull/22172
2613 [prim-inherent]: https://github.com/rust-lang/rust/pull/23104
2614 [overflow]: https://github.com/rust-lang/rfcs/blob/master/text/0560-integer-overflow.md
2615 [metadata-shrink]: https://github.com/rust-lang/rust/pull/22971
2616 [self-sized]: https://github.com/rust-lang/rust/pull/22301
2617 [assoc-where]: https://github.com/rust-lang/rust/pull/22512
2618 [string-pattern]: https://github.com/rust-lang/rust/pull/22466
2619 [oibit-final]: https://github.com/rust-lang/rust/pull/21689
2620 [reflect]: https://github.com/rust-lang/rust/pull/23712
2621 [conversion]: https://github.com/rust-lang/rfcs/pull/529
2622 [num-traits]: https://github.com/rust-lang/rust/pull/23549
2623 [index-value]: https://github.com/rust-lang/rust/pull/23601
2624 [dropck]: https://github.com/rust-lang/rfcs/pull/769
2625 [ci-compare]: https://gist.github.com/brson/a30a77836fbec057cbee
2626 [fn-inherit]: https://github.com/rust-lang/rust/pull/23282
2627 [fn-blanket]: https://github.com/rust-lang/rust/pull/23895
2628 [copy-clone]: https://github.com/rust-lang/rust/pull/23860
2629 [path-normalize]: https://github.com/rust-lang/rust/pull/23229
2630
2631
2632 Version 1.0.0-alpha.2 (2015-02-20)
2633 =====================================
2634
2635 * ~1300 changes, numerous bugfixes
2636
2637 * Highlights
2638
2639     * The various I/O modules were [overhauled][io-rfc] to reduce
2640       unnecessary abstractions and provide better interoperation with
2641       the underlying platform. The old `io` module remains temporarily
2642       at `std::old_io`.
2643     * The standard library now [participates in feature gating][feat],
2644       so use of unstable libraries now requires a `#![feature(...)]`
2645       attribute. The impact of this change is [described on the
2646       forum][feat-forum]. [RFC][feat-rfc].
2647
2648 * Language
2649
2650     * `for` loops [now operate on the `IntoIterator` trait][into],
2651       which eliminates the need to call `.iter()`, etc. to iterate
2652       over collections. There are some new subtleties to remember
2653       though regarding what sort of iterators various types yield, in
2654       particular that `for foo in bar { }` yields values from a move
2655       iterator, destroying the original collection. [RFC][into-rfc].
2656     * Objects now have [default lifetime bounds][obj], so you don't
2657       have to write `Box<Trait+'static>` when you don't care about
2658       storing references. [RFC][obj-rfc].
2659     * In types that implement `Drop`, [lifetimes must outlive the
2660       value][drop]. This will soon make it possible to safely
2661       implement `Drop` for types where `#[unsafe_destructor]` is now
2662       required. Read the [gorgeous RFC][drop-rfc] for details.
2663     * The fully qualified <T as Trait>::X syntax lets you set the Self
2664       type for a trait method or associated type. [RFC][ufcs-rfc].
2665     * References to types that implement `Deref<U>` now [automatically
2666       coerce to references][deref] to the dereferenced type `U`,
2667       e.g. `&T where T: Deref<U>` automatically coerces to `&U`. This
2668       should eliminate many unsightly uses of `&*`, as when converting
2669       from references to vectors into references to
2670       slices. [RFC][deref-rfc].
2671     * The explicit [closure kind syntax][close] (`|&:|`, `|&mut:|`,
2672       `|:|`) is obsolete and closure kind is inferred from context.
2673     * [`Self` is a keyword][Self].
2674
2675 * Libraries
2676
2677     * The `Show` and `String` formatting traits [have been
2678       renamed][fmt] to `Debug` and `Display` to more clearly reflect
2679       their related purposes. Automatically getting a string
2680       conversion to use with `format!("{:?}", something_to_debug)` is
2681       now written `#[derive(Debug)]`.
2682     * Abstract [OS-specific string types][osstr], `std::ff::{OsString,
2683       OsStr}`, provide strings in platform-specific encodings for easier
2684       interop with system APIs. [RFC][osstr-rfc].
2685     * The `boxed::into_raw` and `Box::from_raw` functions [convert
2686       between `Box<T>` and `*mut T`][boxraw], a common pattern for
2687       creating raw pointers.
2688
2689 * Tooling
2690
2691     * Certain long error messages of the form 'expected foo found bar'
2692       are now [split neatly across multiple
2693       lines][multiline]. Examples in the PR.
2694     * On Unix Rust can be [uninstalled][un] by running
2695       `/usr/local/lib/rustlib/uninstall.sh`.
2696     * The `#[rustc_on_unimplemented]` attribute, requiring the
2697       'on_unimplemented' feature, lets rustc [display custom error
2698       messages when a trait is expected to be implemented for a type
2699       but is not][onun].
2700
2701 * Misc
2702
2703     * Rust is tested against a [LALR grammar][lalr], which parses
2704       almost all the Rust files that rustc does.
2705
2706 [boxraw]: https://github.com/rust-lang/rust/pull/21318
2707 [close]: https://github.com/rust-lang/rust/pull/21843
2708 [deref]: https://github.com/rust-lang/rust/pull/21351
2709 [deref-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0241-deref-conversions.md
2710 [drop]: https://github.com/rust-lang/rust/pull/21972
2711 [drop-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0769-sound-generic-drop.md
2712 [feat]: https://github.com/rust-lang/rust/pull/21248
2713 [feat-forum]: https://users.rust-lang.org/t/psa-important-info-about-rustcs-new-feature-staging/82/5
2714 [feat-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0507-release-channels.md
2715 [fmt]: https://github.com/rust-lang/rust/pull/21457
2716 [into]: https://github.com/rust-lang/rust/pull/20790
2717 [into-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0235-collections-conventions.md#intoiterator-and-iterable
2718 [io-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0517-io-os-reform.md
2719 [lalr]: https://github.com/rust-lang/rust/pull/21452
2720 [multiline]: https://github.com/rust-lang/rust/pull/19870
2721 [obj]: https://github.com/rust-lang/rust/pull/22230
2722 [obj-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0599-default-object-bound.md
2723 [onun]: https://github.com/rust-lang/rust/pull/20889
2724 [osstr]: https://github.com/rust-lang/rust/pull/21488
2725 [osstr-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0517-io-os-reform.md
2726 [Self]: https://github.com/rust-lang/rust/pull/22158
2727 [ufcs-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0132-ufcs.md
2728 [un]: https://github.com/rust-lang/rust/pull/22256
2729
2730
2731 Version 1.0.0-alpha (2015-01-09)
2732 ==================================
2733
2734   * ~2400 changes, numerous bugfixes
2735
2736   * Highlights
2737
2738     * The language itself is considered feature complete for 1.0,
2739       though there will be many usability improvements and bugfixes
2740       before the final release.
2741     * Nearly 50% of the public API surface of the standard library has
2742       been declared 'stable'. Those interfaces are unlikely to change
2743       before 1.0.
2744     * The long-running debate over integer types has been
2745       [settled][ints]: Rust will ship with types named `isize` and
2746       `usize`, rather than `int` and `uint`, for pointer-sized
2747       integers. Guidelines will be rolled out during the alpha cycle.
2748     * Most crates that are not `std` have been moved out of the Rust
2749       distribution into the Cargo ecosystem so they can evolve
2750       separately and don't need to be stabilized as quickly, including
2751       'time', 'getopts', 'num', 'regex', and 'term'.
2752     * Documentation continues to be expanded with more API coverage, more
2753       examples, and more in-depth explanations. The guides have been
2754       consolidated into [The Rust Programming Language][trpl].
2755     * "[Rust By Example][rbe]" is now maintained by the Rust team.
2756     * All official Rust binary installers now come with [Cargo], the
2757       Rust package manager.
2758
2759 * Language
2760
2761     * Closures have been [completely redesigned][unboxed] to be
2762       implemented in terms of traits, can now be used as generic type
2763       bounds and thus monomorphized and inlined, or via an opaque
2764       pointer (boxed) as in the old system. The new system is often
2765       referred to as 'unboxed' closures.
2766     * Traits now support [associated types][assoc], allowing families
2767       of related types to be defined together and used generically in
2768       powerful ways.
2769     * Enum variants are [namespaced by their type names][enum].
2770     * [`where` clauses][where] provide a more versatile and attractive
2771       syntax for specifying generic bounds, though the previous syntax
2772       remains valid.
2773     * Rust again picks a [fallback][fb] (either i32 or f64) for uninferred
2774       numeric types.
2775     * Rust [no longer has a runtime][rt] of any description, and only
2776       supports OS threads, not green threads.
2777     * At long last, Rust has been overhauled for 'dynamically-sized
2778       types' ([DST]), which integrates 'fat pointers' (object types,
2779       arrays, and `str`) more deeply into the type system, making it
2780       more consistent.
2781     * Rust now has a general [range syntax][range], `i..j`, `i..`, and
2782       `..j` that produce range types and which, when combined with the
2783       `Index` operator and multidispatch, leads to a convenient slice
2784       notation, `[i..j]`.
2785     * The new range syntax revealed an ambiguity in the fixed-length
2786       array syntax, so now fixed length arrays [are written `[T;
2787       N]`][arrays].
2788     * The `Copy` trait is no longer implemented automatically. Unsafe
2789       pointers no longer implement `Sync` and `Send` so types
2790       containing them don't automatically either. `Sync` and `Send`
2791       are now 'unsafe traits' so one can "forcibly" implement them via
2792       `unsafe impl` if a type confirms to the requirements for them
2793       even though the internals do not (e.g. structs containing unsafe
2794       pointers like `Arc`). These changes are intended to prevent some
2795       footguns and are collectively known as [opt-in built-in
2796       traits][oibit] (though `Sync` and `Send` will soon become pure
2797       library types unknown to the compiler).
2798     * Operator traits now take their operands [by value][ops], and
2799       comparison traits can use multidispatch to compare one type
2800       against multiple other types, allowing e.g. `String` to be
2801       compared with `&str`.
2802     * `if let` and `while let` are no longer feature-gated.
2803     * Rust has adopted a more [uniform syntax for escaping unicode
2804       characters][unicode].
2805     * `macro_rules!` [has been declared stable][mac]. Though it is a
2806       flawed system it is sufficiently popular that it must be usable
2807       for 1.0. Effort has gone into [future-proofing][mac-future] it
2808       in ways that will allow other macro systems to be developed in
2809       parallel, and won't otherwise impact the evolution of the
2810       language.
2811     * The prelude has been [pared back significantly][prelude] such
2812       that it is the minimum necessary to support the most pervasive
2813       code patterns, and through [generalized where clauses][where]
2814       many of the prelude extension traits have been consolidated.
2815     * Rust's rudimentary reflection [has been removed][refl], as it
2816       incurred too much code generation for little benefit.
2817     * [Struct variants][structvars] are no longer feature-gated.
2818     * Trait bounds can be [polymorphic over lifetimes][hrtb]. Also
2819       known as 'higher-ranked trait bounds', this crucially allows
2820       unboxed closures to work.
2821     * Macros invocations surrounded by parens or square brackets and
2822       not terminated by a semicolon are [parsed as
2823       expressions][macros], which makes expressions like `vec![1i32,
2824       2, 3].len()` work as expected.
2825     * Trait objects now implement their traits automatically, and
2826       traits that can be coerced to objects now must be [object
2827       safe][objsafe].
2828     * Automatically deriving traits is now done with `#[derive(...)]`
2829       not `#[deriving(...)]` for [consistency with other naming
2830       conventions][derive].
2831     * Importing the containing module or enum at the same time as
2832       items or variants they contain is [now done with `self` instead
2833       of `mod`][self], as in use `foo::{self, bar}`
2834     * Glob imports are no longer feature-gated.
2835     * The `box` operator and `box` patterns have been feature-gated
2836       pending a redesign. For now unique boxes should be allocated
2837       like other containers, with `Box::new`.
2838
2839 * Libraries
2840
2841     * A [series][coll1] of [efforts][coll2] to establish
2842       [conventions][coll3] for collections types has resulted in API
2843       improvements throughout the standard library.
2844     * New [APIs for error handling][err] provide ergonomic interop
2845       between error types, and [new conventions][err-conv] describe
2846       more clearly the recommended error handling strategies in Rust.
2847     * The `fail!` macro has been renamed to [`panic!`][panic] so that
2848       it is easier to discuss failure in the context of error handling
2849       without making clarifications as to whether you are referring to
2850       the 'fail' macro or failure more generally.
2851     * On Linux, `OsRng` prefers the new, more reliable `getrandom`
2852       syscall when available.
2853     * The 'serialize' crate has been renamed 'rustc-serialize' and
2854       moved out of the distribution to Cargo. Although it is widely
2855       used now, it is expected to be superseded in the near future.
2856     * The `Show` formatter, typically implemented with
2857       `#[derive(Show)]` is [now requested with the `{:?}`
2858       specifier][show] and is intended for use by all types, for uses
2859       such as `println!` debugging. The new `String` formatter must be
2860       implemented by hand, uses the `{}` specifier, and is intended
2861       for full-fidelity conversions of things that can logically be
2862       represented as strings.
2863
2864 * Tooling
2865
2866     * [Flexible target specification][flex] allows rustc's code
2867       generation to be configured to support otherwise-unsupported
2868       platforms.
2869     * Rust comes with rust-gdb and rust-lldb scripts that launch their
2870       respective debuggers with Rust-appropriate pretty-printing.
2871     * The Windows installation of Rust is distributed with the the
2872       MinGW components currently required to link binaries on that
2873       platform.
2874
2875 * Misc
2876
2877     * Nullable enum optimizations have been extended to more types so
2878       that e.g. `Option<Vec<T>>` and `Option<String>` take up no more
2879       space than the inner types themselves.
2880     * Work has begun on supporting AArch64.
2881
2882 [Cargo]: https://crates.io
2883 [unboxed]: http://smallcultfollowing.com/babysteps/blog/2014/11/26/purging-proc/
2884 [enum]: https://github.com/rust-lang/rfcs/blob/master/text/0390-enum-namespacing.md
2885 [flex]: https://github.com/rust-lang/rfcs/blob/master/text/0131-target-specification.md
2886 [err]: https://github.com/rust-lang/rfcs/blob/master/text/0201-error-chaining.md
2887 [err-conv]: https://github.com/rust-lang/rfcs/blob/master/text/0236-error-conventions.md
2888 [rt]: https://github.com/rust-lang/rfcs/blob/master/text/0230-remove-runtime.md
2889 [mac]: https://github.com/rust-lang/rfcs/blob/master/text/0453-macro-reform.md
2890 [mac-future]: https://github.com/rust-lang/rfcs/pull/550
2891 [DST]: http://smallcultfollowing.com/babysteps/blog/2014/01/05/dst-take-5/
2892 [coll1]: https://github.com/rust-lang/rfcs/blob/master/text/0235-collections-conventions.md
2893 [coll2]: https://github.com/rust-lang/rfcs/blob/master/text/0509-collections-reform-part-2.md
2894 [coll3]: https://github.com/rust-lang/rfcs/blob/master/text/0216-collection-views.md
2895 [ops]: https://github.com/rust-lang/rfcs/blob/master/text/0439-cmp-ops-reform.md
2896 [prelude]: https://github.com/rust-lang/rfcs/blob/master/text/0503-prelude-stabilization.md
2897 [where]: https://github.com/rust-lang/rfcs/blob/master/text/0135-where.md
2898 [refl]: https://github.com/rust-lang/rfcs/blob/master/text/0379-remove-reflection.md
2899 [panic]: https://github.com/rust-lang/rfcs/blob/master/text/0221-panic.md
2900 [structvars]: https://github.com/rust-lang/rfcs/blob/master/text/0418-struct-variants.md
2901 [hrtb]: https://github.com/rust-lang/rfcs/blob/master/text/0387-higher-ranked-trait-bounds.md
2902 [unicode]: https://github.com/rust-lang/rfcs/blob/master/text/0446-es6-unicode-escapes.md
2903 [oibit]: https://github.com/rust-lang/rfcs/blob/master/text/0019-opt-in-builtin-traits.md
2904 [macros]: https://github.com/rust-lang/rfcs/blob/master/text/0378-expr-macros.md
2905 [range]: https://github.com/rust-lang/rfcs/blob/master/text/0439-cmp-ops-reform.md#indexing-and-slicing
2906 [arrays]: https://github.com/rust-lang/rfcs/blob/master/text/0520-new-array-repeat-syntax.md
2907 [show]: https://github.com/rust-lang/rfcs/blob/master/text/0504-show-stabilization.md
2908 [derive]: https://github.com/rust-lang/rfcs/blob/master/text/0534-deriving2derive.md
2909 [self]: https://github.com/rust-lang/rfcs/blob/master/text/0532-self-in-use.md
2910 [fb]: https://github.com/rust-lang/rfcs/blob/master/text/0212-restore-int-fallback.md
2911 [objsafe]: https://github.com/rust-lang/rfcs/blob/master/text/0255-object-safety.md
2912 [assoc]: https://github.com/rust-lang/rfcs/blob/master/text/0195-associated-items.md
2913 [ints]: https://github.com/rust-lang/rfcs/pull/544#issuecomment-68760871
2914 [trpl]: https://doc.rust-lang.org/book/index.html
2915 [rbe]: http://rustbyexample.com/
2916
2917
2918 Version 0.12.0 (2014-10-09)
2919 =============================
2920
2921   * ~1900 changes, numerous bugfixes
2922
2923   * Highlights
2924
2925     * The introductory documentation (now called The Rust Guide) has
2926       been completely rewritten, as have a number of supplementary
2927       guides.
2928     * Rust's package manager, Cargo, continues to improve and is
2929       sometimes considered to be quite awesome.
2930     * Many API's in `std` have been reviewed and updated for
2931       consistency with the in-development Rust coding
2932       guidelines. The standard library documentation tracks
2933       stabilization progress.
2934     * Minor libraries have been moved out-of-tree to the rust-lang org
2935       on GitHub: uuid, semver, glob, num, hexfloat, fourcc. They can
2936       be installed with Cargo.
2937     * Lifetime elision allows lifetime annotations to be left off of
2938       function declarations in many common scenarios.
2939     * Rust now works on 64-bit Windows.
2940
2941   * Language
2942     * Indexing can be overloaded with the `Index` and `IndexMut`
2943       traits.
2944     * The `if let` construct takes a branch only if the `let` pattern
2945       matches, currently behind the 'if_let' feature gate.
2946     * 'where clauses', a more flexible syntax for specifying trait
2947       bounds that is more aesthetic, have been added for traits and
2948       free functions. Where clauses will in the future make it
2949       possible to constrain associated types, which would be
2950       impossible with the existing syntax.
2951     * A new slicing syntax (e.g. `[0..4]`) has been introduced behind
2952       the 'slicing_syntax' feature gate, and can be overloaded with
2953       the `Slice` or `SliceMut` traits.
2954     * The syntax for matching of sub-slices has been changed to use a
2955       postfix `..` instead of prefix (.e.g. `[a, b, c..]`), for
2956       consistency with other uses of `..` and to future-proof
2957       potential additional uses of the syntax.
2958     * The syntax for matching inclusive ranges in patterns has changed
2959       from `0..3` to `0...4` to be consistent with the exclusive range
2960       syntax for slicing.
2961     * Matching of sub-slices in non-tail positions (e.g.  `[a.., b,
2962       c]`) has been put behind the 'advanced_slice_patterns' feature
2963       gate and may be removed in the future.
2964     * Components of tuples and tuple structs can be extracted using
2965       the `value.0` syntax, currently behind the `tuple_indexing`
2966       feature gate.
2967     * The `#[crate_id]` attribute is no longer supported; versioning
2968       is handled by the package manager.
2969     * Renaming crate imports are now written `extern crate foo as bar`
2970       instead of `extern crate bar = foo`.
2971     * Renaming use statements are now written `use foo as bar` instead
2972       of `use bar = foo`.
2973     * `let` and `match` bindings and argument names in macros are now
2974       hygienic.
2975     * The new, more efficient, closure types ('unboxed closures') have
2976       been added under a feature gate, 'unboxed_closures'. These will
2977       soon replace the existing closure types, once higher-ranked
2978       trait lifetimes are added to the language.
2979     * `move` has been added as a keyword, for indicating closures
2980       that capture by value.
2981     * Mutation and assignment is no longer allowed in pattern guards.
2982     * Generic structs and enums can now have trait bounds.
2983     * The `Share` trait is now called `Sync` to free up the term
2984       'shared' to refer to 'shared reference' (the default reference
2985       type.
2986     * Dynamically-sized types have been mostly implemented,
2987       unifying the behavior of fat-pointer types with the rest of the
2988       type system.
2989     * As part of dynamically-sized types, the `Sized` trait has been
2990       introduced, which qualifying types implement by default, and
2991       which type parameters expect by default. To specify that a type
2992       parameter does not need to be sized, write `<Sized? T>`. Most
2993       types are `Sized`, notable exceptions being unsized arrays
2994       (`[T]`) and trait types.
2995     * Closures can return `!`, as in `|| -> !` or `proc() -> !`.
2996     * Lifetime bounds can now be applied to type parameters and object
2997       types.
2998     * The old, reference counted GC type, `Gc<T>` which was once
2999       denoted by the `@` sigil, has finally been removed. GC will be
3000       revisited in the future.
3001
3002   * Libraries
3003     * Library documentation has been improved for a number of modules.
3004     * Bit-vectors, collections::bitv has been modernized.
3005     * The url crate is deprecated in favor of
3006       http://github.com/servo/rust-url, which can be installed with
3007       Cargo.
3008     * Most I/O stream types can be cloned and subsequently closed from
3009       a different thread.
3010     * A `std::time::Duration` type has been added for use in I/O
3011       methods that rely on timers, as well as in the 'time' crate's
3012       `Timespec` arithmetic.
3013     * The runtime I/O abstraction layer that enabled the green thread
3014       scheduler to do non-thread-blocking I/O has been removed, along
3015       with the libuv-based implementation employed by the green thread
3016       scheduler. This will greatly simplify the future I/O work.
3017     * `collections::btree` has been rewritten to have a more
3018       idiomatic and efficient design.
3019
3020   * Tooling
3021     * rustdoc output now indicates the stability levels of API's.
3022     * The `--crate-name` flag can specify the name of the crate
3023       being compiled, like `#[crate_name]`.
3024     * The `-C metadata` specifies additional metadata to hash into
3025       symbol names, and `-C extra-filename` specifies additional
3026       information to put into the output filename, for use by the
3027       package manager for versioning.
3028     * debug info generation has continued to improve and should be
3029       more reliable under both gdb and lldb.
3030     * rustc has experimental support for compiling in parallel
3031       using the `-C codegen-units` flag.
3032     * rustc no longer encodes rpath information into binaries by
3033       default.
3034
3035   * Misc
3036     * Stack usage has been optimized with LLVM lifetime annotations.
3037     * Official Rust binaries on Linux are more compatible with older
3038       kernels and distributions, built on CentOS 5.10.
3039
3040
3041 Version 0.11.0 (2014-07-02)
3042 ==========================
3043
3044   * ~1700 changes, numerous bugfixes
3045
3046   * Language
3047     * ~[T] has been removed from the language. This type is superseded by
3048       the Vec<T> type.
3049     * ~str has been removed from the language. This type is superseded by
3050       the String type.
3051     * ~T has been removed from the language. This type is superseded by the
3052       Box<T> type.
3053     * @T has been removed from the language. This type is superseded by the
3054       standard library's std::gc::Gc<T> type.
3055     * Struct fields are now all private by default.
3056     * Vector indices and shift amounts are both required to be a `uint`
3057       instead of any integral type.
3058     * Byte character, byte string, and raw byte string literals are now all
3059       supported by prefixing the normal literal with a `b`.
3060     * Multiple ABIs are no longer allowed in an ABI string
3061     * The syntax for lifetimes on closures/procedures has been tweaked
3062       slightly: `<'a>|A, B|: 'b + K -> T`
3063     * Floating point modulus has been removed from the language; however it
3064       is still provided by a library implementation.
3065     * Private enum variants are now disallowed.
3066     * The `priv` keyword has been removed from the language.
3067     * A closure can no longer be invoked through a &-pointer.
3068     * The `use foo, bar, baz;` syntax has been removed from the language.
3069     * The transmute intrinsic no longer works on type parameters.
3070     * Statics now allow blocks/items in their definition.
3071     * Trait bounds are separated from objects with + instead of : now.
3072     * Objects can no longer be read while they are mutably borrowed.
3073     * The address of a static is now marked as insignificant unless the
3074       #[inline(never)] attribute is placed it.
3075     * The #[unsafe_destructor] attribute is now behind a feature gate.
3076     * Struct literals are no longer allowed in ambiguous positions such as
3077       if, while, match, and for..in.
3078     * Declaration of lang items and intrinsics are now feature-gated by
3079       default.
3080     * Integral literals no longer default to `int`, and floating point
3081       literals no longer default to `f64`. Literals must be suffixed with an
3082       appropriate type if inference cannot determine the type of the
3083       literal.
3084     * The Box<T> type is no longer implicitly borrowed to &mut T.
3085     * Procedures are now required to not capture borrowed references.
3086
3087   * Libraries
3088     * The standard library is now a "facade" over a number of underlying
3089       libraries. This means that development on the standard library should
3090       be speeder due to smaller crates, as well as a clearer line between
3091       all dependencies.
3092     * A new library, libcore, lives under the standard library's facade
3093       which is Rust's "0-assumption" library, suitable for embedded and
3094       kernel development for example.
3095     * A regex crate has been added to the standard distribution. This crate
3096       includes statically compiled regular expressions.
3097     * The unwrap/unwrap_err methods on Result require a Show bound for
3098       better error messages.
3099     * The return types of the std::comm primitives have been centralized
3100       around the Result type.
3101     * A number of I/O primitives have gained the ability to time out their
3102       operations.
3103     * A number of I/O primitives have gained the ability to close their
3104       reading/writing halves to cancel pending operations.
3105     * Reverse iterator methods have been removed in favor of `rev()` on
3106       their forward-iteration counterparts.
3107     * A bitflags! macro has been added to enable easy interop with C and
3108       management of bit flags.
3109     * A debug_assert! macro is now provided which is disabled when
3110       `--cfg ndebug` is passed to the compiler.
3111     * A graphviz crate has been added for creating .dot files.
3112     * The std::cast module has been migrated into std::mem.
3113     * The std::local_data api has been migrated from freestanding functions
3114       to being based on methods.
3115     * The Pod trait has been renamed to Copy.
3116     * jemalloc has been added as the default allocator for types.
3117     * The API for allocating memory has been changed to use proper alignment
3118       and sized deallocation
3119     * Connecting a TcpStream or binding a TcpListener is now based on a
3120       string address and a u16 port. This allows connecting to a hostname as
3121       opposed to an IP.
3122     * The Reader trait now contains a core method, read_at_least(), which
3123       correctly handles many repeated 0-length reads.
3124     * The process-spawning API is now centered around a builder-style
3125       Command struct.
3126     * The :? printing qualifier has been moved from the standard library to
3127       an external libdebug crate.
3128     * Eq/Ord have been renamed to PartialEq/PartialOrd. TotalEq/TotalOrd
3129       have been renamed to Eq/Ord.
3130     * The select/plural methods have been removed from format!. The escapes
3131       for { and } have also changed from \{ and \} to {{ and }},
3132       respectively.
3133     * The TaskBuilder API has been re-worked to be a true builder, and
3134       extension traits for spawning native/green tasks have been added.
3135
3136   * Tooling
3137     * All breaking changes to the language or libraries now have their
3138       commit message annotated with `[breaking-change]` to allow for easy
3139       discovery of breaking changes.
3140     * The compiler will now try to suggest how to annotate lifetimes if a
3141       lifetime-related error occurs.
3142     * Debug info continues to be improved greatly with general bug fixes and
3143       better support for situations like link time optimization (LTO).
3144     * Usage of syntax extensions when cross-compiling has been fixed.
3145     * Functionality equivalent to GCC & Clang's -ffunction-sections,
3146       -fdata-sections and --gc-sections has been enabled by default
3147     * The compiler is now stricter about where it will load module files
3148       from when a module is declared via `mod foo;`.
3149     * The #[phase(syntax)] attribute has been renamed to #[phase(plugin)].
3150       Syntax extensions are now discovered via a "plugin registrar" type
3151       which will be extended in the future to other various plugins.
3152     * Lints have been restructured to allow for dynamically loadable lints.
3153     * A number of rustdoc improvements:
3154       * The HTML output has been visually redesigned.
3155       * Markdown is now powered by hoedown instead of sundown.
3156       * Searching heuristics have been greatly improved.
3157       * The search index has been reduced in size by a great amount.
3158       * Cross-crate documentation via `pub use` has been greatly improved.
3159       * Primitive types are now hyperlinked and documented.
3160     * Documentation has been moved from static.rust-lang.org/doc to
3161       doc.rust-lang.org
3162     * A new sandbox, play.rust-lang.org, is available for running and
3163       sharing rust code examples on-line.
3164     * Unused attributes are now more robustly warned about.
3165     * The dead_code lint now warns about unused struct fields.
3166     * Cross-compiling to iOS is now supported.
3167     * Cross-compiling to mipsel is now supported.
3168     * Stability attributes are now inherited by default and no longer apply
3169       to intra-crate usage, only inter-crate usage.
3170     * Error message related to non-exhaustive match expressions have been
3171       greatly improved.
3172
3173
3174 Version 0.10 (2014-04-03)
3175 =========================
3176
3177   * ~1500 changes, numerous bugfixes
3178
3179   * Language
3180     * A new RFC process is now in place for modifying the language.
3181     * Patterns with `@`-pointers have been removed from the language.
3182     * Patterns with unique vectors (`~[T]`) have been removed from the
3183       language.
3184     * Patterns with unique strings (`~str`) have been removed from the
3185       language.
3186     * `@str` has been removed from the language.
3187     * `@[T]` has been removed from the language.
3188     * `@self` has been removed from the language.
3189     * `@Trait` has been removed from the language.
3190     * Headers on `~` allocations which contain `@` boxes inside the type for
3191       reference counting have been removed.
3192     * The semantics around the lifetimes of temporary expressions have changed,
3193       see #3511 and #11585 for more information.
3194     * Cross-crate syntax extensions are now possible, but feature gated. See
3195       #11151 for more information. This includes both `macro_rules!` macros as
3196       well as syntax extensions such as `format!`.
3197     * New lint modes have been added, and older ones have been turned on to be
3198       warn-by-default.
3199       * Unnecessary parentheses
3200       * Uppercase statics
3201       * Camel Case types
3202       * Uppercase variables
3203       * Publicly visible private types
3204       * `#[deriving]` with raw pointers
3205     * Unsafe functions can no longer be coerced to closures.
3206     * Various obscure macros such as `log_syntax!` are now behind feature gates.
3207     * The `#[simd]` attribute is now behind a feature gate.
3208     * Visibility is no longer allowed on `extern crate` statements, and
3209       unnecessary visibility (`priv`) is no longer allowed on `use` statements.
3210     * Trailing commas are now allowed in argument lists and tuple patterns.
3211     * The `do` keyword has been removed, it is now a reserved keyword.
3212     * Default type parameters have been implemented, but are feature gated.
3213     * Borrowed variables through captures in closures are now considered soundly.
3214     * `extern mod` is now `extern crate`
3215     * The `Freeze` trait has been removed.
3216     * The `Share` trait has been added for types that can be shared among
3217       threads.
3218     * Labels in macros are now hygienic.
3219     * Expression/statement macro invocations can be delimited with `{}` now.
3220     * Treatment of types allowed in `static mut` locations has been tweaked.
3221     * The `*` and `.` operators are now overloadable through the `Deref` and
3222       `DerefMut` traits.
3223     * `~Trait` and `proc` no longer have `Send` bounds by default.
3224     * Partial type hints are now supported with the `_` type marker.
3225     * An `Unsafe` type was introduced for interior mutability. It is now
3226       considered undefined to transmute from `&T` to `&mut T` without using the
3227       `Unsafe` type.
3228     * The #[linkage] attribute was implemented for extern statics/functions.
3229     * The inner attribute syntax has changed from `#[foo];` to `#![foo]`.
3230     * `Pod` was renamed to `Copy`.
3231
3232   * Libraries
3233     * The `libextra` library has been removed. It has now been decomposed into
3234       component libraries with smaller and more focused nuggets of
3235       functionality. The full list of libraries can be found on the
3236       documentation index page.
3237     * std: `std::condition` has been removed. All I/O errors are now propagated
3238       through the `Result` type. In order to assist with error handling, a
3239       `try!` macro for unwrapping errors with an early return and a lint for
3240       unused results has been added. See #12039 for more information.
3241     * std: The `vec` module has been renamed to `slice`.
3242     * std: A new vector type, `Vec<T>`, has been added in preparation for DST.
3243       This will become the only growable vector in the future.
3244     * std: `std::io` now has more public-reexports. Types such as `BufferedReader`
3245       are now found at `std::io::BufferedReader` instead of
3246       `std::io::buffered::BufferedReader`.
3247     * std: `print` and `println` are no longer in the prelude, the `print!` and
3248       `println!` macros are intended to be used instead.
3249     * std: `Rc` now has a `Weak` pointer for breaking cycles, and it no longer
3250       attempts to statically prevent cycles.
3251     * std: The standard distribution is adopting the policy of pushing failure
3252       to the user rather than failing in libraries. Many functions (such as
3253       `slice::last()`) now return `Option<T>` instead of `T` + failing.
3254     * std: `fmt::Default` has been renamed to `fmt::Show`, and it now has a new
3255       deriving mode: `#[deriving(Show)]`.
3256     * std: `ToStr` is now implemented for all types implementing `Show`.
3257     * std: The formatting trait methods now take `&self` instead of `&T`
3258     * std: The `invert()` method on iterators has been renamed to `rev()`
3259     * std: `std::num` has seen a reduction in the genericity of its traits,
3260       consolidating functionality into a few core traits.
3261     * std: Backtraces are now printed on task failure if the environment
3262       variable `RUST_BACKTRACE` is present.
3263     * std: Naming conventions for iterators have been standardized. More details
3264       can be found on the wiki's style guide.
3265     * std: `eof()` has been removed from the `Reader` trait. Specific types may
3266       still implement the function.
3267     * std: Networking types are now cloneable to allow simultaneous reads/writes.
3268     * std: `assert_approx_eq!` has been removed
3269     * std: The `e` and `E` formatting specifiers for floats have been added to
3270       print them in exponential notation.
3271     * std: The `Times` trait has been removed
3272     * std: Indications of variance and opting out of builtin bounds is done
3273       through marker types in `std::kinds::marker` now
3274     * std: `hash` has been rewritten, `IterBytes` has been removed, and
3275       `#[deriving(Hash)]` is now possible.
3276     * std: `SharedChan` has been removed, `Sender` is now cloneable.
3277     * std: `Chan` and `Port` were renamed to `Sender` and `Receiver`.
3278     * std: `Chan::new` is now `channel()`.
3279     * std: A new synchronous channel type has been implemented.
3280     * std: A `select!` macro is now provided for selecting over `Receiver`s.
3281     * std: `hashmap` and `trie` have been moved to `libcollections`
3282     * std: `run` has been rolled into `io::process`
3283     * std: `assert_eq!` now uses `{}` instead of `{:?}`
3284     * std: The equality and comparison traits have seen some reorganization.
3285     * std: `rand` has moved to `librand`.
3286     * std: `to_{lower,upper}case` has been implemented for `char`.
3287     * std: Logging has been moved to `liblog`.
3288     * collections: `HashMap` has been rewritten for higher performance and less
3289       memory usage.
3290     * native: The default runtime is now `libnative`. If `libgreen` is desired,
3291       it can be booted manually. The runtime guide has more information and
3292       examples.
3293     * native: All I/O functionality except signals has been implemented.
3294     * green: Task spawning with `libgreen` has been optimized with stack caching
3295       and various trimming of code.
3296     * green: Tasks spawned by `libgreen` now have an unmapped guard page.
3297     * sync: The `extra::sync` module has been updated to modern rust (and moved
3298       to the `sync` library), tweaking and improving various interfaces while
3299       dropping redundant functionality.
3300     * sync: A new `Barrier` type has been added to the `sync` library.
3301     * sync: An efficient mutex for native and green tasks has been implemented.
3302     * serialize: The `base64` module has seen some improvement. It treats
3303       newlines better, has non-string error values, and has seen general
3304       cleanup.
3305     * fourcc: A `fourcc!` macro was introduced
3306     * hexfloat: A `hexfloat!` macro was implemented for specifying floats via a
3307       hexadecimal literal.
3308
3309   * Tooling
3310     * `rustpkg` has been deprecated and removed from the main repository. Its
3311       replacement, `cargo`, is under development.
3312     * Nightly builds of rust are now available
3313     * The memory usage of rustc has been improved many times throughout this
3314       release cycle.
3315     * The build process supports disabling rpath support for the rustc binary
3316       itself.
3317     * Code generation has improved in some cases, giving more information to the
3318       LLVM optimization passes to enable more extensive optimizations.
3319     * Debuginfo compatibility with lldb on OSX has been restored.
3320     * The master branch is now gated on an android bot, making building for
3321       android much more reliable.
3322     * Output flags have been centralized into one `--emit` flag.
3323     * Crate type flags have been centralized into one `--crate-type` flag.
3324     * Codegen flags have been consolidated behind a `-C` flag.
3325     * Linking against outdated crates now has improved error messages.
3326     * Error messages with lifetimes will often suggest how to annotate the
3327       function to fix the error.
3328     * Many more types are documented in the standard library, and new guides
3329       were written.
3330     * Many `rustdoc` improvements:
3331       * code blocks are syntax highlighted.
3332       * render standalone markdown files.
3333       * the --test flag tests all code blocks by default.
3334       * exported macros are displayed.
3335       * reexported types have their documentation inlined at the location of the
3336         first reexport.
3337       * search works across crates that have been rendered to the same output
3338         directory.
3339
3340
3341 Version 0.9 (2014-01-09)
3342 ==========================
3343
3344    * ~1800 changes, numerous bugfixes
3345
3346    * Language
3347       * The `float` type has been removed. Use `f32` or `f64` instead.
3348       * A new facility for enabling experimental features (feature gating) has
3349         been added, using the crate-level `#[feature(foo)]` attribute.
3350       * Managed boxes (@) are now behind a feature gate
3351         (`#[feature(managed_boxes)]`) in preparation for future removal. Use the
3352         standard library's `Gc` or `Rc` types instead.
3353       * `@mut` has been removed. Use `std::cell::{Cell, RefCell}` instead.
3354       * Jumping back to the top of a loop is now done with `continue` instead of
3355         `loop`.
3356       * Strings can no longer be mutated through index assignment.
3357       * Raw strings can be created via the basic `r"foo"` syntax or with matched
3358         hash delimiters, as in `r###"foo"###`.
3359       * `~fn` is now written `proc (args) -> retval { ... }` and may only be
3360         called once.
3361       * The `&fn` type is now written `|args| -> ret` to match the literal form.
3362       * `@fn`s have been removed.
3363       * `do` only works with procs in order to make it obvious what the cost
3364         of `do` is.
3365       * Single-element tuple-like structs can no longer be dereferenced to
3366         obtain the inner value. A more comprehensive solution for overloading
3367         the dereference operator will be provided in the future.
3368       * The `#[link(...)]` attribute has been replaced with
3369         `#[crate_id = "name#vers"]`.
3370       * Empty `impl`s must be terminated with empty braces and may not be
3371         terminated with a semicolon.
3372       * Keywords are no longer allowed as lifetime names; the `self` lifetime
3373         no longer has any special meaning.
3374       * The old `fmt!` string formatting macro has been removed.
3375       * `printf!` and `printfln!` (old-style formatting) removed in favor of
3376         `print!` and `println!`.
3377       * `mut` works in patterns now, as in `let (mut x, y) = (1, 2);`.
3378       * The `extern mod foo (name = "bar")` syntax has been removed. Use
3379         `extern mod foo = "bar"` instead.
3380       * New reserved keywords: `alignof`, `offsetof`, `sizeof`.
3381       * Macros can have attributes.
3382       * Macros can expand to items with attributes.
3383       * Macros can expand to multiple items.
3384       * The `asm!` macro is feature-gated (`#[feature(asm)]`).
3385       * Comments may be nested.
3386       * Values automatically coerce to trait objects they implement, without
3387         an explicit `as`.
3388       * Enum discriminants are no longer an entire word but as small as needed to
3389         contain all the variants. The `repr` attribute can be used to override
3390         the discriminant size, as in `#[repr(int)]` for integer-sized, and
3391         `#[repr(C)]` to match C enums.
3392       * Non-string literals are not allowed in attributes (they never worked).
3393       * The FFI now supports variadic functions.
3394       * Octal numeric literals, as in `0o7777`.
3395       * The `concat!` syntax extension performs compile-time string concatenation.
3396       * The `#[fixed_stack_segment]` and `#[rust_stack]` attributes have been
3397         removed as Rust no longer uses segmented stacks.
3398       * Non-ascii identifiers are feature-gated (`#[feature(non_ascii_idents)]`).
3399       * Ignoring all fields of an enum variant or tuple-struct is done with `..`,
3400         not `*`; ignoring remaining fields of a struct is also done with `..`,
3401         not `_`; ignoring a slice of a vector is done with `..`, not `.._`.
3402       * `rustc` supports the "win64" calling convention via `extern "win64"`.
3403       * `rustc` supports the "system" calling convention, which defaults to the
3404         preferred convention for the target platform, "stdcall" on 32-bit Windows,
3405         "C" elsewhere.
3406       * The `type_overflow` lint (default: warn) checks literals for overflow.
3407       * The `unsafe_block` lint (default: allow) checks for usage of `unsafe`.
3408       * The `attribute_usage` lint (default: warn) warns about unknown
3409         attributes.
3410       * The `unknown_features` lint (default: warn) warns about unknown
3411         feature gates.
3412       * The `dead_code` lint (default: warn) checks for dead code.
3413       * Rust libraries can be linked statically to one another
3414       * `#[link_args]` is behind the `link_args` feature gate.
3415       * Native libraries are now linked with `#[link(name = "foo")]`
3416       * Native libraries can be statically linked to a rust crate
3417         (`#[link(name = "foo", kind = "static")]`).
3418       * Native OS X frameworks are now officially supported
3419         (`#[link(name = "foo", kind = "framework")]`).
3420       * The `#[thread_local]` attribute creates thread-local (not task-local)
3421         variables. Currently behind the `thread_local` feature gate.
3422       * The `return` keyword may be used in closures.
3423       * Types that can be copied via a memcpy implement the `Pod` kind.
3424       * The `cfg` attribute can now be used on struct fields and enum variants.
3425
3426    * Libraries
3427       * std: The `option` and `result` API's have been overhauled to make them
3428         simpler, more consistent, and more composable.
3429       * std: The entire `std::io` module has been replaced with one that is
3430         more comprehensive and that properly interfaces with the underlying
3431         scheduler. File, TCP, UDP, Unix sockets, pipes, and timers are all
3432         implemented.
3433       * std: `io::util` contains a number of useful implementations of
3434         `Reader` and `Writer`, including `NullReader`, `NullWriter`,
3435         `ZeroReader`, `TeeReader`.
3436       * std: The reference counted pointer type `extra::rc` moved into std.
3437       * std: The `Gc` type in the `gc` module will replace `@` (it is currently
3438         just a wrapper around it).
3439       * std: The `Either` type has been removed.
3440       * std: `fmt::Default` can be implemented for any type to provide default
3441         formatting to the `format!` macro, as in `format!("{}", myfoo)`.
3442       * std: The `rand` API continues to be tweaked.
3443       * std: The `rust_begin_unwind` function, useful for inserting breakpoints
3444         on failure in gdb, is now named `rust_fail`.
3445       * std: The `each_key` and `each_value` methods on `HashMap` have been
3446         replaced by the `keys` and `values` iterators.
3447       * std: Functions dealing with type size and alignment have moved from the
3448         `sys` module to the `mem` module.
3449       * std: The `path` module was written and API changed.
3450       * std: `str::from_utf8` has been changed to cast instead of allocate.
3451       * std: `starts_with` and `ends_with` methods added to vectors via the
3452         `ImmutableEqVector` trait, which is in the prelude.
3453       * std: Vectors can be indexed with the `get_opt` method, which returns `None`
3454         if the index is out of bounds.
3455       * std: Task failure no longer propagates between tasks, as the model was
3456         complex, expensive, and incompatible with thread-based tasks.
3457       * std: The `Any` type can be used for dynamic typing.
3458       * std: `~Any` can be passed to the `fail!` macro and retrieved via
3459         `task::try`.
3460       * std: Methods that produce iterators generally do not have an `_iter`
3461         suffix now.
3462       * std: `cell::Cell` and `cell::RefCell` can be used to introduce mutability
3463         roots (mutable fields, etc.). Use instead of e.g. `@mut`.
3464       * std: `util::ignore` renamed to `prelude::drop`.
3465       * std: Slices have `sort` and `sort_by` methods via the `MutableVector`
3466         trait.
3467       * std: `vec::raw` has seen a lot of cleanup and API changes.
3468       * std: The standard library no longer includes any C++ code, and very
3469         minimal C, eliminating the dependency on libstdc++.
3470       * std: Runtime scheduling and I/O functionality has been factored out into
3471         extensible interfaces and is now implemented by two different crates:
3472         libnative, for native threading and I/O; and libgreen, for green threading
3473         and I/O. This paves the way for using the standard library in more limited
3474         embedded environments.
3475       * std: The `comm` module has been rewritten to be much faster, have a
3476         simpler, more consistent API, and to work for both native and green
3477         threading.
3478       * std: All libuv dependencies have been moved into the rustuv crate.
3479       * native: New implementations of runtime scheduling on top of OS threads.
3480       * native: New native implementations of TCP, UDP, file I/O, process spawning,
3481         and other I/O.
3482       * green: The green thread scheduler and message passing types are almost
3483         entirely lock-free.
3484       * extra: The `flatpipes` module had bitrotted and was removed.
3485       * extra: All crypto functions have been removed and Rust now has a policy of
3486         not reimplementing crypto in the standard library. In the future crypto
3487         will be provided by external crates with bindings to established libraries.
3488       * extra: `c_vec` has been modernized.
3489       * extra: The `sort` module has been removed. Use the `sort` method on
3490         mutable slices.
3491
3492    * Tooling
3493       * The `rust` and `rusti` commands have been removed, due to lack of
3494         maintenance.
3495       * `rustdoc` was completely rewritten.
3496       * `rustdoc` can test code examples in documentation.
3497       * `rustpkg` can test packages with the argument, 'test'.
3498       * `rustpkg` supports arbitrary dependencies, including C libraries.
3499       * `rustc`'s support for generating debug info is improved again.
3500       * `rustc` has better error reporting for unbalanced delimiters.
3501       * `rustc`'s JIT support was removed due to bitrot.
3502       * Executables and static libraries can be built with LTO (-Z lto)
3503       * `rustc` adds a `--dep-info` flag for communicating dependencies to
3504         build tools.
3505
3506
3507 Version 0.8 (2013-09-26)
3508 ============================
3509
3510    * ~2200 changes, numerous bugfixes
3511
3512    * Language
3513       * The `for` loop syntax has changed to work with the `Iterator` trait.
3514       * At long last, unwinding works on Windows.
3515       * Default methods are ready for use.
3516       * Many trait inheritance bugs fixed.
3517       * Owned and borrowed trait objects work more reliably.
3518       * `copy` is no longer a keyword. It has been replaced by the `Clone` trait.
3519       * rustc can omit emission of code for the `debug!` macro if it is passed
3520         `--cfg ndebug`
3521       * mod.rs is now "blessed". When loading `mod foo;`, rustc will now look
3522         for foo.rs, then foo/mod.rs, and will generate an error when both are
3523         present.
3524       * Strings no longer contain trailing nulls. The new `std::c_str` module
3525         provides new mechanisms for converting to C strings.
3526       * The type of foreign functions is now `extern "C" fn` instead of `*u8'.
3527       * The FFI has been overhauled such that foreign functions are called directly,
3528         instead of through a stack-switching wrapper.
3529       * Calling a foreign function must be done through a Rust function with the
3530         `#[fixed_stack_segment]` attribute.
3531       * The `externfn!` macro can be used to declare both a foreign function and
3532         a `#[fixed_stack_segment]` wrapper at once.
3533       * `pub` and `priv` modifiers on `extern` blocks are no longer parsed.
3534       * `unsafe` is no longer allowed on extern fns - they are all unsafe.
3535       * `priv` is disallowed everywhere except for struct fields and enum variants.
3536       * `&T` (besides `&'static T`) is no longer allowed in `@T`.
3537       * `ref` bindings in irrefutable patterns work correctly now.
3538       * `char` is now prevented from containing invalid code points.
3539       * Casting to `bool` is no longer allowed.
3540       * `\0` is now accepted as an escape in chars and strings.
3541       * `yield` is a reserved keyword.
3542       * `typeof` is a reserved keyword.
3543       * Crates may be imported by URL with `extern mod foo = "url";`.
3544       * Explicit enum discriminants may be given as uints as in `enum E { V = 0u }`
3545       * Static vectors can be initialized with repeating elements,
3546         e.g. `static foo: [u8, .. 100]: [0, .. 100];`.
3547       * Static structs can be initialized with functional record update,
3548         e.g. `static foo: Foo = Foo { a: 5, .. bar };`.
3549       * `cfg!` can be used to conditionally execute code based on the crate
3550         configuration, similarly to `#[cfg(...)]`.
3551       * The `unnecessary_qualification` lint detects unneeded module
3552         prefixes (default: allow).
3553       * Arithmetic operations have been implemented on the SIMD types in
3554         `std::unstable::simd`.
3555       * Exchange allocation headers were removed, reducing memory usage.
3556       * `format!` implements a completely new, extensible, and higher-performance
3557         string formatting system. It will replace `fmt!`.
3558       * `print!` and `println!` write formatted strings (using the `format!`
3559         extension) to stdout.
3560       * `write!` and `writeln!` write formatted strings (using the `format!`
3561         extension) to the new Writers in `std::rt::io`.
3562       * The library section in which a function or static is placed may
3563         be specified with `#[link_section = "..."]`.
3564       * The `proto!` syntax extension for defining bounded message protocols
3565         was removed.
3566       * `macro_rules!` is hygienic for `let` declarations.
3567       * The `#[export_name]` attribute specifies the name of a symbol.
3568       * `unreachable!` can be used to indicate unreachable code, and fails
3569         if executed.
3570
3571    * Libraries
3572       * std: Transitioned to the new runtime, written in Rust.
3573       * std: Added an experimental I/O library, `rt::io`, based on the new
3574         runtime.
3575       * std: A new generic `range` function was added to the prelude, replacing
3576         `uint::range` and friends.
3577       * std: `range_rev` no longer exists. Since range is an iterator it can be
3578         reversed with `range(lo, hi).invert()`.
3579       * std: The `chain` method on option renamed to `and_then`; `unwrap_or_default`
3580         renamed to `unwrap_or`.
3581       * std: The `iterator` module was renamed to `iter`.
3582       * std: Integral types now support the `checked_add`, `checked_sub`, and
3583         `checked_mul` operations for detecting overflow.
3584       * std: Many methods in `str`, `vec`, `option, `result` were renamed for
3585         consistency.
3586       * std: Methods are standardizing on conventions for casting methods:
3587         `to_foo` for copying, `into_foo` for moving, `as_foo` for temporary
3588         and cheap casts.
3589       * std: The `CString` type in `c_str` provides new ways to convert to and
3590         from C strings.
3591       * std: `DoubleEndedIterator` can yield elements in two directions.
3592       * std: The `mut_split` method on vectors partitions an `&mut [T]` into
3593         two splices.
3594       * std: `str::from_bytes` renamed to `str::from_utf8`.
3595       * std: `pop_opt` and `shift_opt` methods added to vectors.
3596       * std: The task-local data interface no longer uses @, and keys are
3597         no longer function pointers.
3598       * std: The `swap_unwrap` method of `Option` renamed to `take_unwrap`.
3599       * std: Added `SharedPort` to `comm`.
3600       * std: `Eq` has a default method for `ne`; only `eq` is required
3601         in implementations.
3602       * std: `Ord` has default methods for `le`, `gt` and `ge`; only `lt`
3603         is required in implementations.
3604       * std: `is_utf8` performance is improved, impacting many string functions.
3605       * std: `os::MemoryMap` provides cross-platform mmap.
3606       * std: `ptr::offset` is now unsafe, but also more optimized. Offsets that
3607         are not 'in-bounds' are considered undefined.
3608       * std: Many freestanding functions in `vec` removed in favor of methods.
3609       * std: Many freestanding functions on scalar types removed in favor of
3610         methods.
3611       * std: Many options to task builders were removed since they don't make
3612         sense in the new scheduler design.
3613       * std: More containers implement `FromIterator` so can be created by the
3614         `collect` method.
3615       * std: More complete atomic types in `unstable::atomics`.
3616       * std: `comm::PortSet` removed.
3617       * std: Mutating methods in the `Set` and `Map` traits have been moved into
3618         the `MutableSet` and `MutableMap` traits. `Container::is_empty`,
3619         `Map::contains_key`, `MutableMap::insert`, and `MutableMap::remove` have
3620         default implementations.
3621       * std: Various `from_str` functions were removed in favor of a generic
3622         `from_str` which is available in the prelude.
3623       * std: `util::unreachable` removed in favor of the `unreachable!` macro.
3624       * extra: `dlist`, the doubly-linked list was modernized.
3625       * extra: Added a `hex` module with `ToHex` and `FromHex` traits.
3626       * extra: Added `glob` module, replacing `std::os::glob`.
3627       * extra: `rope` was removed.
3628       * extra: `deque` was renamed to `ringbuf`. `RingBuf` implements `Deque`.
3629       * extra: `net`, and `timer` were removed. The experimental replacements
3630         are `std::rt::io::net` and `std::rt::io::timer`.
3631       * extra: Iterators implemented for `SmallIntMap`.
3632       * extra: Iterators implemented for `Bitv` and `BitvSet`.
3633       * extra: `SmallIntSet` removed. Use `BitvSet`.
3634       * extra: Performance of JSON parsing greatly improved.
3635       * extra: `semver` updated to SemVer 2.0.0.
3636       * extra: `term` handles more terminals correctly.
3637       * extra: `dbg` module removed.
3638       * extra: `par` module removed.
3639       * extra: `future` was cleaned up, with some method renames.
3640       * extra: Most free functions in `getopts` were converted to methods.
3641
3642    * Other
3643       * rustc's debug info generation (`-Z debug-info`) is greatly improved.
3644       * rustc accepts `--target-cpu` to compile to a specific CPU architecture,
3645         similarly to gcc's `--march` flag.
3646       * rustc's performance compiling small crates is much better.
3647       * rustpkg has received many improvements.
3648       * rustpkg supports git tags as package IDs.
3649       * rustpkg builds into target-specific directories so it can be used for
3650         cross-compiling.
3651       * The number of concurrent test tasks is controlled by the environment
3652         variable RUST_TEST_TASKS.
3653       * The test harness can now report metrics for benchmarks.
3654       * All tools have man pages.
3655       * Programs compiled with `--test` now support the `-h` and `--help` flags.
3656       * The runtime uses jemalloc for allocations.
3657       * Segmented stacks are temporarily disabled as part of the transition to
3658         the new runtime. Stack overflows are possible!
3659       * A new documentation backend, rustdoc_ng, is available for use. It is
3660         still invoked through the normal `rustdoc` command.
3661
3662
3663 Version 0.7 (2013-07-03)
3664 =======================
3665
3666    * ~2000 changes, numerous bugfixes
3667
3668    * Language
3669       * `impl`s no longer accept a visibility qualifier. Put them on methods
3670         instead.
3671       * The borrow checker has been rewritten with flow-sensitivity, fixing
3672         many bugs and inconveniences.
3673       * The `self` parameter no longer implicitly means `&'self self`,
3674         and can be explicitly marked with a lifetime.
3675       * Overloadable compound operators (`+=`, etc.) have been temporarily
3676         removed due to bugs.
3677       * The `for` loop protocol now requires `for`-iterators to return `bool`
3678         so they compose better.
3679       * The `Durable` trait is replaced with the `'static` bounds.
3680       * Trait default methods work more often.
3681       * Structs with the `#[packed]` attribute have byte alignment and
3682         no padding between fields.
3683       * Type parameters bound by `Copy` must now be copied explicitly with
3684         the `copy` keyword.
3685       * It is now illegal to move out of a dereferenced unsafe pointer.
3686       * `Option<~T>` is now represented as a nullable pointer.
3687       * `@mut` does dynamic borrow checks correctly.
3688       * The `main` function is only detected at the topmost level of the crate.
3689         The `#[main]` attribute is still valid anywhere.
3690       * Struct fields may no longer be mutable. Use inherited mutability.
3691       * The `#[no_send]` attribute makes a type that would otherwise be
3692         `Send`, not.
3693       * The `#[no_freeze]` attribute makes a type that would otherwise be
3694         `Freeze`, not.
3695       * Unbounded recursion will abort the process after reaching the limit
3696         specified by the `RUST_MAX_STACK` environment variable (default: 1GB).
3697       * The `vecs_implicitly_copyable` lint mode has been removed. Vectors
3698         are never implicitly copyable.
3699       * `#[static_assert]` makes compile-time assertions about static bools.
3700       * At long last, 'argument modes' no longer exist.
3701       * The rarely used `use mod` statement no longer exists.
3702
3703    * Syntax extensions
3704       * `fail!` and `assert!` accept `~str`, `&'static str` or `fmt!`-style
3705         argument list.
3706       * `Encodable`, `Decodable`, `Ord`, `TotalOrd`, `TotalEq`, `DeepClone`,
3707         `Rand`, `Zero` and `ToStr` can all be automatically derived with
3708         `#[deriving(...)]`.
3709       * The `bytes!` macro returns a vector of bytes for string, u8, char,
3710         and unsuffixed integer literals.
3711
3712    * Libraries
3713       * The `core` crate was renamed to `std`.
3714       * The `std` crate was renamed to `extra`.
3715       * More and improved documentation.
3716       * std: `iterator` module for external iterator objects.
3717       * Many old-style (internal, higher-order function) iterators replaced by
3718         implementations of `Iterator`.
3719       * std: Many old internal vector and string iterators,
3720         incl. `any`, `all`. removed.
3721       * std: The `finalize` method of `Drop` renamed to `drop`.
3722       * std: The `drop` method now takes `&mut self` instead of `&self`.
3723       * std: The prelude no longer reexports any modules, only types and traits.
3724       * std: Prelude additions: `print`, `println`, `FromStr`, `ApproxEq`, `Equiv`,
3725         `Iterator`, `IteratorUtil`, many numeric traits, many tuple traits.
3726       * std: New numeric traits: `Fractional`, `Real`, `RealExt`, `Integer`, `Ratio`,
3727         `Algebraic`, `Trigonometric`, `Exponential`, `Primitive`.
3728       * std: Tuple traits and accessors defined for up to 12-tuples, e.g.
3729         `(0, 1, 2).n2()` or `(0, 1, 2).n2_ref()`.
3730       * std: Many types implement `Clone`.
3731       * std: `path` type renamed to `Path`.
3732       * std: `mut` module and `Mut` type removed.
3733       * std: Many standalone functions removed in favor of methods and iterators
3734         in `vec`, `str`. In the future methods will also work as functions.
3735       * std: `reinterpret_cast` removed. Use `transmute`.
3736       * std: ascii string handling in `std::ascii`.
3737       * std: `Rand` is implemented for ~/@.
3738       * std: `run` module for spawning processes overhauled.
3739       * std: Various atomic types added to `unstable::atomic`.
3740       * std: Various types implement `Zero`.
3741       * std: `LinearMap` and `LinearSet` renamed to `HashMap` and `HashSet`.
3742       * std: Borrowed pointer functions moved from `ptr` to `borrow`.
3743       * std: Added `os::mkdir_recursive`.
3744       * std: Added `os::glob` function performs filesystems globs.
3745       * std: `FuzzyEq` renamed to `ApproxEq`.
3746       * std: `Map` now defines `pop` and `swap` methods.
3747       * std: `Cell` constructors converted to static methods.
3748       * extra: `rc` module adds the reference counted pointers, `Rc` and `RcMut`.
3749       * extra: `flate` module moved from `std` to `extra`.
3750       * extra: `fileinput` module for iterating over a series of files.
3751       * extra: `Complex` number type and `complex` module.
3752       * extra: `Rational` number type and `rational` module.
3753       * extra: `BigInt`, `BigUint` implement numeric and comparison traits.
3754       * extra: `term` uses terminfo now, is more correct.
3755       * extra: `arc` functions converted to methods.
3756       * extra: Implementation of fixed output size variations of SHA-2.
3757
3758    * Tooling
3759       * `unused_variable`  lint mode for unused variables (default: warn).
3760       * `unused_unsafe` lint mode for detecting unnecessary `unsafe` blocks
3761         (default: warn).
3762       * `unused_mut` lint mode for identifying unused `mut` qualifiers
3763         (default: warn).
3764       * `dead_assignment` lint mode for unread variables (default: warn).
3765       * `unnecessary_allocation` lint mode detects some heap allocations that are
3766         immediately borrowed so could be written without allocating (default: warn).
3767       * `missing_doc` lint mode (default: allow).
3768       * `unreachable_code` lint mode (default: warn).
3769       * The `rusti` command has been rewritten and a number of bugs addressed.
3770       * rustc outputs in color on more terminals.
3771       * rustc accepts a `--link-args` flag to pass arguments to the linker.
3772       * rustc accepts a `-Z print-link-args` flag for debugging linkage.
3773       * Compiling with `-g` will make the binary record information about
3774         dynamic borrowcheck failures for debugging.
3775       * rustdoc has a nicer stylesheet.
3776       * Various improvements to rustdoc.
3777       * Improvements to rustpkg (see the detailed release notes).
3778
3779
3780 Version 0.6 (2013-04-03)
3781 ========================
3782
3783    * ~2100 changes, numerous bugfixes
3784
3785    * Syntax changes
3786       * The self type parameter in traits is now spelled `Self`
3787       * The `self` parameter in trait and impl methods must now be explicitly
3788         named (for example: `fn f(&self) { }`). Implicit self is deprecated.
3789       * Static methods no longer require the `static` keyword and instead
3790         are distinguished by the lack of a `self` parameter
3791       * Replaced the `Durable` trait with the `'static` lifetime
3792       * The old closure type syntax with the trailing sigil has been
3793         removed in favor of the more consistent leading sigil
3794       * `super` is a keyword, and may be prefixed to paths
3795       * Trait bounds are separated with `+` instead of whitespace
3796       * Traits are implemented with `impl Trait for Type`
3797         instead of `impl Type: Trait`
3798       * Lifetime syntax is now `&'l foo` instead of `&l/foo`
3799       * The `export` keyword has finally been removed
3800       * The `move` keyword has been removed (see "Semantic changes")
3801       * The interior mutability qualifier on vectors, `[mut T]`, has been
3802         removed. Use `&mut [T]`, etc.
3803       * `mut` is no longer valid in `~mut T`. Use inherited mutability
3804       * `fail` is no longer a keyword. Use `fail!()`
3805       * `assert` is no longer a keyword. Use `assert!()`
3806       * `log` is no longer a keyword. use `debug!`, etc.
3807       * 1-tuples may be represented as `(T,)`
3808       * Struct fields may no longer be `mut`. Use inherited mutability,
3809         `@mut T`, `core::mut` or `core::cell`
3810       * `extern mod { ... }` is no longer valid syntax for foreign
3811         function modules. Use extern blocks: `extern { ... }`
3812       * Newtype enums removed. Use tuple-structs.
3813       * Trait implementations no longer support visibility modifiers
3814       * Pattern matching over vectors improved and expanded
3815       * `const` renamed to `static` to correspond to lifetime name,
3816         and make room for future `static mut` unsafe mutable globals.
3817       * Replaced `#[deriving_eq]` with `#[deriving(Eq)]`, etc.
3818       * `Clone` implementations can be automatically generated with
3819         `#[deriving(Clone)]`
3820       * Casts to traits must use a pointer sigil, e.g. `@foo as @Bar`
3821         instead of `foo as Bar`.
3822       * Fixed length vector types are now written as `[int, .. 3]`
3823         instead of `[int * 3]`.
3824       * Fixed length vector types can express the length as a constant
3825         expression. (ex: `[int, .. GL_BUFFER_SIZE - 2]`)
3826
3827    * Semantic changes
3828       * Types with owned pointers or custom destructors move by default,
3829         eliminating the `move` keyword
3830       * All foreign functions are considered unsafe
3831       * &mut is now unaliasable
3832       * Writes to borrowed @mut pointers are prevented dynamically
3833       * () has size 0
3834       * The name of the main function can be customized using #[main]
3835       * The default type of an inferred closure is &fn instead of @fn
3836       * `use` statements may no longer be "chained" - they cannot import
3837         identifiers imported by previous `use` statements
3838       * `use` statements are crate relative, importing from the "top"
3839         of the crate by default. Paths may be prefixed with `super::`
3840         or `self::` to change the search behavior.
3841       * Method visibility is inherited from the implementation declaration
3842       * Structural records have been removed
3843       * Many more types can be used in static items, including enums
3844         'static-lifetime pointers and vectors
3845       * Pattern matching over vectors improved and expanded
3846       * Typechecking of closure types has been overhauled to
3847         improve inference and eliminate unsoundness
3848       * Macros leave scope at the end of modules, unless that module is
3849         tagged with #[macro_escape]
3850
3851    * Libraries
3852       * Added big integers to `std::bigint`
3853       * Removed `core::oldcomm` module
3854       * Added pipe-based `core::comm` module
3855       * Numeric traits have been reorganized under `core::num`
3856       * `vec::slice` finally returns a slice
3857       * `debug!` and friends don't require a format string, e.g. `debug!(Foo)`
3858       * Containers reorganized around traits in `core::container`
3859       * `core::dvec` removed, `~[T]` is a drop-in replacement
3860       * `core::send_map` renamed to `core::hashmap`
3861       * `std::map` removed; replaced with `core::hashmap`
3862       * `std::treemap` reimplemented as an owned balanced tree
3863       * `std::deque` and `std::smallintmap` reimplemented as owned containers
3864       * `core::trie` added as a fast ordered map for integer keys
3865       * Set types added to `core::hashmap`, `core::trie` and `std::treemap`
3866       * `Ord` split into `Ord` and `TotalOrd`. `Ord` is still used to
3867         overload the comparison operators, whereas `TotalOrd` is used
3868         by certain container types
3869
3870    * Other
3871       * Replaced the 'cargo' package manager with 'rustpkg'
3872       * Added all-purpose 'rust' tool
3873       * `rustc --test` now supports benchmarks with the `#[bench]` attribute
3874       * rustc now *attempts* to offer spelling suggestions
3875       * Improved support for ARM and Android
3876       * Preliminary MIPS backend
3877       * Improved foreign function ABI implementation for x86, x86_64
3878       * Various memory usage improvements
3879       * Rust code may be embedded in foreign code under limited circumstances
3880       * Inline assembler supported by new asm!() syntax extension.
3881
3882
3883 Version 0.5 (2012-12-21)
3884 ===========================
3885
3886    * ~900 changes, numerous bugfixes
3887
3888    * Syntax changes
3889       * Removed `<-` move operator
3890       * Completed the transition from the `#fmt` extension syntax to `fmt!`
3891       * Removed old fixed length vector syntax - `[T]/N`
3892       * New token-based quasi-quoters, `quote_tokens!`, `quote_expr!`, etc.
3893       * Macros may now expand to items and statements
3894       * `a.b()` is always parsed as a method call, never as a field projection
3895       * `Eq` and `IterBytes` implementations can be automatically generated
3896         with `#[deriving_eq]` and `#[deriving_iter_bytes]` respectively
3897       * Removed the special crate language for `.rc` files
3898       * Function arguments may consist of any irrefutable pattern
3899
3900    * Semantic changes
3901       * `&` and `~` pointers may point to objects
3902       * Tuple structs - `struct Foo(Bar, Baz)`. Will replace newtype enums.
3903       * Enum variants may be structs
3904       * Destructors can be added to all nominal types with the Drop trait
3905       * Structs and nullary enum variants may be constants
3906       * Values that cannot be implicitly copied are now automatically moved
3907         without writing `move` explicitly
3908       * `&T` may now be coerced to `*T`
3909       * Coercions happen in `let` statements as well as function calls
3910       * `use` statements now take crate-relative paths
3911       * The module and type namespaces have been merged so that static
3912         method names can be resolved under the trait in which they are
3913         declared
3914
3915    * Improved support for language features
3916       * Trait inheritance works in many scenarios
3917       * More support for explicit self arguments in methods - `self`, `&self`
3918         `@self`, and `~self` all generally work as expected
3919       * Static methods work in more situations
3920       * Experimental: Traits may declare default methods for the implementations
3921         to use
3922
3923    * Libraries
3924       * New condition handling system in `core::condition`
3925       * Timsort added to `std::sort`
3926       * New priority queue, `std::priority_queue`
3927       * Pipes for serializable types, `std::flatpipes'
3928       * Serialization overhauled to be trait-based
3929       * Expanded `getopts` definitions
3930       * Moved futures to `std`
3931       * More functions are pure now
3932       * `core::comm` renamed to `oldcomm`. Still deprecated
3933       * `rustdoc` and `cargo` are libraries now
3934
3935    * Misc
3936       * Added a preliminary REPL, `rusti`
3937       * License changed from MIT to dual MIT/APL2
3938
3939
3940 Version 0.4 (2012-10-15)
3941 ==========================
3942
3943    * ~2000 changes, numerous bugfixes
3944
3945    * Syntax
3946       * All keywords are now strict and may not be used as identifiers anywhere
3947       * Keyword removal: 'again', 'import', 'check', 'new', 'owned', 'send',
3948         'of', 'with', 'to', 'class'.
3949       * Classes are replaced with simpler structs
3950       * Explicit method self types
3951       * `ret` became `return` and `alt` became `match`
3952       * `import` is now `use`; `use is now `extern mod`
3953       * `extern mod { ... }` is now `extern { ... }`
3954       * `use mod` is the recommended way to import modules
3955       * `pub` and `priv` replace deprecated export lists
3956       * The syntax of `match` pattern arms now uses fat arrow (=>)
3957       * `main` no longer accepts an args vector; use `os::args` instead
3958
3959    * Semantics
3960       * Trait implementations are now coherent, ala Haskell typeclasses
3961       * Trait methods may be static
3962       * Argument modes are deprecated
3963       * Borrowed pointers are much more mature and recommended for use
3964       * Strings and vectors in the static region are stored in constant memory
3965       * Typestate was removed
3966       * Resolution rewritten to be more reliable
3967       * Support for 'dual-mode' data structures (freezing and thawing)
3968
3969    * Libraries
3970       * Most binary operators can now be overloaded via the traits in
3971         `core::ops'
3972       * `std::net::url` for representing URLs
3973       * Sendable hash maps in `core::send_map`
3974       * `core::task' gained a (currently unsafe) task-local storage API
3975
3976    * Concurrency
3977       * An efficient new intertask communication primitive called the pipe,
3978         along with a number of higher-level channel types, in `core::pipes`
3979       * `std::arc`, an atomically reference counted, immutable, shared memory
3980         type
3981       * `std::sync`, various exotic synchronization tools based on arcs and pipes
3982       * Futures are now based on pipes and sendable
3983       * More robust linked task failure
3984       * Improved task builder API
3985
3986    * Other
3987       * Improved error reporting
3988       * Preliminary JIT support
3989       * Preliminary work on precise GC
3990       * Extensive architectural improvements to rustc
3991       * Begun a transition away from buggy C++-based reflection (shape) code to
3992         Rust-based (visitor) code
3993       * All hash functions and tables converted to secure, randomized SipHash
3994
3995
3996 Version 0.3  (2012-07-12)
3997 ========================
3998
3999    * ~1900 changes, numerous bugfixes
4000
4001    * New coding conveniences
4002       * Integer-literal suffix inference
4003       * Per-item control over warnings, errors
4004       * #[cfg(windows)] and #[cfg(unix)] attributes
4005       * Documentation comments
4006       * More compact closure syntax
4007       * 'do' expressions for treating higher-order functions as
4008         control structures
4009       * *-patterns (wildcard extended to all constructor fields)
4010
4011    * Semantic cleanup
4012       * Name resolution pass and exhaustiveness checker rewritten
4013       * Region pointers and borrow checking supersede alias
4014         analysis
4015       * Init-ness checking is now provided by a region-based liveness
4016         pass instead of the typestate pass; same for last-use analysis
4017       * Extensive work on region pointers
4018
4019    * Experimental new language features
4020       * Slices and fixed-size, interior-allocated vectors
4021       * #!-comments for lang versioning, shell execution
4022       * Destructors and iface implementation for classes;
4023         type-parameterized classes and class methods
4024       * 'const' type kind for types that can be used to implement
4025         shared-memory concurrency patterns
4026
4027    * Type reflection
4028
4029    * Removal of various obsolete features
4030       * Keywords: 'be', 'prove', 'syntax', 'note', 'mutable', 'bind',
4031                  'crust', 'native' (now 'extern'), 'cont' (now 'again')
4032
4033       * Constructs: do-while loops ('do' repurposed), fn binding,
4034                     resources (replaced by destructors)
4035
4036    * Compiler reorganization
4037       * Syntax-layer of compiler split into separate crate
4038       * Clang (from LLVM project) integrated into build
4039       * Typechecker split into sub-modules
4040
4041    * New library code
4042       * New time functions
4043       * Extension methods for many built-in types
4044       * Arc: atomic-refcount read-only / exclusive-use shared cells
4045       * Par: parallel map and search routines
4046       * Extensive work on libuv interface
4047       * Much vector code moved to libraries
4048       * Syntax extensions: #line, #col, #file, #mod, #stringify,
4049         #include, #include_str, #include_bin
4050
4051    * Tool improvements
4052       * Cargo automatically resolves dependencies
4053
4054
4055 Version 0.2  (2012-03-29)
4056 =========================
4057
4058    * >1500 changes, numerous bugfixes
4059
4060    * New docs and doc tooling
4061
4062    * New port: FreeBSD x86_64
4063
4064    * Compilation model enhancements
4065       * Generics now specialized, multiply instantiated
4066       * Functions now inlined across separate crates
4067
4068    * Scheduling, stack and threading fixes
4069       * Noticeably improved message-passing performance
4070       * Explicit schedulers
4071       * Callbacks from C
4072       * Helgrind clean
4073
4074    * Experimental new language features
4075       * Operator overloading
4076       * Region pointers
4077       * Classes
4078
4079    * Various language extensions
4080       * C-callback function types: 'crust fn ...'
4081       * Infinite-loop construct: 'loop { ... }'
4082       * Shorten 'mutable' to 'mut'
4083       * Required mutable-local qualifier: 'let mut ...'
4084       * Basic glob-exporting: 'export foo::*;'
4085       * Alt now exhaustive, 'alt check' for runtime-checked
4086       * Block-function form of 'for' loop, with 'break' and 'ret'.
4087
4088    * New library code
4089       * AST quasi-quote syntax extension
4090       * Revived libuv interface
4091       * New modules: core::{future, iter}, std::arena
4092       * Merged per-platform std::{os*, fs*} to core::{libc, os}
4093       * Extensive cleanup, regularization in libstd, libcore
4094
4095
4096 Version 0.1  (2012-01-20)
4097 ===============================
4098
4099    * Most language features work, including:
4100       * Unique pointers, unique closures, move semantics
4101       * Interface-constrained generics
4102       * Static interface dispatch
4103       * Stack growth
4104       * Multithread task scheduling
4105       * Typestate predicates
4106       * Failure unwinding, destructors
4107       * Pattern matching and destructuring assignment
4108       * Lightweight block-lambda syntax
4109       * Preliminary macro-by-example
4110
4111    * Compiler works with the following configurations:
4112       * Linux: x86 and x86_64 hosts and targets
4113       * MacOS: x86 and x86_64 hosts and targets
4114       * Windows: x86 hosts and targets
4115
4116    * Cross compilation / multi-target configuration supported.
4117
4118    * Preliminary API-documentation and package-management tools included.
4119
4120 Known issues:
4121
4122    * Documentation is incomplete.
4123
4124    * Performance is below intended target.
4125
4126    * Standard library APIs are subject to extensive change, reorganization.
4127
4128    * Language-level versioning is not yet operational - future code will
4129      break unexpectedly.