<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirmgr/src, branch arti-v1.2.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-02-26T12:57:25Z</updated>
<entry>
<title>Upgrade to latest event-listener</title>
<updated>2024-02-26T12:57:25Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-02-26T12:57:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=deeea15306b98b0ba94642cae02a26c644119e70'/>
<id>urn:sha1:deeea15306b98b0ba94642cae02a26c644119e70</id>
<content type='text'>
</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>clippy: Use Result::cloned in several places</title>
<updated>2024-01-31T14:35:58Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-31T14:27:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6fbc7e0ab48c5a424d13944f1103f18e3ec33913'/>
<id>urn:sha1:6fbc7e0ab48c5a424d13944f1103f18e3ec33913</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-dirmgr: Simplify a clone call (fmt)</title>
<updated>2024-01-31T14:35:58Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-31T14:35:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7eaa11c4192c25db911a49b454c10f5f91af471d'/>
<id>urn:sha1:7eaa11c4192c25db911a49b454c10f5f91af471d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-dirmgr: Simplify a clone call</title>
<updated>2024-01-31T14:35:58Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-31T14:30:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8e8953bae4f45133c310b7c4d3e688db664b904e'/>
<id>urn:sha1:8e8953bae4f45133c310b7c4d3e688db664b904e</id>
<content type='text'>
Prompted by clippy.
</content>
</entry>
<entry>
<title>dirmgr: Make the `dir_mgr_config` method public</title>
<updated>2024-01-09T10:28:04Z</updated>
<author>
<name>Emil Engler</name>
<email>me@emilengler.com</email>
</author>
<published>2023-12-30T10:45:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=619181e2e1a8982220f04a3c2b54963fd3ec575b'/>
<id>urn:sha1:619181e2e1a8982220f04a3c2b54963fd3ec575b</id>
<content type='text'>
This commit makes the `dir_mgr_config` method of the `TorClientConfig`
struct public.

It might be questionable whether we should make this function public or
switch to a `TryInto` trait in general, which also seems like an even
Rustier solution Rustier solution.

Fixes #1175
</content>
</entry>
<entry>
<title>clippy nightly: For now, locally allow implied_bounds_in_impls</title>
<updated>2024-01-02T15:04:18Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-02T14:51:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=145534e0441764ceb5feab25ed4c537a19972c4b'/>
<id>urn:sha1:145534e0441764ceb5feab25ed4c537a19972c4b</id>
<content type='text'>
Filed
  https://gitlab.torproject.org/tpo/core/arti/-/issues/1177
proposing a final fix.
</content>
</entry>
<entry>
<title>clippy nightly: For now, locally allow blocks_in_conditions</title>
<updated>2024-01-02T15:04:18Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-02T14:51:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2e459400ebc4cb40622cf2eb42803afafbc05ad4'/>
<id>urn:sha1:2e459400ebc4cb40622cf2eb42803afafbc05ad4</id>
<content type='text'>
Filed
  https://gitlab.torproject.org/tpo/core/arti/-/issues/1176
proposing a final fix.
</content>
</entry>
<entry>
<title>clippy: Replace many calls to .get(0) with .first()</title>
<updated>2024-01-02T13:56:08Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-02T12:48:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b9da8cf60618b16c021d3ecf1ec24e2dce56aff5'/>
<id>urn:sha1:b9da8cf60618b16c021d3ecf1ec24e2dce56aff5</id>
<content type='text'>
FTR I don't think agree with clippy on this question, but then I often
don't.
</content>
</entry>
<entry>
<title>tor-persist: Provide FsMistrustErrorExt, and use it</title>
<updated>2023-12-13T17:02:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-12-07T16:18:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=76bd3c0f4dc5886dbc4a11304a87661d1252b829'/>
<id>urn:sha1:76bd3c0f4dc5886dbc4a11304a87661d1252b829</id>
<content type='text'>
This code needs fs_mistrust::Error and tor_error::ErrorKind.  I think
we probably don't want fs_mistrust to depend on tor_error or vice
versa.

tor_persist is approximately the place where these two threads of
thought come together, and it's currently the lowest place where this
is needed.

Use it in tor-dirmgr too, which is currently the other place that
embodies this knowledge about fs_mistrust::Error.
</content>
</entry>
</feed>
