<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtmock/src, 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: Expose FakeStream and friends; fix compilation in tor-rtmock</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-23T17:20:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=014ea0c7512d2199d8b5b98c75e38fba4938afda'/>
<id>urn:sha1:014ea0c7512d2199d8b5b98c75e38fba4938afda</id>
<content type='text'>
It turns out that these types are generally useful, and that they
are in fact needed for tor-rtmock to compile without a PreferredRuntime.
</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>Make Runtime require NetStreamProvider&lt;unix::SocketAddr&gt;</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-22T19:17:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7a56ae00ffb6e45783b0eb837098ea894ade5861'/>
<id>urn:sha1:7a56ae00ffb6e45783b0eb837098ea894ade5861</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Documentation updates for "NetStreamProvider" rename</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-19T12:13:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=07ca20d4aaa7081bd901cc487fbb093bf05f5a76'/>
<id>urn:sha1:07ca20d4aaa7081bd901cc487fbb093bf05f5a76</id>
<content type='text'>
Stop referring to TCP streams in its documentation;
update other documentation to refer to NetStreamProvider
rather than TcpProvider.
</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>extract tor_async_utils::oneshot into ::oneshot-fused-workaround</title>
<updated>2024-08-28T14:27:46Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-08-22T19:20:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=46f7f01092e6ac55e3e958dc3a2228b1d36e26a1'/>
<id>urn:sha1:46f7f01092e6ac55e3e958dc3a2228b1d36e26a1</id>
<content type='text'>
Having this in the `tor-async-utils` crate prevents us from doing both
of the following without introducing a circular dependency:

* using it in `tor-rtmock` (which we currently do, particularly in
  tests).
* using `tor-rtmock` to test things in `tor-async-utils`. We don't do
  this yet, but it is generally sensible to do so. In particular we
  want to move the `stream_peak` module there, which is currently tested
  with `tor-rtmock`.

Moving this into its own crate avoids this circular dependency.
</content>
</entry>
<entry>
<title>Match previous backtrace formatting</title>
<updated>2024-08-08T15:44:17Z</updated>
<author>
<name>Robin Leander Schröder</name>
<email>1473-rls@gitlab.torproject.org</email>
</author>
<published>2024-08-07T17:09:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=62254c50189bda8772762e77239077d6886b279a'/>
<id>urn:sha1:62254c50189bda8772762e77239077d6886b279a</id>
<content type='text'>
std::backtrace::Backtrace's Display looks the same as
backtrace_rs::Backtrace's Debug
</content>
</entry>
<entry>
<title>Use std::backtrace instead of backtrace crate</title>
<updated>2024-08-01T12:18:40Z</updated>
<author>
<name>Robin Leander Schröder</name>
<email>1473-rls@gitlab.torproject.org</email>
</author>
<published>2024-08-01T12:07:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f31e6b650f004ccf88446e8b2a39f1381995c09'/>
<id>urn:sha1:9f31e6b650f004ccf88446e8b2a39f1381995c09</id>
<content type='text'>
Removes resolve_backtraces from rtmock since it is no longer needed as
stdlib's backtraces automatically lazily resolve without needing a &amp;mut.
</content>
</entry>
<entry>
<title>tor-rtmock docs: Add some more discussion of the simulated time</title>
<updated>2024-07-30T17:42:44Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-07-25T13:51:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=06cbee5e7679cd11b4568b7538d39231f45378db'/>
<id>urn:sha1:06cbee5e7679cd11b4568b7538d39231f45378db</id>
<content type='text'>
</content>
</entry>
</feed>
