<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-config/src/misc.rs, branch arti-1.2.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-1.2.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-1.2.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-03-13T16:30:53Z</updated>
<entry>
<title>Run maint/add_warning.</title>
<updated>2024-03-13T16:30:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-13T16:30:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c'/>
<id>urn:sha1:c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>educe: Use std's default for two structs</title>
<updated>2024-02-12T11:38:36Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-02-12T11:08:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7eafea9d0b7bb5b1ccc2980df1c94defdd04a954'/>
<id>urn:sha1:7eafea9d0b7bb5b1ccc2980df1c94defdd04a954</id>
<content type='text'>
Reviewing uses of `#[educe(default)]`, I came across these two places
where it was applied to a non-generic struct without any special
attributes on fields.  std's derive will do just as well here.
</content>
</entry>
<entry>
<title>educe: Use std's default for enums where default variant is unit</title>
<updated>2024-02-12T11:38:36Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-02-12T11:07:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c35c60f848154e80f23ba95a989ff2f9d2594e6a'/>
<id>urn:sha1:c35c60f848154e80f23ba95a989ff2f9d2594e6a</id>
<content type='text'>
Since Rust 1.66, std's default works properly for enums, provided that
the default variant is a unit.

Review all uses of `#[educe(default)]` on enums and replace them with
std where possible, which is most of them.

In 1.66 and later, std's `#[derive(Default)]` doesn't infer any
generic bounds on the derived impl, where it's an enum - since the
unit variant can always be constructed.  So this change doesn't add
any generic bounds and is not API-visible.
</content>
</entry>
<entry>
<title>Test for Listen Display</title>
<updated>2023-09-25T21:10:02Z</updated>
<author>
<name>Jani Monoses</name>
<email>jani.monoses@gmail.com</email>
</author>
<published>2023-09-25T21:10:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fd128445c22db9270959bb3b7e5207da3151ee25'/>
<id>urn:sha1:fd128445c22db9270959bb3b7e5207da3151ee25</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do not writelns in Display, undo localhost_port_legacy changes.</title>
<updated>2023-09-25T20:39:50Z</updated>
<author>
<name>Jani Monoses</name>
<email>jani.monoses@gmail.com</email>
</author>
<published>2023-09-25T20:39:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=365ad8014ebdc9a6b09a4cd0e9275771e6da7fb7'/>
<id>urn:sha1:365ad8014ebdc9a6b09a4cd0e9275771e6da7fb7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti, tor-config: Allow listening on generic addresses for SOCKS and DNS.</title>
<updated>2023-09-22T16:19:40Z</updated>
<author>
<name>Jani Monoses</name>
<email>jani.monoses@gmail.com</email>
</author>
<published>2023-09-20T07:33:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d7f5a2b024226c8dbff5b2a01ad1a6c8615ee33a'/>
<id>urn:sha1:d7f5a2b024226c8dbff5b2a01ad1a6c8615ee33a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-config: Listen: Clarify localhost_port_legacy</title>
<updated>2023-09-12T15:08:38Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-09-12T15:08:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a7dc6baff64083897e4c44403b6f78b260ef19d9'/>
<id>urn:sha1:a7dc6baff64083897e4c44403b6f78b260ef19d9</id>
<content type='text'>
The previous phrasing was ambiguous and set us up for bugs, see
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1582#note_2942240
</content>
</entry>
<entry>
<title>tor-config: Listen: Fix a typo</title>
<updated>2023-09-12T15:07:50Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-09-12T15:07:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=89252b4464b3dbe2e087f1be3a841745fda07b64'/>
<id>urn:sha1:89252b4464b3dbe2e087f1be3a841745fda07b64</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Run maint/add_warning to add lint block everywhere</title>
<updated>2023-08-23T09:34:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-08-22T14:28:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac'/>
<id>urn:sha1:42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-config: Remove unused ItemOrBool helper.</title>
<updated>2023-07-13T11:30:07Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-12T18:10:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5b97b0b2ce31b3dbe1ab9cf0d33109457d1aea47'/>
<id>urn:sha1:5b97b0b2ce31b3dbe1ab9cf0d33109457d1aea47</id>
<content type='text'>
`ItemOrBool` is currently not used anywhere (it was previously used by
the keymgr config).
</content>
</entry>
</feed>
