<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-client/src/config.rs, branch arti-v1.1.2</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.2</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.2'/>
<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>test lint blocks: Add many many automatically</title>
<updated>2022-12-12T18:00:30Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-12-12T17:58:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=125a455bdcca841931f33f83f206e57637ae85c4'/>
<id>urn:sha1:125a455bdcca841931f33f83f206e57637ae85c4</id>
<content type='text'>
This is precisely the result of running the rune in
maint/adhoc-add-lint-blocks.
</content>
</entry>
<entry>
<title>arti: BridgesConfig is evidently not too high up</title>
<updated>2022-11-30T15:51:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-30T15:51:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=598f4e2e28b99fbc10a7321f503071a203b04f03'/>
<id>urn:sha1:598f4e2e28b99fbc10a7321f503071a203b04f03</id>
<content type='text'>
Since apparently it was possible to write all the other code without
moving it.
</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>Temporarily make ptmgr required for arti-client :/</title>
<updated>2022-11-28T22:29:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-28T21:59:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1f4a385d7d437120038071f584eb45bd7054a0d2'/>
<id>urn:sha1:1f4a385d7d437120038071f584eb45bd7054a0d2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Integrate PtMgr into arti-client.</title>
<updated>2022-11-28T22:29:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-28T19:42:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1a9c4c722b94330ec0c730ec8967a4cf311fbf78'/>
<id>urn:sha1:1a9c4c722b94330ec0c730ec8967a4cf311fbf78</id>
<content type='text'>
If support is available at compile-time, then we construct a PtMgr
and register it with the ChanMgr.  We keep a handle to it ourself so
that we can reconfigure it as needed.

Closes #659.
</content>
</entry>
<entry>
<title>Merge branch 'stability' into 'main'</title>
<updated>2022-11-23T17:50:01Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-23T17:50:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c0a6fb3e0f30b8f03319573e7b236cdcd01e044a'/>
<id>urn:sha1:c0a6fb3e0f30b8f03319573e7b236cdcd01e044a</id>
<content type='text'>
arti-client, tor-config: Remove stability warning from top-level docs

See merge request tpo/core/arti!878</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>Make the bridge list in the builder be a list of BridgeConfigBuilder</title>
<updated>2022-11-21T14:58:24Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-17T17:58:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=58710b96356d9d2c60af05adf33c4c1ba06e02bb'/>
<id>urn:sha1:58710b96356d9d2c60af05adf33c4c1ba06e02bb</id>
<content type='text'>
By changing MultilineListBuilder.
</content>
</entry>
<entry>
<title>arti-client, tor-config: Remove stability warning from top-level docs</title>
<updated>2022-11-21T12:06:27Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-21T12:05:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0b14b93f76407487654a3ca031c0c0b3d5bfe92b'/>
<id>urn:sha1:0b14b93f76407487654a3ca031c0c0b3d5bfe92b</id>
<content type='text'>
Ticket #285 is closed and most of this is stable now we think.

(There are still a couple of stability warnings for specific types in
tor-config, which aren't exposed at the arti-client level.)
</content>
</entry>
</feed>
