<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-client/src/lib.rs, branch arti-v0.3.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.3.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.3.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-03-23T13:43:48Z</updated>
<entry>
<title>Implement a periodic task scheduler, and a basic dormant mode</title>
<updated>2022-03-23T13:43:48Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-03-23T13:43:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1ca79ff988d698b9bd8ec21fff12b8120cc17b28'/>
<id>urn:sha1:1ca79ff988d698b9bd8ec21fff12b8120cc17b28</id>
<content type='text'>
This is a revised version of !397; it implements a scheduling system for
periodic tasks that can be externally controlled, and then uses the
external control aspect to implement a basic dormant mode (#90).

More technically, the scheduling system consists of a `Stream` that
periodic tasks are expected to embed in a `while` loop or similar, a
way for tasks themselves to choose how long to wait until the stream
next yields a result, and a handle to control this outside of the task.
</content>
</entry>
<entry>
<title>replace IsolationMap with new Isolation trait</title>
<updated>2022-03-16T18:24:23Z</updated>
<author>
<name>trinity-1686a</name>
<email>trinity@deuxfleurs.fr</email>
</author>
<published>2022-03-12T18:12:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=59bef598a313f977a71788b3ab3da51e33e361f1'/>
<id>urn:sha1:59bef598a313f977a71788b3ab3da51e33e361f1</id>
<content type='text'>
</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>Merge branch 'clippy-allow-arc-clone' into 'main'</title>
<updated>2022-03-01T20:38:05Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-01T20:38:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=83c8b11c2c08a05928bdb0390922391d13261ef2'/>
<id>urn:sha1:83c8b11c2c08a05928bdb0390922391d13261ef2</id>
<content type='text'>
Disable clippy::clone_on_ref_ptr

See merge request tpo/core/arti!352</content>
</entry>
<entry>
<title>Merge branch '010_docs'</title>
<updated>2022-03-01T13:08:56Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-01T13:08:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=132416275d726c740f832eef70475d82f499b576'/>
<id>urn:sha1:132416275d726c740f832eef70475d82f499b576</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'main'</title>
<updated>2022-03-01T10:28:06Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-03-01T10:16:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bda9f82c551c76fe11ad2f4695d97bc4353d3a5a'/>
<id>urn:sha1:bda9f82c551c76fe11ad2f4695d97bc4353d3a5a</id>
<content type='text'>
Fixed conflict in crates/arti-client/src/lib.rs as per tree
from
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/364/#note_2782166
ie 13e55b8d7c22c26e55ba75823409b477f1bce66b
</content>
</entry>
<entry>
<title>Update our stability warning on arti-client.</title>
<updated>2022-02-28T19:29:50Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-28T19:29:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9bf69f551ee5d05889cd449737f064448a5d6f30'/>
<id>urn:sha1:9bf69f551ee5d05889cd449737f064448a5d6f30</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti-client: use PreferredRuntime by default, doc cleanups</title>
<updated>2022-02-28T16:41:13Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-02-25T18:13:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=13ba0ea005ddd87bba2d53ab738ce948f031e1e8'/>
<id>urn:sha1:13ba0ea005ddd87bba2d53ab738ce948f031e1e8</id>
<content type='text'>
This makes using the `PreferredRuntime` the first-class option inside
`arti-client`, freeing users who don't want to think about runtimes from
having to do so.

`TorClient::create_unbootstrapped` and `builder` now automatically
use this runtime, leaving only `builder_custom` for users who wish to
manually specify a runtime.

This lets us clean up the docs a lot: mentions of using custom runtimes
are now relegated to nearer the end of the crate-level documentation,
and we mostly just link to `tor_rtcompat`'s docs to explain more there.
Instead, we take some more time to explain how you use the builder API
to create clients synchronously.

Other doc cleanups included getting rid of the explanation of `TorAddr`
in the main crate-level doc; this is already well-documented elsewhere,
and is something users should discover organically later.

fixes arti#326
</content>
</entry>
<entry>
<title>Split "static" into sqlite and native-tls features.</title>
<updated>2022-02-25T18:05:25Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-25T18:05:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=489da37fe4f005e1ce0b0d35b88a33ed1a697f4e'/>
<id>urn:sha1:489da37fe4f005e1ce0b0d35b88a33ed1a697f4e</id>
<content type='text'>
Otherwise, it's impossible to get a static sqlite linkage without
also getting native-tls, even if you wanted rustls.

Closes #302.
</content>
</entry>
<entry>
<title>arti-client: Unlock the state manager on failure to bootstrap</title>
<updated>2022-02-24T19:55:59Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-02-18T16:02:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c6fdd7c0037df821a7cfc475993322958c2f006a'/>
<id>urn:sha1:c6fdd7c0037df821a7cfc475993322958c2f006a</id>
<content type='text'>
`StateMgr` got a new `unlock()` method that does what it says on the
tin. We now call it from `bootstrap()` using the new
`util::StateMgrUnlockGuard`, which works in a manner similar to the
`BoolResetter` from `tor_dirmgr`.

(A decent small little task in future might be to unify these types in
some sort of general arti utility crate?)

closes arti#335
</content>
</entry>
</feed>
