<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-relay/src/builder.rs, branch arti-v1.3.2</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.2</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.2'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-10-10T17:48:42Z</updated>
<entry>
<title>arti-relay: Rename remaining XXXs to be TODOs</title>
<updated>2024-10-10T17:48:42Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2024-10-10T17:48:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a14df2ec4d43b76439ea436bba1810c38663ace5'/>
<id>urn:sha1:a14df2ec4d43b76439ea436bba1810c38663ace5</id>
<content type='text'>
Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>arti-relay: Remove the use of pub and pub use</title>
<updated>2024-10-10T15:12:32Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2024-10-10T15:07:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=43185d5130ddcc0b6101d7f2209670695565ef2c'/>
<id>urn:sha1:43185d5130ddcc0b6101d7f2209670695565ef2c</id>
<content type='text'>
The "pub" and "pub(crate)" visibility in a binary crate is essentially
the same except for the dead_code warning analysis which ignores "pub"
but will warn at "pub(crate)".

This should get fixed soon according to:
https://github.com/rust-lang/rust/issues/74970

However, for now, lets catch all this dead code :).

Part of #1674

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>arti-relay: Remove its library crate</title>
<updated>2024-10-10T15:12:32Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2024-10-10T14:59:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ffea045dbe6ca8bf4d987633d34d10597e2a5591'/>
<id>urn:sha1:ffea045dbe6ca8bf4d987633d34d10597e2a5591</id>
<content type='text'>
Simply, the lib.rs is renamed to relay.rs (containing TorRelay object)
so this crate can never be used as a library.

This is important because at the moment, we don't want to have a relay
stable API that can be used to embed relays in applications.

Closes #1674

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>arti-relay: add and use `Error`/`ErrorDetail`</title>
<updated>2024-09-05T19:51:16Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-09-05T18:52:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7e496e85a32de0d286225a946c8c1def75cde920'/>
<id>urn:sha1:7e496e85a32de0d286225a946c8c1def75cde920</id>
<content type='text'>
Most of this is copied from `arti_client::err`, but with a lot of stuff
removed to simplify the error types (for example no `error_detail`
feature handling). I tried to keep things generally consistent with
arti-client so that error handling will be similar in both crates.

`TorRelayBuilder::create()` will likely need to be fallible in the
future (for example if spawning a task for the OR port listener fails),
so it now returns a `Result&lt;TorRelay, crate::err::Error&gt;` instead of
just a `TorRelay`.
</content>
</entry>
<entry>
<title>arti-relay: pass config in `TorRelay::create_inner`</title>
<updated>2024-09-03T22:23:08Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-08-22T14:28:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7d2c6ab437dfe07eaaf4f40818ed44eea7b0b377'/>
<id>urn:sha1:7d2c6ab437dfe07eaaf4f40818ed44eea7b0b377</id>
<content type='text'>
</content>
</entry>
<entry>
<title>relay: Add basic configuration and builder</title>
<updated>2024-08-20T13:09:31Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2024-08-19T16:51:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=df0785dcb45d4ec738597a1b9be52975446a6684'/>
<id>urn:sha1:df0785dcb45d4ec738597a1b9be52975446a6684</id>
<content type='text'>
This adds the basic TorRelayConfig object along a builder in order to
create a TorRelay object.

At this commit, the configuration object only holds a "StorageConfig"
which is a simple starting point which will allow to expand to a KeyMgr
and then a ChanMgr along more configuration.

There is also no custom Error for the crate at this point.

Fixes #1534

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
</feed>
