<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-client/src/config.rs, branch arti-v1.1.0</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.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-11-30T15:51:10Z</updated>
<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>
<entry>
<title>tor-ptmgr: make configuration use builders, plumb into arti-client</title>
<updated>2022-11-16T11:39:25Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-11-03T14:36:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1c9f6fb179bc88b77079026f249eb3e1678617ca'/>
<id>urn:sha1:1c9f6fb179bc88b77079026f249eb3e1678617ca</id>
<content type='text'>
This brings the draft configuration mechanisms in tor-ptmgr in line with
the config in other crates, using builders. It also plumbs the config
type through into the main `arti-client` config, and adds some example
lines to `arti-example-config.toml`.
</content>
</entry>
<entry>
<title>guardmgr config: Provide bridge information to new and reconfigure</title>
<updated>2022-11-03T15:48:07Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-03T15:41:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7d6f5d5eabd5aaa790369a5248cea8a9171a04d0'/>
<id>urn:sha1:7d6f5d5eabd5aaa790369a5248cea8a9171a04d0</id>
<content type='text'>
</content>
</entry>
</feed>
