<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtcompat/src/compound.rs, branch arti-v1.1.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.1.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-06-08T10:24:26Z</updated>
<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>
<entry>
<title>Rename `SpawnBlocking` trait to `BlockOn`.</title>
<updated>2022-01-26T19:06:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-01-26T18:59:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bf8fa66d36298561cc868706f748049cec23f5eb'/>
<id>urn:sha1:bf8fa66d36298561cc868706f748049cec23f5eb</id>
<content type='text'>
This avoids a future confusion with the new `SpawnBlocking` trait in
async_executors v0.5, and better describes what the trait provides.
</content>
</entry>
<entry>
<title>Limit the inner types in tor-rtcompat that have to implement Clone</title>
<updated>2022-01-26T19:06:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-01-25T22:22:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=05a04220ccc4d0dcbab906db42abc97bad02f222'/>
<id>urn:sha1:05a04220ccc4d0dcbab906db42abc97bad02f222</id>
<content type='text'>
If we implement our own clone on CompoundRuntime, we no longer need
Clone implementations on our TlsProvider implementations.
</content>
</entry>
<entry>
<title>Add a CompoundRuntime type for runtime construction.</title>
<updated>2022-01-19T20:47:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-01-19T18:28:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dd72607601fe88bc18a9e10e6b826716661f3e58'/>
<id>urn:sha1:dd72607601fe88bc18a9e10e6b826716661f3e58</id>
<content type='text'>
This type can solve two problems at once.

First, it lets users replace parts of an existing runtime
implementation without replacing the whole thing.  For example, you
can use it to override your TcpProvider implementation to solve
problems like #235.

Second, we can use it internally to tor-rtcompat to define Runtimes
piece-by-piece.  Mostly we'll use this to separate our Tls
implementations from our implementations of the rest of the Runtime.
</content>
</entry>
</feed>
