aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | arti-client: update release dateSteven Engler2026-08-031-1/+1
| | | | |
* | | | | Upgraded dependencies for equix benchSteven Engler2026-08-031-80/+98
| | | | |
* | | | | Upgraded dependencies for hashx benchSteven Engler2026-08-031-79/+97
| | | | |
* | | | | Update Cargo.lock filesSteven Engler2026-08-032-3/+3
| | | | |
* | | | | Bump versions for crates with non-functional changesSteven Engler2026-08-0311-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ```bash bump=(caret equix fs-mistrust fslock-guard futures-copy oneshot-fused-workaround retry-error safelog slotmap-careful test-temp-dir web-time-compat) ./maint/bump-nodep "${bump[@]}" ```
* | | | | Bump patch version for hashx crateSteven Engler2026-08-032-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ```bash cargo set-version --bump patch -p hashx ```
* | | | | Bump version for arti crateSteven Engler2026-08-033-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ```bash cargo set-version --bump patch -p arti ```
* | | | | Bump versions for tor-* and arti-* cratesSteven Engler2026-08-0357-542/+542
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | ```bash readarray -t bump < <(maint/list-crates | grep -P '^tor-|^arti-') for crate in "${bump[@]}"; do cargo set-version --bump minor -p "${crate}"; done ```
* | | | proto: Update semver with the changes to the loggingDavid Goulet2026-08-031-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]>
* | | | proto: Move comment to the right placeDavid Goulet2026-08-031-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]>
* | | | proto: Add {backward|forward} prefix to circ_id in logsDavid Goulet2026-08-0311-35/+35
| | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]>
* | | | proto: Rename uniq_id to circ_unique_id mostly in loggingDavid Goulet2026-08-0314-55/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have decided that instead of "uniq_id" in logging, we'll use the "<domaine>-[<type>]-id" syntax to indicate who is that unique ID. This commit only renames circuit's unique ID to "circ_uniq_id". Signed-off-by: David Goulet <[email protected]>
* | | | proto: Log both UniqId and CircId when possibleDavid Goulet2026-08-0315-65/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit only affects logging. Whenever possible, log both the UniqId and CircId. This also changes the log lines which is now "uniq_id=" and "circ_id=" as the UniqId is internal and circ_id (CircId) is protocol level. Signed-off-by: David Goulet <[email protected]>
* | | | proto: Rename CircId and UniqId variable nameDavid Goulet2026-08-038-26/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A CircId is now a circ_id and a UniqId is a unique_id so we stop confusing them in the code. Furthermore, channel_id that are CircId are now circ_id. Channel IDs are different and encoded internally into a UniqId. This is the first step to clarify semantic before we change the logging to log both unique ID and circ ID. No behavior change. Signed-off-by: David Goulet <[email protected]>
* | | | maint: ran 'cargo sort' in arti-dirauth and tor-dirauthSteven Engler2026-08-032-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm not actually sure what I did here. I was getting a lot of confusing results from 'cargo sort' and 'maint/cargo-sort', so I ran a bunch of commands until 'maint/cargo-sort' was okay. ('maint/cargo-sort' still shows some errors, but not in arti-dirauth anymore.) But as long as the 'maint/cargo-sort' in CI is okay with the changes, then I think it's fine.
* | | | maint: ran fixup-featuresSteven Engler2026-08-033-2/+4
| | | |
* | | | maint: ran 'cd crates/equix/bench && cargo update -p proc-macro-error3'Steven Engler2026-08-031-13/+23
| | | |
* | | | maint: ran 'cd crates/hashx/bench && cargo update -p proc-macro-error3'Steven Engler2026-08-031-12/+22
|/ / /
* | | Merge branch 'writer-handle' into 'main'Ian Jackson2026-08-031-23/+120
|\ \ \ | | | | | | | | | | | | | | | | arti-dirauth: FilenameOrStdio: Allow incremental writing See merge request tpo/core/arti!4253
| * | | arti-dirauth: Expand on a doc commentIan Jackson2026-08-031-0/+1
| | | |
| * | | arti-dirauth: Fix doc comment typoIan Jackson2026-08-031-1/+1
| | | |
| * | | tor-dirauth: FilenameOrStdio: Remove a now-unused mutIan Jackson2026-07-301-2/+1
| | | |
| * | | tor-dirauth: FilenameOrStdio: Allow incremental writingIan Jackson2026-07-301-11/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The calling convention for compute-mds will be easiest to implement if we can write to the two output files in parallel. So provide `start_writing` giving a `Writing`. Unfortuantely this commit has quite a bit of reorganisation which is difficult to make into something easily reviewable.
| * | | tor-dirauth: FilenameOrStdio: Allow incremental writing (pre-fmt)Ian Jackson2026-07-301-1/+2
| | | | | | | | | | | | | | | | This makes the next commit infinitesimally less confusing.
| * | | arti-dirauth: FilenameOrStdio: Break out convert_errorIan Jackson2026-07-301-2/+6
| | | |
| * | | arti-dirauth: FilenameOrStdio: Rename p to mainIan Jackson2026-07-301-3/+3
| | | | | | | | | | | | | | | | | | | | This is a better name, and will suit us better when we reorganise this code to allow incremental writing.
| * | | arti-dirauth: FilenameOrStdio: promote comment about .tmp cleanupIan Jackson2026-07-301-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | Make this a doc comment. We're going to add an entrypoint that makes this more likely.
* | | | Merge branch 'cc-rate-fix' into 'main'Ian Jackson2026-08-031-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | tor-cell: Add missing semver.md entries See merge request tpo/core/arti!4257
| * | | | tor-cell: add missing semver.md entriesSteven Engler2026-07-301-0/+2
| | | | | | | | | | | | | | | | | | | | I forgot to add these during a previous MR.
* | | | | Merge branch 'test-support-more' into 'main'Clara Engler2026-08-035-71/+74
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | tor-netdoc: testing: Expose some more test utilities See merge request tpo/core/arti!4250
| * | | | tor-netdoc: testing: Expose regsubIan Jackson2026-07-304-10/+16
| | | | | | | | | | | | | | | | | | | | Involves code motion. Review with --color-moved.
| * | | | tor-netdoc: testing: Expose assert_eq_or_diff (fmt)Ian Jackson2026-07-301-7/+1
| | | | | | | | | | | | | | | | | | | | I don't understand why this suddenly, but whatever.
| * | | | tor-netdoc: testing: Expose assert_eq_or_diffIan Jackson2026-07-304-61/+65
| | | | | | | | | | | | | | | | | | | | Involves lots of code motion. Review with --color-moved.
| * | | | tor-netdoc: testing: Remove a spurious cfgIan Jackson2026-07-301-1/+0
| | | | | | | | | | | | | | | | | | | | This whole module is gated by the very same condition.
| * | | | tor-netdoc: testing: Actually expose the test_support moduleIan Jackson2026-07-301-1/+1
| |/ / / | | | | | | | | | | | | I discovered this didn't work, when I tried to use it.
* | | | tor-proto: fix XON conversion from KB/s to B/sSteven Engler2026-07-301-4/+4
| | | | | | | | | | | | | | | | | | | | We previously interpreted the rate in the XON message as being Kbits per second, but it's really Kbytes per second.
* | | | tor-cell: update docs and variable names for `Xon`Steven Engler2026-07-303-13/+16
| | | |
* | | | tor-cell: update docs and variable names for `XonKBpsEwma`Steven Engler2026-07-301-9/+9
| | | |
* | | | tor-cell: rename `XonKbpsEwma` to `XonKBpsEwma`Steven Engler2026-07-3013-44/+44
| |/ / |/| |
* | | Merge branch 'mock-net' into 'main'David Goulet2026-07-302-31/+69
|\ \ \ | | | | | | | | | | | | | | | | tor-proto: Small improvements to circuit handshake tests See merge request tpo/core/arti!4254
| * | | tor-proto: reuse existing channels in ntor testSteven Engler2026-07-301-8/+5
| | | | | | | | | | | | | | | | | | | | Now that we read all of the cells from the connection inspector, we can reuse the existing channel objects.
| * | | tor-proto: extend circ handshake tests to close the circuitSteven Engler2026-07-302-2/+38
| | | |
| * | | tor-proto: rename some methods on test `ConnInspector`Steven Engler2026-07-302-10/+10
| | | |
| * | | tor-proto: reword some TODOsSteven Engler2026-07-301-2/+2
| | | | | | | | | | | | | | | | These TODOs are for client issues, not relay isues.
| * | | tor-proto: don't drop stream rx in testsSteven Engler2026-07-302-10/+15
| | | | | | | | | | | | | | | | Otherwise the new circuit gets closed immediately by the relay.
* | | | Merge branch 'create-fast' into 'main'opara2026-07-305-37/+160
|\ \ \ \ | |/ / / |/| | | | | | | | | | | tor-protover,tor-proto: Add and use a new `subprotocol_restricted_set` macro See merge request tpo/core/arti!4241
| * | | tor-protover: set field visibility in `subprotocol_restricted_set`Steven Engler2026-07-301-5/+5
| | | |
| * | | tor-proto: use `subprotocol_restricted_set` macroSteven Engler2026-07-303-37/+19
| | | |
| * | | tor-protover: add a `subprotocol_restricted_set` macroSteven Engler2026-07-302-0/+135
| | | |
| * | | tor-protover: add `From<NamedSubver> for Protocols`Steven Engler2026-07-271-0/+6
| | | |