<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtcompat/src/compound.rs, branch arti-v1.2.1</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.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-03-25T11:52:56Z</updated>
<entry>
<title>tor-rtcompat: CompoundRuntime: Add a CoarseTimeProvider, and impl (fmt)</title>
<updated>2024-03-25T11:52:56Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-03-25T11:16:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e2c7823ac74364c4cf1c5272103c70200ec948c1'/>
<id>urn:sha1:e2c7823ac74364c4cf1c5272103c70200ec948c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtcompat: CompoundRuntime: Add a CoarseTimeProvider, and impl</title>
<updated>2024-03-25T11:52:56Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-03-21T15:07:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a117c60f3c2aacfe5da300f64d60284868f37e7a'/>
<id>urn:sha1:a117c60f3c2aacfe5da300f64d60284868f37e7a</id>
<content type='text'>
In all the uses in-crate, this is just a RealCoarseTimeProvider.

Now all the compound runtimes impl CoarseTimeProvider.
</content>
</entry>
<entry>
<title>tor-rtcompat: Reformat a doc comment for semantic newlines</title>
<updated>2024-03-25T11:34:02Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-03-21T15:51:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c627fdf0f7b11f8532788f2a9df52c366a7e3c46'/>
<id>urn:sha1:c627fdf0f7b11f8532788f2a9df52c366a7e3c46</id>
<content type='text'>
</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>Add an exception for clippy::arc_with_non_send_sync.</title>
<updated>2023-07-10T11:33:21Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-07-07T17:47:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7e7822446060083b7fb2a3e2f13d360275cb37d8'/>
<id>urn:sha1:7e7822446060083b7fb2a3e2f13d360275cb37d8</id>
<content type='text'>
We're doing this deliberately, I believe.
</content>
</entry>
<entry>
<title>rt-compat: Make all the individual runtime traits Clone+Send etc.</title>
<updated>2022-06-08T10:24:26Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-06T17:49:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3ba3b26842254cfd9033ea37b44b746895bcbd02'/>
<id>urn:sha1:3ba3b26842254cfd9033ea37b44b746895bcbd02</id>
<content type='text'>
This will make it much more convenient for code that only wants one of
these traits (or a subset of them).  This is a good thing to support
because it will allow us to use a ZST in places that do not need an
actual async runtime handle (typically, the runtime handle is needed
only for spawn).
</content>
</entry>
<entry>
<title>tor-rtcompat: make CompoundRuntime handle SleepProviders properly</title>
<updated>2022-05-10T10:42:53Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-05-04T15:43:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f0739e46aad58c34a6cae213d343f155538cbf4c'/>
<id>urn:sha1:f0739e46aad58c34a6cae213d343f155538cbf4c</id>
<content type='text'>
Previously, CompoundRuntime would use the default implementations of
SleepProvider::now() and ::wallclock(), instead of using its wrapped
SleepProvider. This mildly embarrassing omission has been rectified.
</content>
</entry>
<entry>
<title>add udp to runtime</title>
<updated>2022-03-14T19:59:33Z</updated>
<author>
<name>trinity-1686a</name>
<email>trinity@deuxfleurs.fr</email>
</author>
<published>2022-03-05T18:49:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4a44ef56c0743775d49eca138a253f11e93c7a35'/>
<id>urn:sha1:4a44ef56c0743775d49eca138a253f11e93c7a35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace manual Clone impl with educe in tor-rtcompat</title>
<updated>2022-03-02T18:06:37Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-03-02T15:13:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ea03cc408494ba1c4992399f97978a1d964d6774'/>
<id>urn:sha1:ea03cc408494ba1c4992399f97978a1d964d6774</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtcompat: Provide TLS wrapping for all streams</title>
<updated>2022-02-24T14:26:38Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-23T17:09:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2bbd01b060f4911584e0b151db1cc63cc5bf9715'/>
<id>urn:sha1:2bbd01b060f4911584e0b151db1cc63cc5bf9715</id>
<content type='text'>
Now all of the runtime types we provide all
  impl&lt;S&gt; TlsProvider&lt;S&gt; where S: ...
rather than merely TlsProvider&lt;Self::TcpStream&gt;.

And we document and intent to perhaps require this in the future.
</content>
</entry>
</feed>
