<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-config/src/options.rs, branch arti-v0.0.2</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.2</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.2'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2021-11-29T19:20:34Z</updated>
<entry>
<title>Change sane_defaults() and with_directories()</title>
<updated>2021-11-29T19:20:34Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-29T19:20:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f107794b742fb075c673249999362afd28d77772'/>
<id>urn:sha1:f107794b742fb075c673249999362afd28d77772</id>
<content type='text'>
The sane_defaults() call is now the same as you get from a default
builder: by convention, we just call that method Default::default().

The with_directories() constructor makes more sense as a constructor
for the TorClientConfigBuilder than for TorClientConfig.
</content>
</entry>
<entry>
<title>Document StorageConfig defaults better.</title>
<updated>2021-11-29T18:55:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-29T18:55:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=098547f735bd993da9445693d5b1664c031a9f20'/>
<id>urn:sha1:098547f735bd993da9445693d5b1664c031a9f20</id>
<content type='text'>
(Also fix a couple of typos)
</content>
</entry>
<entry>
<title>Add basic tests for high-level builders</title>
<updated>2021-11-25T14:40:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-24T16:47:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f2034ac6e2d1340c9d4c4a2ea47ffa5272dac934'/>
<id>urn:sha1:f2034ac6e2d1340c9d4c4a2ea47ffa5272dac934</id>
<content type='text'>
Make sure that we can change elements, and we can reconstruct builders
that give us the same thing.
</content>
</entry>
<entry>
<title>Implement builder patterns for ArtiConfig.</title>
<updated>2021-11-25T14:40:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-24T15:41:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3a91f363bbf8309926f4e8b5488afa3ada68be8a'/>
<id>urn:sha1:3a91f363bbf8309926f4e8b5488afa3ada68be8a</id>
<content type='text'>
This commit implements the "metabuilder" pattern and the "builder
reconstruction" pattern for the ArtiConfig type.

I'm not 100% that this will be necessary, but it will certainly help
with testing.
</content>
</entry>
<entry>
<title>Impl and test Default for high-level configs</title>
<updated>2021-11-25T14:39:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-24T15:11:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=75d977a25937c6b70e0841962d45cc78783c08ec'/>
<id>urn:sha1:75d977a25937c6b70e0841962d45cc78783c08ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement meta-builder pattern for TorClientConfig</title>
<updated>2021-11-22T14:53:52Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-22T00:05:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=307ca9b4d052c60e8e496012005efe1df6b90724'/>
<id>urn:sha1:307ca9b4d052c60e8e496012005efe1df6b90724</id>
<content type='text'>
This should be ergonomic than having to construct every section of the
configuration separately.
</content>
</entry>
<entry>
<title>Make every Config type implement Eq.</title>
<updated>2021-11-21T17:06:15Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-21T17:06:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=40ff7113d41c9d5ec3435ae410399d59f26e81f2'/>
<id>urn:sha1:40ff7113d41c9d5ec3435ae410399d59f26e81f2</id>
<content type='text'>
Doing this is necessary for reconfiguration support, and will help a lot
with testing, too.
</content>
</entry>
<entry>
<title>For every* config type, make defaults consistent.</title>
<updated>2021-11-21T16:52:43Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-21T16:52:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e7fdf05f50aea214c2ac4dabcb309910e9d59fd0'/>
<id>urn:sha1:e7fdf05f50aea214c2ac4dabcb309910e9d59fd0</id>
<content type='text'>
This patch makes sure that for every* config type we have, the defaults
you get from a Builder match those you get from Serde, and that both
match the value that you get from arti_defaults.toml. Later down the
line I'll be adding some tests to keep these in sync.

* StorageConfig still has no defaults of its own, since we aren't so
sure we want other applications to use Arti's directories by default.
</content>
</entry>
<entry>
<title>Give every ConfigBuilder a From&lt;Config&gt; implementation.</title>
<updated>2021-11-21T15:54:34Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-21T02:23:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=97f5a7a357d94ad2f0837a499b68dbf6f79a4040'/>
<id>urn:sha1:97f5a7a357d94ad2f0837a499b68dbf6f79a4040</id>
<content type='text'>
This will make it more convenient to reconfigure things.
</content>
</entry>
<entry>
<title>Ensure that every section-level config type has a builder() function.</title>
<updated>2021-11-21T15:54:34Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-21T02:00:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=aa83a5e38aba302efb2bd6b3eaf634ba9413d5d8'/>
<id>urn:sha1:aa83a5e38aba302efb2bd6b3eaf634ba9413d5d8</id>
<content type='text'>
</content>
</entry>
</feed>
