<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtcompat/src/lib.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-01T17:26:59Z</updated>
<entry>
<title>Merge branch 'dyn-time' into 'main'</title>
<updated>2024-10-01T17:26:59Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2024-10-01T17:26:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2249a1ff69204976263ec3808827093825f9de79'/>
<id>urn:sha1:2249a1ff69204976263ec3808827093825f9de79</id>
<content type='text'>
Provide a type-erased SleepProvider + CoarseTimeProvider and use it for memquota queues

See merge request tpo/core/arti!2460</content>
</entry>
<entry>
<title>tor-rtcompat: Suppress a dead code warning</title>
<updated>2024-09-30T16:41:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-30T16:40:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3106ad32044e2b23b8805a76457101c4cbd1cb63'/>
<id>urn:sha1:3106ad32044e2b23b8805a76457101c4cbd1cb63</id>
<content type='text'>
Fixes
  cargo check --all-features -p tor-async-utils --all-targets

which otherwise prints

warning: function `new_unnamed_socketaddr` is never used
  --&gt; crates/tor-rtcompat/src/unix.rs:14:15
   |
14 | pub(crate) fn new_unnamed_socketaddr() -&gt; std::io::Result&lt;SocketAddr&gt; {
   |               ^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default
</content>
</entry>
<entry>
<title>tor-rtcompat: Introduce DynTimeProvider</title>
<updated>2024-09-26T20:51:20Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-26T11:54:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5c01add37b1307ffda2e775be9fc2f3cc6c67e9f'/>
<id>urn:sha1:5c01add37b1307ffda2e775be9fc2f3cc6c67e9f</id>
<content type='text'>
This will replace the internal ad-hoc DynCoarseTimeProvider in
tor-memquota.

We need this to be public because it's going to be shared by many of our
protocol elements (eg ClientCirc, Channel, etc.) as they need to use
it for their mq queues.
</content>
</entry>
<entry>
<title>CI: run miri, currently on tor-rtcompat</title>
<updated>2024-09-26T20:50:57Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-26T14:59:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=073e6d3f74cca58ada1963e89e7ebc9fda38d60c'/>
<id>urn:sha1:073e6d3f74cca58ada1963e89e7ebc9fda38d60c</id>
<content type='text'>
I'm about to add some unsafe which I want tested in CI.

We must disable two tests.
</content>
</entry>
<entry>
<title>rtcompat: Finalize names for general::SocketAddr.</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-24T13:04:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f0ac5482eec3012df6d10b3b20d481a7c72569ce'/>
<id>urn:sha1:f0ac5482eec3012df6d10b3b20d481a7c72569ce</id>
<content type='text'>
</content>
</entry>
<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>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>rtcompat: initial implementation for "Abstract" addresses.</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-19T17:21:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=89a4308975b5d3b0cf7f464b745d656573e4ca1b'/>
<id>urn:sha1:89a4308975b5d3b0cf7f464b745d656573e4ca1b</id>
<content type='text'>
This is feature-complete, but will need tests.
I'm holding off at this point so we can discuss naming on these types.
</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>
</feed>
