<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti/src/cfg.rs, branch arti-v0.5.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.5.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.5.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-06-16T15:08:10Z</updated>
<entry>
<title>arti: cfg: Remove another needless borrow</title>
<updated>2022-06-16T15:08:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-16T15:08:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ed62a575d33167595f62341bd715ce1278f2fccf'/>
<id>urn:sha1:ed62a575d33167595f62341bd715ce1278f2fccf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti cfg tests: Remove a redundant line that shadows an earlier binding</title>
<updated>2022-06-16T13:34:43Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-16T13:31:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fc3f36e9c928a3b6265cf2dece1edc2a1eb1e119'/>
<id>urn:sha1:fc3f36e9c928a3b6265cf2dece1edc2a1eb1e119</id>
<content type='text'>
Prompted by review
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/589#note_2813596
</content>
</entry>
<entry>
<title>arti cfg tests: Test that example config works as-is</title>
<updated>2022-06-16T13:34:43Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-15T16:01:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1332e02b61c07e491a9704ee8fcdb61a40ece3ce'/>
<id>urn:sha1:1332e02b61c07e491a9704ee8fcdb61a40ece3ce</id>
<content type='text'>
It contains only sections, but we want to detect when that is a problem!
</content>
</entry>
<entry>
<title>arti: cfg tests: Refactor to prepare for new test</title>
<updated>2022-06-16T13:34:43Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-15T16:00:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0ab60d832a25920bc9020d3262ace340d557cb3e'/>
<id>urn:sha1:0ab60d832a25920bc9020d3262ace340d557cb3e</id>
<content type='text'>
We're going to call this new closure another time.
</content>
</entry>
<entry>
<title>arti config: Check that example config is exhaustive</title>
<updated>2022-05-30T15:03:01Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-26T14:08:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fe9fb6b6ee94a1e450d4b4b019aa5658647b788f'/>
<id>urn:sha1:fe9fb6b6ee94a1e450d4b4b019aa5658647b788f</id>
<content type='text'>
This is the final piece of #457.
</content>
</entry>
<entry>
<title>arti: config: Canonicalise ports, and provide example dns_port</title>
<updated>2022-05-30T15:00:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-27T12:06:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ca60859dffc3c809ecf5e75d5fca17f36b75c0d8'/>
<id>urn:sha1:ca60859dffc3c809ecf5e75d5fca17f36b75c0d8</id>
<content type='text'>
Now the validated configuration will never be `Some(0)`, even if that
is what was written in the config file.  The arti CLI parser can still
produce this, so we don't touch the code that actually uses this.

(Without the canonicalisation the default builder produces `None` for
the `dns_port`, but the example would produce `Some(0)`, which is
semantically identical but fails the test.)

See https://gitlab.torproject.org/tpo/core/arti/-/issues/488 for some
background.
</content>
</entry>
<entry>
<title>arti: Make ProxyConfig no longer Deserialize</title>
<updated>2022-05-30T15:00:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-27T11:46:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c8d5681ff12dec80fec9133cd09a6eef7d631d7b'/>
<id>urn:sha1:c8d5681ff12dec80fec9133cd09a6eef7d631d7b</id>
<content type='text'>
That this remained was an oversight.
</content>
</entry>
<entry>
<title>arti: cfg: Actually uncomment *all* the things in the example</title>
<updated>2022-05-30T15:00:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-26T14:11:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e0d9d2434833b324fa2ff93f98b1951ac291fe54'/>
<id>urn:sha1:e0d9d2434833b324fa2ff93f98b1951ac291fe54</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add unit tests for ArtiConfig public functions</title>
<updated>2022-05-29T00:41:31Z</updated>
<author>
<name>michael mccune</name>
<email>msm@opbstudios.com</email>
</author>
<published>2022-05-29T00:41:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=db6842f666150b4091acc14560268311cfdcca07'/>
<id>urn:sha1:db6842f666150b4091acc14560268311cfdcca07</id>
<content type='text'>
this change adds some simple tests for the ArtiConfig public getter
functions to help expand coverage in this crate.
</content>
</entry>
<entry>
<title>arti: Better doc for ArtiCombinedConfig</title>
<updated>2022-05-25T18:15:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-25T17:46:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=80ddae3d4b8669d614ed013acae01b19c266dc4d'/>
<id>urn:sha1:80ddae3d4b8669d614ed013acae01b19c266dc4d</id>
<content type='text'>
</content>
</entry>
</feed>
