<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirmgr/src/authority.rs, branch arti-v0.4.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.4.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.4.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-05-05T09:35:52Z</updated>
<entry>
<title>config derive attrs: Make builders serde, and validated structs not</title>
<updated>2022-05-05T09:35:52Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-04T16:45:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d47e94b45993162fece0d1bdfa4d3da0407a4861'/>
<id>urn:sha1:d47e94b45993162fece0d1bdfa4d3da0407a4861</id>
<content type='text'>
 * Builders additionally derive: Debug, Serialize, Deserialize.

 * Validated structs no longer derive: Serialize, Deserialize
   and all related attributes deleted.

 * As a consequence, all the `#[serde(deny_unknown_fields)]`
   are gone.  That means that right now unknown fields are totally
   ignored.  This is good for compatibility but poor for useability.
   Doing something better here is arti#417, in progress.

 * As a consequence, delete tor_dirmgr::retry::default_parallelism.
   (The default value was already duplicated into a builder attr.)
</content>
</entry>
<entry>
<title>Change builder list API</title>
<updated>2022-05-04T12:50:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-04T12:32:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4bca91271558d950092fb1ac51c1316655d293cb'/>
<id>urn:sha1:4bca91271558d950092fb1ac51c1316655d293cb</id>
<content type='text'>
The new API is (roughly) as discussed in
  https://gitlab.torproject.org/tpo/core/arti/-/issues/451

This is quite a large commit and it is not convenient to split it up.
It contains the following changes:

 * Redo the list builder and accessor macros implemnetation,
   including docs and tests.

 * Change uses of define_list_config_builder.  In each case:
   - Move the docs about the default value to the containing field.
   - Remove the other docs (which were just recapitulations, and
     are now not needed since the ListBuilder is no longer public).
   - Rewmove or replace `pub` in the define_list_builder_helper call,
     so that the builder is no longer public.
   - Change the main macro call site to use define_list_builder_helper.
   - Add a call to define_list_builder_accessors.

 * Make the module `list_builder` pub so that we have somewhere to
   put the overview documentation.

 * Consequential changes:
   - Change `outer.inner().replace(X)` to `outer.set_inner(X)`
   - Consequential changes to imports (`use` statements).
</content>
</entry>
<entry>
<title>Fix grammar and typos</title>
<updated>2022-04-27T12:52:13Z</updated>
<author>
<name>Samanta Navarro</name>
<email>ferivoz@riseup.net</email>
</author>
<published>2022-04-23T11:51:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c53818d496c910de4dfc4bc8d1f53e419fbf7408'/>
<id>urn:sha1:c53818d496c910de4dfc4bc8d1f53e419fbf7408</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Document defaults for all the config lists</title>
<updated>2022-04-25T17:22:54Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-04-25T16:38:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ce877e442124cb61a38ffe4ab7b3f29ff1b3541f'/>
<id>urn:sha1:ce877e442124cb61a38ffe4ab7b3f29ff1b3541f</id>
<content type='text'>
And add an imprecation in define_list_config_builder's doc comment do
do so in future for other invocations of the macro.

Add add the missing full stops.
</content>
</entry>
<entry>
<title>Use better syntax for doc comment attribute</title>
<updated>2022-04-25T16:05:30Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-04-25T15:49:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dca4f3ede107ec343e733f580723140437cc8c7f'/>
<id>urn:sha1:dca4f3ede107ec343e733f580723140437cc8c7f</id>
<content type='text'>
As per
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/471#note_2798020
</content>
</entry>
<entry>
<title>Introduce AuthorityListBuilder in NetworkConfigBuilder</title>
<updated>2022-04-25T11:54:51Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-04-25T11:29:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4ad9e5e4b0a8fa9761e65240f698ad8e2ee821cb'/>
<id>urn:sha1:4ad9e5e4b0a8fa9761e65240f698ad8e2ee821cb</id>
<content type='text'>
NetworkConfigBuilder needs to not contain any validated structs, so
that its serde does not expose the validated details.

AuthorityListBuilder is what ought to go here - and it contains
Vec&lt;AuthorityBuilder&gt;, not Vec&lt;Authority&gt;.  As a consequence, many
places now deal with AuthorityBuilder, rather than Authority.
</content>
</entry>
<entry>
<title>Fix error return type of AuthorityBuilder</title>
<updated>2022-04-25T11:41:39Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-04-25T11:32:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=166af2c3f6c636e3c92144f88cbaa03fd8d39a21'/>
<id>urn:sha1:166af2c3f6c636e3c92144f88cbaa03fd8d39a21</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Authority: make v3ident public under experimental-api</title>
<updated>2022-04-22T17:33:36Z</updated>
<author>
<name>Christian Grigis</name>
<email>christian.grigis@epfl.ch</email>
</author>
<published>2022-04-07T09:41:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=08bce9b6db58b1b610e228ed80a36cd3a23b3789'/>
<id>urn:sha1:08bce9b6db58b1b610e228ed80a36cd3a23b3789</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dirmgr: Authority: Abolish v3ident accessor</title>
<updated>2022-03-18T20:49:25Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-03-18T16:00:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d651a894defb6abc6e45c6f992accc22b1d47968'/>
<id>urn:sha1:d651a894defb6abc6e45c6f992accc22b1d47968</id>
<content type='text'>
This makes this information crate-private.  The crate can reasonably
just access it.
</content>
</entry>
<entry>
<title>dirmgr: Authority: Move a method used only for testing</title>
<updated>2022-03-18T20:49:25Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-03-18T16:16:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d1a9ed62f7e3d64ffaf1cbb621498eab374c7f6a'/>
<id>urn:sha1:d1a9ed62f7e3d64ffaf1cbb621498eab374c7f6a</id>
<content type='text'>
</content>
</entry>
</feed>
