<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-client/src/err.rs, branch tor-dirmgr-v0.5.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=tor-dirmgr-v0.5.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=tor-dirmgr-v0.5.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-06-21T18:14:14Z</updated>
<entry>
<title>Do not include error source() in display() format.</title>
<updated>2022-06-21T18:14:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-21T18:14:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=08d9bbf33b9fff8aa33a823422aa4e323137be07'/>
<id>urn:sha1:08d9bbf33b9fff8aa33a823422aa4e323137be07</id>
<content type='text'>
According to doc/Errors.md, and in keeping with current best
practices, we should not include display an error's `source()` as
part of that error's display method.  Instead, we should let the
caller decide to call source() and display that error in turn.

Part of #323.
</content>
</entry>
<entry>
<title>Make daemon tasks self-contained; introduce NetDirProvider</title>
<updated>2022-03-30T13:26:43Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-03-28T12:54:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ac64bdea2744c6cd0ede0562954efcfe479afd94'/>
<id>urn:sha1:ac64bdea2744c6cd0ede0562954efcfe479afd94</id>
<content type='text'>
The various background daemon tasks that `arti-client` used to spawn are
now handled inside their respective crates instead, with functions
provided to spawn them that return `TaskHandle`s.

This required introducing a new trait, `NetDirProvider`, which steals
some functionality from the `DirProvider` trait to enable `tor-circmgr`
to depend on it (`tor-circmgr` is a dependency of `tor-dirmgr`, so it
can't depend on `DirProvider` directly).

While we're at it, we also make some of the tasks wait for events from
the `NetDirProvider` instead of sleeping, slightly increasing
efficiency.
</content>
</entry>
<entry>
<title>Merge branch 'dir-provider-redux' into 'main'</title>
<updated>2022-03-02T18:41:50Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2022-03-02T18:41:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b27ffe14fb23c58c0355ab2c5fa1fc305fd8b003'/>
<id>urn:sha1:b27ffe14fb23c58c0355ab2c5fa1fc305fd8b003</id>
<content type='text'>
Alternative DirProvider setup

See merge request tpo/core/arti!347</content>
</entry>
<entry>
<title>Add a builder function for replacing a DirProvider.</title>
<updated>2022-02-23T20:23:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-23T20:23:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ed2a5de9b4cac08d53e173827a533c1b0d994a11'/>
<id>urn:sha1:ed2a5de9b4cac08d53e173827a533c1b0d994a11</id>
<content type='text'>
Put it behind experimental_api.
</content>
</entry>
<entry>
<title>impl From&lt;TorAddrError&gt; for tor_error::Error</title>
<updated>2022-02-23T14:34:53Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-23T12:59:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fe864c17c6339f5b7383e44c20c42f59609267be'/>
<id>urn:sha1:fe864c17c6339f5b7383e44c20c42f59609267be</id>
<content type='text'>
It auto-converts to ErrorDetail but add this for convenience of
callers which don't want to look into that unstable API.
</content>
</entry>
<entry>
<title>Rename ExitTimeout to RemoteNetworkTimeout.</title>
<updated>2022-02-17T17:19:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-17T17:19:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=034c5ba9f50e347052f634a532d72b2d51ddb8a9'/>
<id>urn:sha1:034c5ba9f50e347052f634a532d72b2d51ddb8a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti_client: provide Kinds for all errors.</title>
<updated>2022-02-16T21:38:22Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-16T21:38:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0bdef968978b1d1973bc7f12812f780dae8552ce'/>
<id>urn:sha1:0bdef968978b1d1973bc7f12812f780dae8552ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow creating unbootstrapped `TorClient`s (and `DirMgr`s)</title>
<updated>2022-02-11T16:42:19Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-02-09T16:27:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=882e75cd280ede6dc284f11db9e8f17947435ebe'/>
<id>urn:sha1:882e75cd280ede6dc284f11db9e8f17947435ebe</id>
<content type='text'>
This commit changes how the `TorClient` type works, enabling it to be
constructed synchronously without initiating the bootstrapping process.
Daemon tasks are still started on construction (although some of them
won't do anything if the client isn't bootstrapped).

The old bootstrap() methods are now reimplemented in terms of the new
create_unbootstrapped() and bootstrap_existing() methods.

This required refactoring how the `DirMgr` works to enable the same sort
of thing there.

closes #293
</content>
</entry>
<entry>
<title>ErrorDetail Simplify visibility macros a bit.</title>
<updated>2022-02-08T15:37:46Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-08T15:34:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3f39737817693c56c2e04258073f7e58df61834c'/>
<id>urn:sha1:3f39737817693c56c2e04258073f7e58df61834c</id>
<content type='text'>
Instead of declaring a macro that takes vis as an argument, we now
conditionally declare a macro that applies an appropriate visibility.

There's a long comment explaining the rationale here, along with a
couple of other solutions that don't work.
</content>
</entry>
<entry>
<title>Rename TorResult to Result.</title>
<updated>2022-02-08T15:37:46Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-08T15:11:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d00f00dd416c9d31c1f412b91c8e5d621e1a6fc7'/>
<id>urn:sha1:d00f00dd416c9d31c1f412b91c8e5d621e1a6fc7</id>
<content type='text'>
This is closer to common usage.

(Not that we all agree with common usage, but it's closer to what
people expect.)
</content>
</entry>
</feed>
