summaryrefslogtreecommitdiff
path: root/crates/arti-client/src
Commit message (Collapse)AuthorAgeFilesLines
* Update release dateIan Jackson2026-03-301-1/+1
| | | | As per the release checklist.
* arti-client: Port to web-time-compat.Nick Mathewson2026-03-262-11/+9
|
* arti-client: Stub out usage of FsStateMgr on wasm32-unknown.Nick Mathewson2026-03-251-4/+34
| | | | | | | | The replacement (TestingStateMgr) is not correct, but it will compile until we have a supported state manager. (This made cargo-sort have me move a section around. Not sure why it cares.)
* Fix word duplicate typosTobias Stoeckmann2026-03-151-1/+1
|
* Update the release date for today's releaseGabriela Moldovan2026-03-031-1/+1
|
* Update release date in preparation for today's releaseGabriela Moldovan2026-03-021-1/+1
|
* arti-client: Convert config to derive_deftly(TorConfig).Nick Mathewson2026-02-241-115/+94
| | | | | (There are a few places where we still do things in nonstandard places to avoid API breakage.)
* Merge branch 'ticket_2338' into 'main'Nick Mathewson2026-02-191-9/+5
|\ | | | | | | | | | | | | Use ErrorSources where appropriate to walk an error stack. Closes #2338 See merge request tpo/core/arti!3685
| * arti-client: Use ErrorSources to find best hint for an error.Nick Mathewson2026-02-161-9/+5
| | | | | | | | | | Previously, due to #2338, we would miss any error nested directly inside an io::Error.
* | Allow clippy::collapsible_if to triggerGabriela Moldovan2026-02-161-0/+1
|/ | | | | | | | | `clippy::collapsible_if` started triggering after bumping the MSRV to 1.88. Since this triggers from a lot of places, and since there even are a couple of instances where we explicitly allow `clippy::collapsible_ifs`, I've opened #2342 for deciding what to do about it.
* relay: Add a TLS acceptor in the ChanBuilderDavid Goulet2026-02-091-7/+10
| | | | | | | | | | | | | | | This requires the `TlsKeyAndCert` so be passed on the TLS acceptor settings. We assume that `RelayIdentities` has this information. The ChanBuilder::new() was getting a bit too convoluted and feature gated to instead we introduce new_client() and new_relay() and remove the need for `with_identities()`. Because of this, the ChanMgr::new() now returns a `Result<>`. Related to #1597 Signed-off-by: David Goulet <[email protected]>
* release: Update release date.Wesley Aptekar-Cassels2026-02-021-1/+1
|
* maint/add_warning: Run script to add new warningGabriela Moldovan2026-01-271-0/+1
| | | | This adds the lint to all our crates.
* chanmgr: Introduce a ChanMgrConfig structDavid Goulet2026-01-131-1/+2
| | | | | | | | | | | | This struct is used to pass configuration parameters to the ChanMgr when building it. At the moment, it holds the ChannelConfig and RelayIdentities (feature gated) which will be used in subsequent commits. Note that relays do require RelayIdentities to build channels. Signed-off-by: David Goulet <[email protected]>
* chanmgr: Remove KeyMgr from constructorDavid Goulet2026-01-131-1/+0
| | | | | | | We'll rely on a RelayIdentities to pass in the right keys to the ChanMgr instead of the entire KeyMgr. Signed-off-by: David Goulet <[email protected]>
* arti-client: Update release dateClara Engler2026-01-131-1/+1
|
* arti,arti-relay: change info keystore path msg to debugSteven Engler2025-12-111-1/+3
|
* Remove unnecessary `doc(cfg(...))` attributesNeel Chauhan2025-12-043-23/+0
| | | | | | | | | Fixes part of #2193. (Edits from nickm: I selected the cases here that I could verify were correct from immediate context.) Edited-by: Nick Mathewson <[email protected]>
* Merge branch 'torclient-keymgr-accessor' into 'main'wesleyac2025-12-031-0/+6
|\ | | | | | | | | Add `KeyMgr` accessor to `TorClient` See merge request tpo/core/arti!3442
| * arti-client: Add `TorClient:keymgr` getter functionhjrgrn2025-11-051-0/+6
| |
* | Run maint/update-release-date.Gabriela Moldovan2025-12-021-1/+1
| |
* | Merge branch 'fix-typo' into 'main'Ian Jackson2025-11-271-1/+1
|\ \ | | | | | | | | | | | | arti-client: Fix typo See merge request tpo/core/arti!3504
| * | arti-client: Fix typoMynacol2025-11-271-1/+1
| | |
* | | tor-circmgr: simplify `CircMgrConfig`Steven Engler2025-11-261-2/+7
| | | | | | | | | | | | | | | | | | | | | Now that `vanguard_config()` is no longer conditional, we can handle `vanguard_config` just like other accessors. This is a breaking change, but I think we may as well make this change while we've already made another breaking change in the previous commit.
* | | tor-circmgr,arti-client: `CircMgrConfig::vanguard_config` is always builtSteven Engler2025-11-261-5/+48
| | |
* | | opentelemetry: Instrument a bunch of functions.Wesley Aptekar-Cassels2025-11-242-0/+7
|/ / | | | | | | | | These are all aimed at figuring out in more detail what's going on in #2079 and related issues.
* | Merge branch 'disable-hidden-service' into 'main'wesleyac2025-11-121-12/+28
|\ \ | | | | | | | | | | | | | | | | | | arti/arti-client/tor-hsservice: Support disabling onion services in the config Closes #2133 See merge request tpo/core/arti!3253
| * | arti(-client)/tor-hsservice: return None for disabled servicehashcatHitman2025-10-161-12/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no longer a hard error anywhere for trying to launch a service which is disabled in the config. Instead, it always means returning `Ok(None)`. The axum and hyper examples were updated again as a consequence. Signed-off-by: hashcatHitman <[email protected]>
| * | arti(-client): graceful service disable in arti onlyhashcatHitman2025-10-161-27/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a service is disabled in the config, `arti::onion_proxy::Proxy` handles it gracefully, and `arti_client::client::TorClient::launch_onion_service_with_hsid` and `arti_client::client::TorClient::launch_onion_service` both hard error. The axum and hyper examples were updated again as a consequence. Signed-off-by: hashcatHitman <[email protected]>
| * | arti/arti-client: add graceful service disablehashcatHitman2025-10-161-9/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | Hidden services disabled in the config are now handled more gracefully by arti/arti-client, before the hard error occurs. The axum and hyper examples were updated as a consequence. Signed-off-by: hashcatHitman <[email protected]>
* | | Merge branch 'bug2118a' into 'main'wesleyac2025-11-101-14/+29
|\ \ \ | | | | | | | | | | | | | | | | `arti-client`: Move `create_onion_service()` to `InertTorClient` See merge request tpo/core/arti!3435
| * | | Make create_onion_service() correctionsNeel Chauhan2025-11-101-17/+2
| | | |
| * | | Mention InertTorClient in client.rsNeel Chauhan2025-11-101-1/+1
| | | |
| * | | Don't assume we have inert_client in TorClientNeel Chauhan2025-11-041-2/+2
| | | |
| * | | `arti-client`: Move `create_onion_service()` to `InertTorClient`Neel Chauhan2025-11-041-15/+45
| | |/ | |/| | | | | | | Part of #2118.
* | | arti-client: Add TODO for #2249.Wesley Aptekar-Cassels2025-11-101-0/+1
| | |
* | | Fix name of clippy lint to unchecked_time_subtraction (2)Ian Jackson2025-11-067-8/+8
| | | | | | | | | | | | Run maint/add_warning
* | | all: run cargo fmtSteven Engler2025-11-041-1/+1
| | |
* | | all: replace all uses of `futures::task::SpawnExt` with `tor_rtcompat::SpawnExt`Steven Engler2025-11-042-3/+3
|/ /
* | arti-client: update `ARTI_CLIENT_RELEASE_DATE`Steven Engler2025-10-291-1/+1
| | | | | | | | | | | | ```bash ./maint/update-release-date ```
* | TorAddr: Add function to inspect the host as an IpAddr, if it is one.Nick Mathewson2025-10-281-0/+8
| |
* | arti-relay: copy `state_mgr.try_lock()` from arti-clientSteven Engler2025-10-211-0/+1
|/
* release: Update release date.wesleyac2025-10-021-1/+1
| | | We plan to release on Monday.
* release: Update release date.Wesley Aptekar-Cassels2025-10-021-1/+1
|
* Remove "doc_auto_cfg" incantation from all crates.Nick Mathewson2025-09-291-1/+1
| | | | This feature has been removed from nightly, in favor of doc_cfg.
* opentelemetry: Add some instrument macros.Wesley Aptekar-Cassels2025-09-241-1/+14
| | | | | I've added these in places that are useful for the debugging that I've been doing.
* arti-client: add doc comments to `TorClient::create_onion_service()`Steven Engler2025-09-231-0/+14
|
* tor-dircommon: Implement proposal 330Clara Engler2025-09-161-18/+10
| | | | | | | This commit implements proposal 330 in the context of `tor-dircommon`, by replacing the single `Authority` structure used in a list context by a single structure called `AuthorityContacts` which contains all v3idents, upload, download, and vote endpoints in one central place.
* Move `FallbackDir` into `tor-dircommon`Clara Engler2025-09-111-2/+2
|
* Move `DirTolerance` into `tor-dircommon`Clara Engler2025-09-091-4/+3
| | | | | This commit moves the `DirTolerance` structure from `tor-dirmgr` into `tor-dircommon`.