<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtcompat/src/impls/tokio.rs, branch arti-v1.3.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-10-29T17:36:16Z</updated>
<entry>
<title>Remove re-export of "unix" from tor_rtcompat.</title>
<updated>2024-10-29T17:36:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-10-29T17:36:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7ddd8bacdfbd91356805a37e15c023e3b525b6e8'/>
<id>urn:sha1:7ddd8bacdfbd91356805a37e15c023e3b525b6e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rtcompat: remove async_trait from NetStreamListener.</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-22T19:26:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b53b465d81b39433048b459924e0c481bad84a07'/>
<id>urn:sha1:b53b465d81b39433048b459924e0c481bad84a07</id>
<content type='text'>
(The trait no longer has any async methods.)
</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>rtcompat: Implement NetStreamProvider&lt;Unix&gt; for tokio.</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-19T13:58:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b5cbce510bb450c9bc3c3e84220e484818b3d4ad'/>
<id>urn:sha1:b5cbce510bb450c9bc3c3e84220e484818b3d4ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tokio: 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=7d411e5ac6c039ff8d43f137021b7b1d3e267bb7'/>
<id>urn:sha1:7d411e5ac6c039ff8d43f137021b7b1d3e267bb7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tokio: 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=6733262a8dc49e5b3122fc9b5973f737f1de735d'/>
<id>urn:sha1:6733262a8dc49e5b3122fc9b5973f737f1de735d</id>
<content type='text'>
This commit does nothing interesting yet: 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: use track-caller for thin wrappers</title>
<updated>2023-12-18T17:02:12Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2023-12-18T17:02:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=30c07a6c0b544a55795985ff6451f72818fda1c8'/>
<id>urn:sha1:30c07a6c0b544a55795985ff6451f72818fda1c8</id>
<content type='text'>
In particular, when the (unstable) tokio tracing feature is enabled,
every tracing line includes the name of where the current task was
created. Without this change, that ends up being the name of
intermediate trait methods like TokioRuntimeHandle::block_on, which is
not very helpful.

Adding the `track_caller` attribute causes the name of the caller of
these methods to be used instead, which is typically more helpful.

IIUC this change is not breaking in terms of semver
https://rustc-dev-guide.rust-lang.org/backend/implicit-caller-location.html.
</content>
</entry>
<entry>
<title>Upgrade async_executors dependency to 0.7.0</title>
<updated>2023-09-28T13:47:31Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-09-28T13:47:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1be1b1616349749988a6483b357e6f017a13c03c'/>
<id>urn:sha1:1be1b1616349749988a6483b357e6f017a13c03c</id>
<content type='text'>
</content>
</entry>
</feed>
