<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtcompat/src/impls/async_std.rs, branch arti-v1.2.8</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.8</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.8'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-09-24T13:10:11Z</updated>
<entry>
<title>rtcompat: Fix some rustdoc links.</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-23T17:05:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=100174e40123c8338ecb5cb5b9c1d1ac31601693'/>
<id>urn:sha1:100174e40123c8338ecb5cb5b9c1d1ac31601693</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rtcompat: Require Sync and 'static for NetStreamListener::Incoming</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-19T15:50:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a3a3e7413a8633f3c1add566fd55b87397fd0b61'/>
<id>urn:sha1:a3a3e7413a8633f3c1add566fd55b87397fd0b61</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rtcompat: NetStreamProvider&lt;unix::SocketAddr&gt; for non-unix platforms</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-19T15:01:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b88a932631a55b2a27e924f5b45c2a490c3b2068'/>
<id>urn:sha1:b88a932631a55b2a27e924f5b45c2a490c3b2068</id>
<content type='text'>
Since there is no way to construct a unix::SocketAddr on these
platforms, it's harmless to provide an implementation for
NetStreamProvider.  What's more, doing so greatly simplifies our
AbstractAddr implementation.
</content>
</entry>
<entry>
<title>Implement NetStramProvider&lt;Unix&gt; for async_std.</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-19T14:19:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=39b41e419ae3633928edb6c2db18bf66f5002abb'/>
<id>urn:sha1:39b41e419ae3633928edb6c2db18bf66f5002abb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>async_std: Perpare macro for use with Unix streams.</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-19T12:44:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fdb0ff416c4033a90dd4b824469d6dd33b3558f5'/>
<id>urn:sha1:fdb0ff416c4033a90dd4b824469d6dd33b3558f5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>async_std: start a macro to implement wrappers for stream type</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-19T12:28:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6e5101186c6283af5371e09d5b82e9603b12dc0d'/>
<id>urn:sha1:6e5101186c6283af5371e09d5b82e9603b12dc0d</id>
<content type='text'>
As before, this commit does nothing interesting: it's a separate commit
because it reindents a lot of code.
</content>
</entry>
<entry>
<title>rtcompat: Rename TcpProvider to NetStreamProvider.</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-19T11:55:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8c2d84000e4d5ba74e7b6b4e9dac3fc700f618b5'/>
<id>urn:sha1:8c2d84000e4d5ba74e7b6b4e9dac3fc700f618b5</id>
<content type='text'>
(And similarly rename TcpListener to NetStreamListener,
along with their TcpStream/TcpListener associated types.)

These types are about to become generic over addresses,
and therefore shouldn't be named after TCP.

Renaming was done mostly with Rust Analyzer,
except for some macros that needed to be hand-edited.

(I'll revise the comments in the next commit;
this one is all about renaming.)
</content>
</entry>
<entry>
<title>rtcompat: Remove accept() from TcpListener</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-18T22:57:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=168f55df05f4b56fd61423c020ce62e93f1d7a9f'/>
<id>urn:sha1:168f55df05f4b56fd61423c020ce62e93f1d7a9f</id>
<content type='text'>
It's redundant with the incoming() method (which turns the
TcpListener into a Stream of connections), and nothing actually used
it outside of tests.

Removing this method allows us to simplify our TcpListener code a
good deal, as can be seen by some of the implementations we removed
from our example and testing code.
</content>
</entry>
<entry>
<title>tor-rtcompat: Require that TcpStream be Send</title>
<updated>2022-08-15T13:47:40Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-03-25T11:11:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=740f306cb0a09274d67566c34cceaa9e63a3e66f'/>
<id>urn:sha1:740f306cb0a09274d67566c34cceaa9e63a3e66f</id>
<content type='text'>
The lack of this seems to have been an oversight.
</content>
</entry>
<entry>
<title>UdpSocket: remove support for connect().</title>
<updated>2022-03-18T19:39:40Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-18T19:34:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2aa5f45bc8bb3153fca2cc9e33b7cd951e1415c4'/>
<id>urn:sha1:2aa5f45bc8bb3153fca2cc9e33b7cd951e1415c4</id>
<content type='text'>
Currently, Arti doesn't need this.  But once it does, it will be
way better to have a separate type for connected sockets, rather
than having to error-check every time somebody gives us a socket.

Part of #410
</content>
</entry>
</feed>
