File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,46 @@ and this project adheres to [Semantic Versioning](https://book.async.rs/overview
77
88## [ Unreleased]
99
10+ # [ 1.2.0] - 2019-11-28
11+
12+ [ API Documentation] ( https://docs.rs/async-std/1.2.0/async-std )
13+
14+ This patch includes some minor quality-of-life improvements, introduces a
15+ new ` Stream::unzip ` API, and adds verbose errors to our networking types.
16+
17+ This means if you can't connect to a socket, you'll never have to wonder again
18+ * which* address it was you couldn't connect to, instead of having to go through
19+ the motions to debug what the address was.
20+
21+ ## Example
22+
23+ Unzip a stream of tuples into two collections:
24+
25+ ``` rust
26+ use async_std :: prelude :: * ;
27+ use async_std :: stream;
28+
29+ let s = stream :: from_iter (vec! [(1 ,2 ), (3 ,4 )]);
30+
31+ let (left , right ): (Vec <_ >, Vec <_ >) = s . unzip (). await ;
32+
33+ assert_eq! (left , [1 , 3 ]);
34+ assert_eq! (right , [2 , 4 ]);
35+ ```
36+
37+ ## Added
38+
39+ - Added ` Stream::unzip ` as "unstable".
40+ - Added verbose errors to the networking types.
41+
42+ ## Changed
43+
44+ - Enabled CI on master branch.
45+
46+ ## Fixed
47+
48+ - Fixed the docs and ` Debug ` output of ` BufWriter ` .
49+
1050# [ 1.1.0] - 2019-11-21
1151
1252[ API Documentation] ( https://docs.rs/async-std/1.1.0/async-std )
You can’t perform that action at this time.
0 commit comments