<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtcompat/src/tokio.rs, branch arti-v0.0.4</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.4'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-01-27T20:48:30Z</updated>
<entry>
<title>tor-rtcompat: Add some miscellaneous tests</title>
<updated>2022-01-27T20:48:30Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-01-27T20:48:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f7373f8b2001d90a63ca08c799e9f47e8f94144d'/>
<id>urn:sha1:f7373f8b2001d90a63ca08c799e9f47e8f94144d</id>
<content type='text'>
These probably aren't for things that will fail IRL, but it's nice
to have coverage on the code, just in case.
</content>
</entry>
<entry>
<title>Apply @eta's suggestions from review on !263</title>
<updated>2022-01-27T15:25:57Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-01-27T15:25:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c4321289f24c778f0451112cf4f4c9eac8b77fad'/>
<id>urn:sha1:c4321289f24c778f0451112cf4f4c9eac8b77fad</id>
<content type='text'>
Comment-only.</content>
</entry>
<entry>
<title>Fix documentation references for tor-rtcompat refactoring.</title>
<updated>2022-01-26T19:58:28Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-01-26T19:58:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5dcc821146542ebe7e794c306365be4117df86c2'/>
<id>urn:sha1:5dcc821146542ebe7e794c306365be4117df86c2</id>
<content type='text'>
</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>Make test_with_all_runtimes cover _all_ the runtimes.</title>
<updated>2022-01-26T19:06:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-01-26T18:27:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dec2c4ee639c3a3584f416116f286231d0a59df8'/>
<id>urn:sha1:dec2c4ee639c3a3584f416116f286231d0a59df8</id>
<content type='text'>
This took some refactoring, so that I wouldn't need to define 9
different versions of the function.  It also required that we change
the behavior of test_with_all_runtimes slightly, so that it asserts
on _any_ failure rather than asserting on most but returning Err()
for others.  That in turn required changes to a few of its callers.

There's probably a better way to do all of this macro business, but
this is the best I could find.
</content>
</entry>
<entry>
<title>Make the native-tls crate optional.</title>
<updated>2022-01-26T19:06:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-01-26T15:53:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=30b3818a9e31b0ebe96d4a32aa9bceb16610f994'/>
<id>urn:sha1:30b3818a9e31b0ebe96d4a32aa9bceb16610f994</id>
<content type='text'>
This commit puts the native-tls crate behind a feature.  The feature
is off-by-default in the tor-rtcompat crate, but can be enabled
either from arti or arti-client.

There is an included script that I used to test that tor-rtcompat
could build and run its tests with all subsets of its features.

Closes #300
</content>
</entry>
<entry>
<title>Define aliases for "the best enabled runtime".</title>
<updated>2022-01-26T19:06:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-01-26T14:52:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8af3528cd3d90a3aa827a5a9464c686c9250eb78'/>
<id>urn:sha1:8af3528cd3d90a3aa827a5a9464c686c9250eb78</id>
<content type='text'>
This helps us simplify our code in a few ways, and will help even
more once native_tls is optional.
</content>
</entry>
<entry>
<title>Make current/create functions into runtime member functions.</title>
<updated>2022-01-26T19:06:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-01-26T13:40:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6f29d485e460b30cba992bcb407bf3c7e2a479b7'/>
<id>urn:sha1:6f29d485e460b30cba992bcb407bf3c7e2a479b7</id>
<content type='text'>
This should help avoid some amount of temptation towards API
proliferation.
</content>
</entry>
<entry>
<title>Rename FooRuntime to FooNativeTlsRuntime for consistency.</title>
<updated>2022-01-26T19:06:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-01-26T13:16:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2333d0466e482810dbe91a6c17f6b363d7956f36'/>
<id>urn:sha1:2333d0466e482810dbe91a6c17f6b363d7956f36</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Unify TokioRuntime and TokioRuntimeHandle</title>
<updated>2022-01-26T19:06:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-01-25T21:52:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=668364d75d5fec06d235a684dfc6c8c89e543503'/>
<id>urn:sha1:668364d75d5fec06d235a684dfc6c8c89e543503</id>
<content type='text'>
Having separate types here doesn't justify the (very limited)
benefit of distinguishing between the case where we have created an
executor that we own and the case where we have a handle to an
already-running tokio executor.

Part of #301.
</content>
</entry>
</feed>
