<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-client/src, branch arti-v1.1.5</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.5</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.5'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-05-16T13:02:09Z</updated>
<entry>
<title>Refactor ClientCirc APIs to use Arc&lt;ClientCirc&gt;.</title>
<updated>2023-05-16T13:02:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-16T13:02:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ee390c423e7df0b678d77a8685f45dc526581910'/>
<id>urn:sha1:ee390c423e7df0b678d77a8685f45dc526581910</id>
<content type='text'>
Now ClientCirc is no longer `Clone`, and the things that need it
to be `Clone` instead return and use an Arc&lt;ClientCirc&gt;
We're doing this so that ClientCirc can participate in the RPC
system, and so that its semantics are more obvious.

Closes #846.

Thanks to the type system, this was a much simpler refactoring than
I had feared it would be.
</content>
</entry>
<entry>
<title>RPC: Start on plumbing TorClient into our RPC code</title>
<updated>2023-05-04T14:35:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-04-20T18:17:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d7ab388faf96f53e7981e8307f51a16e7891627b'/>
<id>urn:sha1:d7ab388faf96f53e7981e8307f51a16e7891627b</id>
<content type='text'>
Because of #837, we won't be able to work with _every_ TorClient&lt;R&gt;,
so I'm only going to be using TorClient&lt;PreferredRuntime&gt; for now.
</content>
</entry>
<entry>
<title>arti-client: Only run BridgesConfig doc test if pt-client feature is enabled.</title>
<updated>2023-05-02T13:10:15Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-05-02T13:10:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6cb412558d36f4756c0e13a88870b537dbf2f0e1'/>
<id>urn:sha1:6cb412558d36f4756c0e13a88870b537dbf2f0e1</id>
<content type='text'>
One of the tests run as part of `cargo test -p arti-client` fails
because the `pt-client` feature is not enabled by default:

```
failures:

---- src/config.rs - config::BridgesConfig (line 221) stdout ----
error[E0432]: unresolved import `arti_client::config::pt`
 --&gt; src/config.rs:225:26
  |
7 | use arti_client::config::pt::ManagedTransportConfigBuilder;
  |                          ^^ could not find `pt` in `config`

error[E0599]: no method named `bridges` found for mutable reference `&amp;mut BridgesConfigBuilder` in the current scope
  --&gt; src/config.rs:233:19
   |
15 | builder.bridges().bridges().push(bridge_1);
   |                   ^^^^^^^ private field, not a method

error[E0599]: no function or associated item named `default` found for struct `BridgeConfigBuilder` in the current scope
  --&gt; src/config.rs:236:48
   |
18 | let mut bridge2_builder = BridgeConfigBuilder::default();
   |                                                ^^^^^^^ function or associated item not found in `BridgeConfigBuilder`

error[E0599]: no method named `bridges` found for mutable reference `&amp;mut BridgesConfigBuilder` in the current scope
  --&gt; src/config.rs:247:19
   |
29 | builder.bridges().bridges().push(bridge2_builder);
   |                   ^^^^^^^ private field, not a method

error[E0599]: no method named `transports` found for mutable reference `&amp;mut BridgesConfigBuilder` in the current scope
  --&gt; src/config.rs:255:19
   |
37 | builder.bridges().transports().push(transport);
   |                   ^^^^^^^^^^ method not found in `&amp;mut BridgesConfigBuilder`

error: aborting due to 5 previous errors

Some errors have detailed explanations: E0432, E0599.
For more information about an error, try `rustc --explain E0432`.
Couldn't compile the test.

failures:
    src/config.rs - config::BridgesConfig (line 221)

test result: FAILED. 5 passed; 1 failed; 3 ignored; 0 measured; 0 filtered out; finished in 2.10s
```

This disables the `BridgesConfig` doc test if the `pt-client` feature is not enabled.

Closes #843

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'plumb' into 'main'</title>
<updated>2023-03-30T16:20:54Z</updated>
<author>
<name>Alexander Færøy</name>
<email>ahf@torproject.org</email>
</author>
<published>2023-03-30T16:20:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bcb051fea49e0323bfe4f7d4bc8e99b64efa16f2'/>
<id>urn:sha1:bcb051fea49e0323bfe4f7d4bc8e99b64efa16f2</id>
<content type='text'>
More plumbing for hs connections

See merge request tpo/core/arti!1098</content>
</entry>
<entry>
<title>Run rustfmt</title>
<updated>2023-03-30T14:58:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-03-30T14:56:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=23c7bd9174c454c5eb9ba83c8d580384434c1baa'/>
<id>urn:sha1:23c7bd9174c454c5eb9ba83c8d580384434c1baa</id>
<content type='text'>
Apply this churn, which I deferred for ease of review.
</content>
</entry>
<entry>
<title>arti-client: Call HsCircPool::launch_background_tasks</title>
<updated>2023-03-30T14:58:09Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-03-30T13:54:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a14d18d295579b5a42f8198e466a41b5d4242e00'/>
<id>urn:sha1:a14d18d295579b5a42f8198e466a41b5d4242e00</id>
<content type='text'>
I found that I had the bug where I forgot to call this function, and
reached
   bad_api_usage!("The circuit launcher wasn't initialized")

The possibility of such a bug is a hazard of this API pattern.
</content>
</entry>
<entry>
<title>tor-hsconn: Rename ConnError (from HsClientConnError)</title>
<updated>2023-03-30T14:49:07Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-03-30T10:32:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3ed9dca842bc673c947258c201c5adce684899bb'/>
<id>urn:sha1:3ed9dca842bc673c947258c201c5adce684899bb</id>
<content type='text'>
The old name was unwieldy and other crates can just as well name it by
the crate scope.
</content>
</entry>
<entry>
<title>arti-client: When making hs conn, wait for bootstrap</title>
<updated>2023-03-30T14:49:07Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-03-30T14:27:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=255b9cac9643f12707e078e0c2ba28110d3c40fe'/>
<id>urn:sha1:255b9cac9643f12707e078e0c2ba28110d3c40fe</id>
<content type='text'>
Not doing this was a bug.  The bug was possible because of some code
duplication between the exit and hs paths.  Add a comment about that.
</content>
</entry>
<entry>
<title>tor-client: Pass a netdir for each request</title>
<updated>2023-03-30T14:49:07Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-03-28T16:32:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=926abf3ade85776e73e32b9d803febc5b1326453'/>
<id>urn:sha1:926abf3ade85776e73e32b9d803febc5b1326453</id>
<content type='text'>
This will be more convenient inside tor-hsclient.  In arti-client,
this mirrors the way TorClient::get_or_launch_exit_circ works.
</content>
</entry>
<entry>
<title>Move functionality from tor_basic_utils to tor_async_utils</title>
<updated>2023-03-29T17:57:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-03-29T13:17:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a62affd66e34e98035bd14cb67b355065598a2d7'/>
<id>urn:sha1:a62affd66e34e98035bd14cb67b355065598a2d7</id>
<content type='text'>
This commit is mostly code movement; I'd recommend reviewing it
with git's `--color-moved` option.
</content>
</entry>
</feed>
