<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-circmgr/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>guardmgr config: Introduce and require new GuardMgrConfig trait</title>
<updated>2022-11-03T15:43:41Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-03T14:03:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6c64be06a6c80de50e3a6725aabce47ae401df47'/>
<id>urn:sha1:6c64be06a6c80de50e3a6725aabce47ae401df47</id>
<content type='text'>
It doesn't seem to me like it makes sense to provide the backward
compatibility here.
</content>
</entry>
<entry>
<title>CircMgr: Enable reachable_addrs filter.</title>
<updated>2022-06-17T12:47:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-09T22:01:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=34e8e208cc02b017b3e24914af465aa9c2d15f64'/>
<id>urn:sha1:34e8e208cc02b017b3e24914af465aa9c2d15f64</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a configuration option for reachable_addrs</title>
<updated>2022-06-17T12:47:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-09T21:22:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1c5f540dc87d30b73574f4e5429665c6d9d72077'/>
<id>urn:sha1:1c5f540dc87d30b73574f4e5429665c6d9d72077</id>
<content type='text'>
(This doesn't do anything yet.)
</content>
</entry>
<entry>
<title>impl_standard_builder: Have it generate FooConfig::builder</title>
<updated>2022-05-12T17:50:26Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-12T17:15:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=be5bc04c02d5023c46a117a048bf0a659094f4eb'/>
<id>urn:sha1:be5bc04c02d5023c46a117a048bf0a659094f4eb</id>
<content type='text'>
This deletes many handcoded impls.  It also generates lots of impls
that we previously didn't have.
</content>
</entry>
<entry>
<title>Rename impl_standard_builder from impl_default_via_builder</title>
<updated>2022-05-12T14:59:13Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-12T14:58:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c1c6f2b376827c4ebb13bc08456f8355717d15e5'/>
<id>urn:sha1:c1c6f2b376827c4ebb13bc08456f8355717d15e5</id>
<content type='text'>
I have Plans for this macro.  In particular:

 * I have a wip branch which tests that the Builder can be
   deserialised from an empty config (ie, that config reading
   of a config with a blank section for this item works).

 * I think we should autogenerate $Config::builder(),
   and promote that, rather than $ConfigBuilder::default().
   This macro could do that.
</content>
</entry>
<entry>
<title>config: Replace more handwritten impl Default</title>
<updated>2022-05-12T14:59:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-12T14:35:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=888d6e0511d01379d42ae154ac99ce2d9e84fd44'/>
<id>urn:sha1:888d6e0511d01379d42ae154ac99ce2d9e84fd44</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add correct serde(default) attrs for humantime_serde::option</title>
<updated>2022-05-12T10:34:53Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-12T09:09:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=04b8729d6baf411847ec89d29b97848781a96dbb'/>
<id>urn:sha1:04b8729d6baf411847ec89d29b97848781a96dbb</id>
<content type='text'>
Discovered by a test case in my local tree.  The test case was
macro-generated by an extension of impl_standard_builder (which
macro istself currently awaiting review, arti!499)

Have also sent an MR to update the upstream docs
  https://github.com/jean-airoldie/humantime-serde/pull/8
</content>
</entry>
<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>
</feed>
