| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | arti-relay: add and use `Error`/`ErrorDetail` | Steven Engler | 2024-09-05 | 1 | -2/+3 |
| | | | | | | | | | | | | | 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<TorRelay, crate::err::Error>` instead of just a `TorRelay`. | ||||
| * | arti-relay: pass config in `TorRelay::create_inner` | Steven Engler | 2024-09-03 | 1 | -2/+1 |
| | | |||||
| * | relay: Add basic configuration and builder | David Goulet | 2024-08-20 | 1 | -0/+33 |
| 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 <[email protected]> | |||||
