<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-client/src, branch arti-v0.0.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2021-10-29T13:06:06Z</updated>
<entry>
<title>Improve docs of more (potentially re-exported) arti-client types</title>
<updated>2021-10-29T13:06:06Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2021-10-29T13:06:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a12fffc66accb0126500280f540b09c0922c1145'/>
<id>urn:sha1:a12fffc66accb0126500280f540b09c0922c1145</id>
<content type='text'>
Most of the structs in `arti-client` have example code now, to give a
clearer idea of how they're used.

Annoyingly, a lot of the types exposed in `arti-client` are actually
re-exports, which makes documentation a bit harder: example code that
references other parts of `arti-client` can't actually be run as a
doctest, since the crate it's in is a dependency of `arti-client`.

We might be able to fix this in future by doing the documentation in
`arti-client` itself, but rustdoc seems to have some weird behaviours
there that need to be investigated first (for example, it seems to merge
the re-export and original documentation, and also put the re-export
documentation on the `impl` block for some reason).

For now, though, this commit just writes the docs from the point of view
of an `arti-client` consumer, removing notes specific to the crate in
which they're defined. It's not ideal, but at least the end user
experience is decent.
</content>
</entry>
<entry>
<title>Try writing a bit more documentation for configuration types.</title>
<updated>2021-10-29T00:49:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-29T00:49:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c11fe200d18d95eb1100dae6c21d02a93c5727b0'/>
<id>urn:sha1:c11fe200d18d95eb1100dae6c21d02a93c5727b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Encourage the use of TorClient::clone().</title>
<updated>2021-10-29T00:21:35Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-29T00:19:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6cba1acef40d4ddad5716bc8c93eab1436a82dda'/>
<id>urn:sha1:6cba1acef40d4ddad5716bc8c93eab1436a82dda</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti-client example: Try to make the comments a little more clear.</title>
<updated>2021-10-29T00:20:23Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-29T00:18:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bf3bfdf62de9a0d2500da30ad986d4d4bf31e9f5'/>
<id>urn:sha1:bf3bfdf62de9a0d2500da30ad986d4d4bf31e9f5</id>
<content type='text'>
I'm not 100% sure this is better, but it might help the user
understand how Arti works a bit better.
</content>
</entry>
<entry>
<title>Improve top-level arti-client documentation, add example code</title>
<updated>2021-10-28T18:20:42Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2021-10-28T17:32:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dcdd8c59dfa6afd3ee903d5eacab4a99c1258e7d'/>
<id>urn:sha1:dcdd8c59dfa6afd3ee903d5eacab4a99c1258e7d</id>
<content type='text'>
This overhauls the top-level `arti-client` documentation significantly:

- the "Using arti-client" section walks the user through all of the
  necessary steps to initiate a Torified TCP connection, and then
  provides a code example
  - this example is also available as `examples/readme.rs`; it's not run
    as a doctest, since it involves connecting to Tor
  - a "More advanced usage" subheading provides information about stream
    isolation (and can potentially be used for other interesting
    features once we get them).
- a new "Multiple runtime support" section was added to explain the
  purpose and usage of the `tor-rtcompat` crate
- the section on design and privacy considerations was removed; this is
  probably okay to keep in a README, but users of the crate aren't going
  to be interested in this (at least I don't think)

(also, the doc comment for `arti_client::Error` was fixed to make actual
sense)
</content>
</entry>
<entry>
<title>Update our disclaimers and limitations sections.</title>
<updated>2021-10-27T15:13:46Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-27T15:13:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=134c04a67adebff719011b608dabfa6da60ed247'/>
<id>urn:sha1:134c04a67adebff719011b608dabfa6da60ed247</id>
<content type='text'>
</content>
</entry>
<entry>
<title>TorClient::resolve_ptr should take an IpAddr.</title>
<updated>2021-10-26T13:42:25Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-26T13:42:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=be4823818e191d871325a4334966801c562f36bd'/>
<id>urn:sha1:be4823818e191d871325a4334966801c562f36bd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>More tests for arti_client::address</title>
<updated>2021-10-26T13:32:41Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-26T13:32:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1b6098d00f1471804e3a332a32b56e8ab1fb9462'/>
<id>urn:sha1:1b6098d00f1471804e3a332a32b56e8ab1fb9462</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Turn StreamIsolation into a separate type.</title>
<updated>2021-10-25T16:32:18Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-25T16:32:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=47234655ced86b8764ca8f31e5ef267f589f939b'/>
<id>urn:sha1:47234655ced86b8764ca8f31e5ef267f589f939b</id>
<content type='text'>
Now that we have two kinds of isolation tokens (those set on a
stream, and those set by the stream's associated TorClient), we
need a more sophisticated kind of isolation.

This fixes the bug introduced with the previous commit, where
per-stream tokens would override per-TorClient tokens.
</content>
</entry>
<entry>
<title>Add an isolate_client() function to create an isolated TorClient.</title>
<updated>2021-10-25T16:02:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-25T16:02:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=16f6ee4b54d8a952079e529a3b5f9681f0165112'/>
<id>urn:sha1:16f6ee4b54d8a952079e529a3b5f9681f0165112</id>
<content type='text'>
When two TorClients are isolated, their streams shouldn't share
circuits, even though they share internal circuit and guard state.
</content>
</entry>
</feed>
