summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | tor-netdoc: parse2: Improve error message when using with=Ian Jackson2025-11-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can result in "trait not implemented" errors here. Use the `${paste_spanned}` trick.
| * | | | | | tor-netdoc: parse2 derive: deduplicate completionIan Jackson2025-11-101-35/+33
| | | | | | |
| * | | | | | tor-netdoc: parse2 derive: deduplicate item accumulationIan Jackson2025-11-101-31/+35
| | | | | | |
| * | | | | | tor-netdoc: parse2 derive: deduplicate item accumulation (prep)Ian Jackson2025-11-101-43/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move what is now IF_NONSTRUCTURAL_ACCUMULATE into the common module. It's not yet suitable for reuse. The docs for ACCUMULATE_ITEM_VALUE are still wrong. We'll fix that in a moment.
| * | | | | | tor-netdoc: parse2 derive: Provide dtrace in NetdocParseableFieldsIan Jackson2025-11-101-12/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was previously only not done because of the need to c&p. Also, we're going to be expanding some common macros that will use it.
| * | | | | | tor-netdoc: parse2 derive: Get rid of $ITEM workaroundIan Jackson2025-11-101-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The hygiene is fixed in derive-deftly 1.5.x.
* | | | | | | Merge branch 'netdoc-encode' into 'main'gabi-2502025-11-118-13/+18
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | tor-netdoc: Rename the `build` module to `encode` See merge request tpo/core/arti!3456
| * | | | | | Apply deferred rustfmt churnIan Jackson2025-11-103-4/+4
| | | | | | |
| * | | | | | tor-netdoc: Introduce "encode" feature for the like-named moduleIan Jackson2025-11-104-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're going to introduce facilities for encoding more generally, and we'll want a way to enable them. Instead, have a separate feature for *encoding* documents.
| * | | | | | tor-netdoc: Rename the `build` module to `encode`Ian Jackson2025-11-105-8/+8
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | The word "build" so often in Rust means builder pattern. This module contains functions for encoding.
* | | | | | 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.
* | | | | | Merge branch 'p2-dedup-1' into 'main'Ian Jackson2025-11-102-136/+146
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-netdoc: parse2 derive: Some deduplication See merge request tpo/core/arti!3450
| * | | | | | tor-netdoc: Fix typoIan Jackson2025-11-101-1/+1
| | | | | | |
| * | | | | | tor-netdoc: parse2 derive: deduplicate item parsingIan Jackson2025-11-061-24/+23
| | | | | | |
| * | | | | | tor-netdoc: parse2 derive: deduplicate item set selectorsIan Jackson2025-11-061-47/+62
| | | | | | |
| * | | | | | tor-netdoc: parse2 derive: deduplicate F_EFFECTIVE_TYPEIan Jackson2025-11-061-24/+13
| | | | | | |
| * | | | | | tor-netdoc: parse2 derive: deduplication: field types and keywordsIan Jackson2025-11-061-36/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Have the module expect the use site to determine (mostly) the field kind. Document this expectation. Now NetdocParseableCommon can have the keyword-related definitions.
| * | | | | | tor-netdoc: parse2 derive: deduplication: start a moduleIan Jackson2025-11-062-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Put one textually-identical define in it, to start with.
* | | | | | | Merge branch '2249-todo' into 'main'Ian Jackson2025-11-101-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | arti-client: Add TODO for #2249. See merge request tpo/core/arti!3453
| * | | | | | | arti-client: Add TODO for #2249.Wesley Aptekar-Cassels2025-11-101-0/+1
| | | | | | | |
* | | | | | | | Merge branch 'bug1588' into 'main'Ian Jackson2025-11-103-39/+39
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rpclib: Rename `OutPtr` to `OutBoxedPtr` Closes #1588 See merge request tpo/core/arti!3439
| * | | | | | | rpclib: Rename `OutPtr` to `OutBoxedPtr`Neel Chauhan2025-11-063-39/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #1588.
* | | | | | | | Merge branch 'in_current_span' into 'main'wesleyac2025-11-101-2/+4
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rtcompat: Spawn every future in_current_span. See merge request tpo/core/arti!3445
| * | | | | | | | rtcompat: Spawn every future in_current_span.Nick Mathewson2025-11-051-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we need to override this in the future, we can provide a new method that takes a Span as an argument.
* | | | | | | | | Merge branch 'reduce-channel-frame-high-water-mark' into 'main'Nick Mathewson2025-11-101-1/+3
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-proto: Reduce `high_water_mark` of ChannelFrame See merge request tpo/core/arti!3447
| * | | | | | | | | tor-proto: Reduce `high_water_mark` of ChannelFramenield2025-11-061-1/+3
| | |_|_|_|/ / / / | |/| | | | | | |
* | | | | | | | | Merge branch 'relay-circ' into 'main'David Goulet2025-11-103-16/+24
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | proto: Rename RelayReatorHandle to RelayCirc, make it pub See merge request tpo/core/arti!3410
| * | | | | | | | | proto: Remove doc ref to private itemGabriela Moldovan2025-10-291-1/+1
| | | | | | | | | |
| * | | | | | | | | proto: Add RelayCirc API for checking if circuit is closedGabriela Moldovan2025-10-291-0/+7
| | | | | | | | | |
| * | | | | | | | | proto: Remove redundant channel from RelayCircGabriela Moldovan2025-10-292-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't really need this channel here, because we already have control and command channels for checking if the reactor task is still alive.
| * | | | | | | | | proto: Make RelayCirc publicGabriela Moldovan2025-10-292-2/+2
| | | | | | | | | |
| * | | | | | | | | proto: Rename RelayReatorHandle to RelayCircGabriela Moldovan2025-10-292-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While this is technically a "reactor handle", I think RelayCirc sounds better, because this is essentially our only public API for interacting with a relay circuit (it will be used outside of tor-proto). (This would also be consistent with our existing ClientCirc client-side terminology).
| * | | | | | | | | proto: Move RelayReactorHandle to relay moduleGabriela Moldovan2025-10-292-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will soon become `pub`, so I am factoring it out of `reactor.rs`.
| * | | | | | | | | proto: Update RelayReactorHandle docsGabriela Moldovan2025-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BackwardReactor is an implementation detail, so it shouldn't really be mentioned in the soon-to-be-public-facing docs. And besides, the control messages are no longer handled by the BackwardReactor.
* | | | | | | | | | Merge branch 'deftly-1.5' into 'main'Alexander Hansen Færøy2025-11-1026-27/+27
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump derive-deftly to 1.5.0 See merge request tpo/core/arti!3451
| * | | | | | | | | | Bump derive-deftly to 1.5.0Ian Jackson2025-11-0726-27/+27
| | |_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has the meta attributes with optional values feature and also hygiene rework for modules. The breaking changes don't break arti.
* | | | | | | | | | Merge branch 'cell-sender' into 'main'Alexander Hansen Færøy2025-11-103-10/+10
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | proto: Move cell_sender out of the client module See merge request tpo/core/arti!3407
| * | | | | | | | | proto: Move cell_sender out of the client moduleGabriela Moldovan2025-10-283-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Soon we'll use CircuitCellSender in the relay reactor too (we need to, because it provides a useful abstraction for handling block/unblock padding actions, and because it has some handy helper functions such as `congestion_signals()`).
| * | | | | | | | | proto: Make everything in CircuitCellSender pub(crate)Gabriela Moldovan2025-10-281-8/+8
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is in preparation for moving `CircuitCellSender` out of the client module (it makes the next commit easier to review, because `cell_sender.rs` will be moved without any modifications).
* | | | | | | | | arti: better error when tokio-console in cfg but feature is absent.Nick Mathewson2025-11-061-3/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the pattern we used elsewhere with the "rpc" option. IMO, this kind of thing is another argument in favor if arti#1704 (redoing config types using derive-deftly.)
* | | | | | | | | arti: Experimental support for tokio-consoleNick Mathewson2025-11-065-0/+64
| |_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is controlled by a new option, `logging.tokio_console.enabled`. It requires building with `--cfg tokio_unstable`. See documentation and comments for more information.
* | | | | | | | Merge branch 'deftly-1.4' into 'main'opara2025-11-0626-27/+27
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump derive-deftly to 1.4.0 See merge request tpo/core/arti!3448
| * | | | | | | | Bump derive-deftly to 1.4.0Ian Jackson2025-11-0626-27/+27
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will let us use the new modules feature. There are no breaking changes to beta features in 1.4.0.
* | | | | | | | Fix name of clippy lint to unchecked_time_subtraction (2)Ian Jackson2025-11-06358-388/+388
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Run maint/add_warning
* | | | | | | | Conditionalise a test-only `use`Ian Jackson2025-11-061-1/+4
| | | | | | | |
* | | | | | | | Use a while let loop (to placate clippy)Ian Jackson2025-11-061-2/+1
| | | | | | | |