<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-config/src/derive.rs, branch arti-v2.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-v2.1.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.1.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-02-24T13:05:39Z</updated>
<entry>
<title>tor-config: future-proof #[cfg] attribute.</title>
<updated>2026-02-24T13:05:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-02-23T13:47:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=19222139860a08210dde4c2544c7c1a0c359f7d8'/>
<id>urn:sha1:19222139860a08210dde4c2544c7c1a0c359f7d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-config: Add an option to reject configured-out options</title>
<updated>2026-02-24T13:05:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-02-19T15:24:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1edcedfa7902edafa3580083265507653fcc2d11'/>
<id>urn:sha1:1edcedfa7902edafa3580083265507653fcc2d11</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-config: Have macros document more types and fns</title>
<updated>2026-02-24T13:05:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-02-18T15:21:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7cb398e48fabcb296282f3b21150c6bccdc0d399'/>
<id>urn:sha1:7cb398e48fabcb296282f3b21150c6bccdc0d399</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-config: Fix cfg() on sub_builders</title>
<updated>2026-02-24T13:05:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-02-18T14:30:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0a5c3cfa5744fccd0a3b806b5aa60c28f507d0a7'/>
<id>urn:sha1:0a5c3cfa5744fccd0a3b806b5aa60c28f507d0a7</id>
<content type='text'>
Previously, it used the sub_builder rule, which doesn't make sense
when the value is a stub place-holder to tell us whether to warn.
</content>
</entry>
<entry>
<title>tor-config: fix and improve ExtendBuilder override.</title>
<updated>2026-02-17T13:55:08Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-02-12T17:11:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c8636badda05d51204eca43275c51e49719b011e'/>
<id>urn:sha1:c8636badda05d51204eca43275c51e49719b011e</id>
<content type='text'>
1. When we are told to `extend_with`, we should obey that directive
   even if we have a sub_builder etc.

2. Provide an `extend_with_replace` function for the common case
   where we want to just replace one object with another.
</content>
</entry>
<entry>
<title>tor-config: derive list builders with the visibility of their setters.</title>
<updated>2026-02-17T13:55:08Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-02-12T15:23:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a46ff9a57ebf07266c0940460891f234dd4060ca'/>
<id>urn:sha1:a46ff9a57ebf07266c0940460891f234dd4060ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-config: new derive_deftly(TorConfig) template.</title>
<updated>2025-12-09T16:32:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-12-01T15:40:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ab307f399a4e717cae3615fd246c7cf80c7dd23f'/>
<id>urn:sha1:ab307f399a4e717cae3615fd246c7cf80c7dd23f</id>
<content type='text'>
This template is meant to replace most of our use of derive_builder
for configuration objects.  Where possible and reasonable, it
delegates to existing macros, and automatically infers what special
patterns we use for individual types.  In other cases, it uses
compile-time errors to inform the caller about pattern violations.
</content>
</entry>
</feed>
