<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti/src, 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>2023-01-27T13:28:02Z</updated>
<entry>
<title>Allow clippy::unchecked_duration_subtraction in tests</title>
<updated>2023-01-27T13:28:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-27T13:01:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a6dd92843edf2bd4c58de62a0d562921e4191ada'/>
<id>urn:sha1:a6dd92843edf2bd4c58de62a0d562921e4191ada</id>
<content type='text'>
This panics on error, and we're fine with a panic on misbehavior in
tests.
</content>
</entry>
<entry>
<title>Disable clippy::unlinlined-format-args</title>
<updated>2023-01-27T13:27:47Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-27T12:49:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bf04641c6818cb2c87c6ed9cf463a5710f8919d2'/>
<id>urn:sha1:bf04641c6818cb2c87c6ed9cf463a5710f8919d2</id>
<content type='text'>
This warning kind of snuck up on us! (See #748)  For now, let's
disable it.  (I've cleaned it up in a couple of examples, since
those are meant to be more idiomatic and user-facing.)

Closes #748.
</content>
</entry>
<entry>
<title>resolve ip through socks by parsing them</title>
<updated>2023-01-03T16:53:16Z</updated>
<author>
<name>trinity-1686a</name>
<email>trinity@deuxfleurs.fr</email>
</author>
<published>2023-01-03T16:53:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=29f1d9012d6fb87d91b91cbcdabf472143a2a5ae'/>
<id>urn:sha1:29f1d9012d6fb87d91b91cbcdabf472143a2a5ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti: transports parsing: Record this as a ticket</title>
<updated>2022-11-30T15:56:16Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-30T15:56:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e6d721c49720c04eeb7ff994a0c89fb287af7334'/>
<id>urn:sha1:e6d721c49720c04eeb7ff994a0c89fb287af7334</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti, arti-client: Conditionalise various things on pt-client</title>
<updated>2022-11-29T16:32:14Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-29T16:12:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c92dcb5f501d5f3035d3289e5a6a4b8098e8324f'/>
<id>urn:sha1:c92dcb5f501d5f3035d3289e5a6a4b8098e8324f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti cfg tests: Add some more debug output</title>
<updated>2022-11-29T16:32:14Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-24T16:50:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d05d383fa573fe4cd697b1d02854dd30dab7b86f'/>
<id>urn:sha1:d05d383fa573fe4cd697b1d02854dd30dab7b86f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bridge non-support: Test that we reject configs</title>
<updated>2022-11-21T16:46:19Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-18T18:42:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ec7f058cfd9583d4aefbe1f3743804ecdd7f875d'/>
<id>urn:sha1:ec7f058cfd9583d4aefbe1f3743804ecdd7f875d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bridge non-support: De-cfg the primary bridge config fields</title>
<updated>2022-11-21T16:46:19Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-18T19:05:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b2607fd8c8e6920ea4a45da232dd429a37681675'/>
<id>urn:sha1:b2607fd8c8e6920ea4a45da232dd429a37681675</id>
<content type='text'>
We now parse the `bridges.enabled` BoolOrAuto, and the
`bridges.bridges` list.

The `bridges.bridges` list is Vec&lt;()&gt; in the builder, and Vec&lt;Void&gt; in
the built config.  Ie, it is simply a count, and vanishes in the built
config.

But this count triggers us to try to call build(), to try to parse
bridges, and to try to set and honour the enablement boolean.

The result is that the type system now ensures that if bridges are
disabled, but specified (either by listing them in the config, or
writing `enabled=true`), we inevitably try to insist that we have a
non-empty Vec&lt;Void&gt;, which is of course impossible.

There will be a test case too for those who think this too abstract a
way to guarantee this property :-).
</content>
</entry>
<entry>
<title>arti cfg test: Break out expect_err_contains function</title>
<updated>2022-11-21T16:46:19Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-18T18:35:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7688973fd404fb3843fa7c85b1cb93c6265b75b4'/>
<id>urn:sha1:7688973fd404fb3843fa7c85b1cb93c6265b75b4</id>
<content type='text'>
Maybe this will want to be in tor-error or something but put it here
for now.
</content>
</entry>
<entry>
<title>bridge non-support: Disable the test for now</title>
<updated>2022-11-21T16:46:19Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-18T17:53:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fa4f842340d1b87e7e2d5e7e52ab9a0f2602cfeb'/>
<id>urn:sha1:fa4f842340d1b87e7e2d5e7e52ab9a0f2602cfeb</id>
<content type='text'>
This test will start to fail if you compile without bridge support,
because we'll start rejecting the test configurations with bridges
specified.

We'll add a proper test for this later.
</content>
</entry>
</feed>
