<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/library/std/src/io/stdio.rs, branch 1.77.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.77.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.77.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-01-17T09:47:33+00:00</updated>
<entry>
<title>specialize `Bytes` on `StdinLock&lt;'_&gt;` by using the underlying `BufReader`</title>
<updated>2024-01-17T09:47:33+00:00</updated>
<author>
<name>Aldan Tanneo</name>
<email>aldantanneo@gmail.com</email>
</author>
<published>2024-01-17T09:47:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1b9a01340b50cf015ec99519814628d6a28b7cfa'/>
<id>urn:sha1:1b9a01340b50cf015ec99519814628d6a28b7cfa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add more diagnostic items for clippy</title>
<updated>2023-10-05T22:21:47+00:00</updated>
<author>
<name>Jason Newcomb</name>
<email>jsnewcomb@pm.me</email>
</author>
<published>2023-09-27T03:56:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d464b72970faf5769c6c02d52f21f8e26eb1727d'/>
<id>urn:sha1:d464b72970faf5769c6c02d52f21f8e26eb1727d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>replace version placeholders</title>
<updated>2023-04-28T15:47:55+00:00</updated>
<author>
<name>Pietro Albini</name>
<email>pietro@pietroalbini.org</email>
</author>
<published>2023-04-16T14:33:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4e04da618391a3374ba7c37c2d4a6092aaab0927'/>
<id>urn:sha1:4e04da618391a3374ba7c37c2d4a6092aaab0927</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stabilize IsTerminal</title>
<updated>2023-04-10T08:24:23+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2023-04-08T05:24:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=afd45c2e10d9a5dbb277852384bb3d2245239f63'/>
<id>urn:sha1:afd45c2e10d9a5dbb277852384bb3d2245239f63</id>
<content type='text'>
closes: https://github.com/rust-lang/rust/issues/98070
</content>
</entry>
<entry>
<title>Add "Platform-specific behavior" heading and link to changes disclaimer</title>
<updated>2023-03-28T02:26:43+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2023-03-28T02:26:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b38732f25c326659e860a0fac81775bd07932223'/>
<id>urn:sha1:b38732f25c326659e860a0fac81775bd07932223</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Document the heuristics IsTerminal uses on Windows</title>
<updated>2023-03-28T01:49:35+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2023-03-28T01:49:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1354a38afd7c7183e4e7f5f17bef7fccfc4d2a06'/>
<id>urn:sha1:1354a38afd7c7183e4e7f5f17bef7fccfc4d2a06</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement read_buf for a few more types</title>
<updated>2023-03-06T11:24:15+00:00</updated>
<author>
<name>Tomasz Miąsko</name>
<email>tomasz.miasko@gmail.com</email>
</author>
<published>2023-02-21T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=defa2456246a8272ceace9c1cdccdf2e4c36175e'/>
<id>urn:sha1:defa2456246a8272ceace9c1cdccdf2e4c36175e</id>
<content type='text'>
Implement read_buf for TcpStream, Stdin, StdinLock, ChildStdout,
ChildStderr (and internally for AnonPipe, Handle, Socket), so
that it skips buffer initialization.

The other provided methods like read_to_string and read_to_end are
implemented in terms of read_buf and so benefit from the optimization
as well.

This commit also implements read_vectored and is_read_vectored where
applicable.
</content>
</entry>
<entry>
<title>std: move `ReentrantMutex` to `sync`</title>
<updated>2022-11-14T13:25:44+00:00</updated>
<author>
<name>joboet</name>
<email>jonasboettiger@icloud.com</email>
</author>
<published>2022-11-14T13:25:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c66494474cc64aaf4f1e51b428d53e7dcbd14c25'/>
<id>urn:sha1:c66494474cc64aaf4f1e51b428d53e7dcbd14c25</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add `IsTerminal` trait to determine if a descriptor or handle is a terminal</title>
<updated>2022-10-14T23:35:38+00:00</updated>
<author>
<name>Josh Triplett</name>
<email>josh@joshtriplett.org</email>
</author>
<published>2022-06-12T21:10:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=326ef470a8b379a180d6dc4bbef08990698a737a'/>
<id>urn:sha1:326ef470a8b379a180d6dc4bbef08990698a737a</id>
<content type='text'>
The UNIX and WASI implementations use `isatty`. The Windows
implementation uses the same logic the `atty` crate uses, including the
hack needed to detect msys terminals.

Implement this trait for `File` and for `Stdin`/`Stdout`/`Stderr` and
their locked counterparts on all platforms. On UNIX and WASI, implement
it for `BorrowedFd`/`OwnedFd`. On Windows, implement it for
`BorrowedHandle`/`OwnedHandle`.

Based on https://github.com/rust-lang/rust/pull/91121

Co-authored-by: Matt Wilkinson &lt;mattwilki17@gmail.com&gt;
</content>
</entry>
<entry>
<title>Make tests capture the error printed by a Result return</title>
<updated>2022-10-08T01:25:32+00:00</updated>
<author>
<name>David Tolnay</name>
<email>dtolnay@gmail.com</email>
</author>
<published>2022-10-07T20:45:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=293f662ca94d6f1eac749da55f5ff924c87fd1d5'/>
<id>urn:sha1:293f662ca94d6f1eac749da55f5ff924c87fd1d5</id>
<content type='text'>
</content>
</entry>
</feed>
