summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | proto: Use CircuitCellSender in the backward reactorGabriela Moldovan2025-11-241-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The backward reactor needs this for handling padding (because it may need to e.g. put the chan sender in a blocked state). Note that `CircuitCellSender` has an underlying `SometimesUnboundedSink`, so from now on we must be very careful and avoid writing to the `chan_sender` if it's not ready (because otherwise we can end up buffering unboundedly). The next commit will add some extra checks against reading from futures::Streams that might cause us to write to the `chan_sender` sink (futures::Sink).
| * | | | proto: Return early if the cell is unrecognizedGabriela Moldovan2025-11-241-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rewriting the code this way reduces the indentation level for the "recognized cell" case (which is not yet implemented, but will be very soon), thereby making it more readable.
* | | | | Merge branch 'p2-item-rest-with' into 'main'Ian Jackson2025-12-023-10/+16
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | tor-netdoc: Rework ItemValueParseable, netdoc(rest, with) See merge request tpo/core/arti!3502
| * | | | | parse2: ItemValueParseable, netdoc(object, rest): docs: state signatureIan Jackson2025-12-021-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3502/diffs?commit_id=f9a6d90ec6d5abf2958534d2c100c84f325e3634#2525aaf11b44162850101813478c4734160e11fa_920_919
| * | | | | parse2: ItemValueParseable, netdoc(object, rest): docs: clarify errorsIan Jackson2025-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The error is not really discarded (which would seem to mean ignoring it). The erorr *value* is discarded and is replaced with a less informative error value.
| * | | | | parse2: ItemValueParseable, netdoc(object, rest): docs: fix typoIan Jackson2025-12-021-1/+1
| | | | | |
| * | | | | parse2: ItemValueParseable, netdoc(rest, with): reworkIan Jackson2025-12-023-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The path in `with` must always be a module, not a function, because we need to use it for encoding too. In the case of `rest`, it's probably sensible to require a different function name, given that the semantics are subtly different to those of `rest` without `with`, since the latter can only get a single word but with `rest` you get the whole line.
| * | | | | parse2: ItemValueParseable, netdoc(rest): docs: clarify behaviourIan Jackson2025-12-021-1/+1
| | | | | |
* | | | | | Added `staticlib` crate-type to arti-rpc-client-core which is needed for iOS.Benjamin Erhart2025-12-021-1/+1
|/ / / / /
* | | | | Merge branch 'rm-semver' into 'main'Alexander Hansen Færøy2025-12-027-22/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Remove semver.md files post-release See merge request tpo/core/arti!3520
| * | | | | Remove semver.md files post-releaseGabriela Moldovan2025-12-027-22/+0
| | |_|_|/ | |/| | |
* | | | | Merge branch 'cargo-updates' into 'main'Alexander Hansen Færøy2025-12-021-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | release: Bump metrics-exporter-prometheus See merge request tpo/core/arti!3521
| * | | | | Revert "release: Bump criterion to 0.8.0"Gabriela Moldovan2025-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See #2281 This reverts commit c00d381068cd8b88d6b12d8c7be8d4e1dafc828d.
| * | | | | release: Bump criterion to 0.8.0Gabriela Moldovan2025-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They've bumped their MSRV to 1.86 in this release, but that is okay, because we are also on 1.86. See the [criterion changelog] for more details. [criterion changelog]: https://github.com/criterion-rs/criterion.rs/blob/master/CHANGELOG.md#080---2025-11-29
| * | | | | release: Bump metrics-exporter-prometheus to 0.18.0Gabriela Moldovan2025-12-021-1/+1
| |/ / / / | | | | | | | | | | | | | | | Part of #2278
* | | | | Merge branch 'listen' into 'main'opara2025-12-024-114/+315
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | tor-config: Refactor `Listen` to make usable for arti-relay See merge request tpo/core/arti!3469
| * | | | tor-config: improve comments about adding functionalitySteven Engler2025-12-021-5/+7
| | | | |
| * | | | tor-config: add more comments to `ListenItem`Steven Engler2025-12-021-1/+10
| | | | |
| * | | | tor-config: rename `Listen::is_localhost_only` to `is_loopback_only`Steven Engler2025-12-024-4/+13
| | | | | | | | | | | | | | | | | | | | Assumes that 0.37.0 will be the next version number.
| * | | | tor-config: add new `CustomizableListen`Steven Engler2025-12-021-101/+193
| | | | |
| * | | | tor-config: fix some localhost vs loopback names/commentsSteven Engler2025-11-141-4/+5
| | | | |
| * | | | tor-config: made `InvalidListen` privateSteven Engler2025-11-142-1/+2
| | | | | | | | | | | | | | | | | | | | There was no reason for this to be public.
| * | | | tor-config: simplify a match statementSteven Engler2025-11-141-8/+4
| | | | | | | | | | | | | | | | | | | | This does a little extra cloning, but I think is easier to read.
| * | | | tor-config: add serde error messages to `ListenSerde` and `ListenItemSerde`Steven Engler2025-11-141-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For example the old message would look like: ```text target/debug/arti: error: read configuration: Config contents not as expected: Couldn't load configuration: data did not match any variant of untagged enum ListenSerde for key "default.proxy.socks_listen" in command line ``` The new message looks like: ```text target/debug/arti: error: read configuration: Config contents not as expected: Couldn't load configuration: value was not a bool, `u16` integer, string, or list of integers/strings for key "default.proxy.socks_listen" in command line ```
| * | | | tor-config: add more tests for `Listen`Steven Engler2025-11-141-0/+81
| | | | |
| * | | | tor-config: remove unneeded `Serialize`/`Deserialize`Steven Engler2025-11-131-2/+1
| | | | |
* | | | | Run maint/update-release-date.Gabriela Moldovan2025-12-021-1/+1
| | | | |
* | | | | Bump arti crate to 1.8.0Gabriela Moldovan2025-12-023-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done using: ``` cargo set-version --bump minor -p arti ```
* | | | | Bump all the unstable tor- and arti- crates to 0.37.0.Gabriela Moldovan2025-12-0252-486/+486
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done using: ``` for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.37.0 done
* | | | | Run cargo update for {hashx,equix}/benchGabriela Moldovan2025-12-022-73/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done using ``` (cd crates/hashx/bench && cargo update) (cd crates/equix/bench && cargo update) ```
* | | | | Bump the versions of the non-{arti-,tor-} cratesGabriela Moldovan2025-12-0225-27/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The non-{arti-,tor-} crates are: ``` ./maint/list_crates | rg -v '^(tor|arti)' oneshot-fused-workaround slotmap-careful test-temp-dir fslock-guard hashx equix caret fs-mistrust safelog retry-error futures-copy ``` We split them in the following categories: * crates with no changes (no version bumps): None ``` maint/changed_crates -v "arti-v$LAST_VERSION" 2>&1 >/dev/null | grep -i "no change" | grep -v '\(tor\|arti\)-' ``` * crates that only have non-functional changes (bump the patch version, but not the dependend-on version): - oneshot-fused-workaround - slotmap-careful - test-temp-dir - fslock-guard - equix - caret - safelog - retry-error * crates where functional changes were made, but no APIs were added or broken: - hashx - fs-mistrust - futures-copy * crates where APIs were broken (bump minor): None The bumps from this commit were created using this script: ``` PATCH_NF=( oneshot-fused-workaround slotmap-careful test-temp-dir fslock-guard equix caret safelog retry-error ) PATCH=" hashx fs-mistrust futures-copy " ./maint/bump_nodep "${PATCH_NF[@]}" for crate in $PATCH; do cargo set-version --bump patch -p $crate; done ```
* | | | | Merge branch 'fixup-feats' into 'main'Alexander Hansen Færøy2025-12-015-21/+57
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | Run fixup-features in preparation for release See merge request tpo/core/arti!3510
| * | | | futures-copy: Manually fix up the Cargo.tomlGabriela Moldovan2025-12-011-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | For some reason `cargo-sort` won't sort it on its own, so I've had to manually move these around to satisfy the check.
| * | | | dirserver: Run cargo-sort in preparation for releaseGabriela Moldovan2025-12-011-3/+8
| | | | |
| * | | | futures-copy: Run cargo-sort in preparation for releaseGabriela Moldovan2025-12-011-8/+8
| | | | |
| * | | | arti: Run cargo-sort in preparation for releaseGabriela Moldovan2025-12-011-18/+40
| | | | |
| * | | | Run fixup-features in preparation for releaseGabriela Moldovan2025-12-015-1/+10
| | | | |
* | | | | arti: Adjust a no-longer acccurate hss docGabriela Moldovan2025-12-011-1/+1
| | | | |
* | | | | arti: Add missing subcommand docsGabriela Moldovan2025-12-014-0/+6
| | | | |
* | | | | rpcserver: Add a temporary allow for missing docsGabriela Moldovan2025-12-011-0/+1
| | | | |
* | | | | dirmgr: Rewrite .is_some()/.unwrap() using let matchGabriela Moldovan2025-12-011-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On nightly, clippy now warns against this and recommends using a `match` instead. See https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap
* | | | | circmgr: Add missing docs for RestrictionFailedGabriela Moldovan2025-12-011-0/+1
| | | | |
* | | | | circmgr: allow unstable_name_collisions lint for exactly_one()Gabriela Moldovan2025-12-011-0/+4
| | | | | | | | | | | | | | | | | | | | This silences a new nightly warning.
* | | | | netdoc: Add missing docs for encode_pow_params()Gabriela Moldovan2025-12-011-0/+1
| | | | |
* | | | | proto: Add docs for ExcessPaddingGabriela Moldovan2025-12-011-0/+1
| | | | |
* | | | | netdoc: allow unstable_name_collisions lint for exactly_one()Gabriela Moldovan2025-12-011-0/+5
| | | | | | | | | | | | | | | | | | | | This silences a new warning on nightly.
* | | | | proto: Allow unstable_name_collisions in several placesGabriela Moldovan2025-12-012-0/+10
| | | | |
* | | | | proto: Remove extra slashes in doc commentsGabriela Moldovan2025-12-011-2/+2
| | | | |
* | | | | cell: Add missing docs to internal macroGabriela Moldovan2025-12-011-0/+2
| | | | |
* | | | | linkspec: allow unstable_name_collisions lint for exactly_one()Gabriela Moldovan2025-12-011-0/+5
| | | | | | | | | | | | | | | | | | | | This silences a new warning on nightly.