<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtcompat/src, 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:52:59Z</updated>
<entry>
<title>tor-rtcompat: remove some unused code.</title>
<updated>2022-01-27T20:52:59Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-01-27T20:52:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=19f878b3aa7b648605487f94871ab3e5c5b949fd'/>
<id>urn:sha1:19f878b3aa7b648605487f94871ab3e5c5b949fd</id>
<content type='text'>
Nothing actually used these accessor functions, and it's not clear
what would.  We can add them later if they're needed.
</content>
</entry>
<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>tor-rtcompat: Simplify test-declaration macros.</title>
<updated>2022-01-27T20:09:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-01-27T20:09:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=af8526225730df431a1b2d64e3a52713998a0816'/>
<id>urn:sha1:af8526225730df431a1b2d64e3a52713998a0816</id>
<content type='text'>
Now there's much less copy-and-paste.
</content>
</entry>
<entry>
<title>Move tor-rtcompat tests to lib.rs</title>
<updated>2022-01-27T19:45:00Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-01-27T19:42:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9435e4b36e33485b7b607686b2fb0248f3fa21d6'/>
<id>urn:sha1:9435e4b36e33485b7b607686b2fb0248f3fa21d6</id>
<content type='text'>
This makes our layout more similar to our other crates, and
successfully informs our grcov exclusion pattern that these tests
are indeed tests.

Doing this knocks down the reported coverage for the tor-rtcompat
crate, but that's okay: we hadn't earned it.

I hereby promise that this commit is only code-movement.
</content>
</entry>
<entry>
<title>Document why {current,create}_runtime are type-erased</title>
<updated>2022-01-27T15:31:45Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-01-27T15:31:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f3ad85d75ac7c5a1edf6be1be1008cd1015ee08'/>
<id>urn:sha1:9f3ad85d75ac7c5a1edf6be1be1008cd1015ee08</id>
<content type='text'>
</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>
</feed>
