aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | 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.
* | | | | | rpc-client-core: Add missing CookieBeginReply docsGabriela Moldovan2025-12-011-0/+1
| | | | | |
* | | | | | rpc-connect: Remove extra slash in doc commentGabriela Moldovan2025-12-011-1/+1
| | | | | |
* | | | | | rpc-connect: Allow missing_docs_in_private_itemsGabriela Moldovan2025-12-011-0/+1
|/ / / / / | | | | | | | | | | | | | | | This silences a nightly warning.
* | | | | 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
| | | | | |
* | | | | | parse2: Move naming convention to pocClara Engler2025-11-272-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit moves the "Naming Convention" of the parse2::poc module into the respective module, as it does not apply to parse2 itself, as outlined in arti!3462. With this commit, there remains `NdaSystemTimeDeprecatedSyntax` as the only type outside poc following this naming schema. However, because it is more or less already deprecated anyways, there is no real need to bother with it any further.
* | | | | | Merge branch 'dirserver-timestamp' into 'main'Clara Engler2025-11-272-64/+99
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-dirserver: Improve database::Timestamp See merge request tpo/core/arti!3501
| * | | | | | tor-dirserver: Improve database::TimestampClara Engler2025-11-272-64/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit improves upon the work made in arti!3460, by establishing the `database::Timestamp` type as a general purpose type for the handling of timestamp throughout the code base. It also replaces all previous occurrences of `SystemTime` within `dirmirror::operation`, which leads to the reduction of code complexity in one particular function, namely `calculate_sync_timeout`.
* | | | | | | tor-hsservice: make `build_unvalidated()` privateSteven Engler2025-11-262-1/+2
| | | | | | |
* | | | | | | Merge branch 'vanguard-config' into 'main'gabi-2502025-11-264-20/+64
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-circmgr: Remove feature-gating from `CircMgrConfig::vanguard_config()` Closes #2270 See merge request tpo/core/arti!3498
| * | | | | | | tor-circmgr: simplify `CircMgrConfig`Steven Engler2025-11-263-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-263-9/+51
| | | | | | | |
| * | | | | | | arti-client: document the 'vanguards' feature in the READMESteven Engler2025-11-261-0/+3
| | | | | | | |
* | | | | | | | Merge branch 'rename-write-onto' into 'main'Ian Jackson2025-11-263-14/+14
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | tor-netdoc: Rename ItemArgument method to avoid clash with tor_bytes See merge request tpo/core/arti!3499
| * | | | | | | tor-netdoc: Rename ItemArgument method to write_arg_ontoIan Jackson2025-11-262-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor_bytes also has a write_onto method. And types (especially utility types like `Ignored`) might conceivably implement both! No need for semver update since this was pub(crate) in the previous release.
| * | | | | | | tor-netdoc: Minor wording fix in a docIan Jackson2025-11-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is in the ItemValueParseable derive, so the individual fields are Arguments, not Items.
| * | | | | | | tor-netdoc: Minor grammar fix in a docIan Jackson2025-11-261-1/+1
| |/ / / / / /
* | | | | | | Merge branch 'saturating-st' into 'main'Clara Engler2025-11-263-243/+95
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | tor-dirserver: Use `saturating-time` See merge request tpo/core/arti!3460
| * | | | | | tor-dirserver: Fix clippy warning for timeClara Engler2025-11-261-0/+4
| | | | | | |
| * | | | | | tor-dirserver: Use `saturating-time`Clara Engler2025-11-263-243/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit replaces the custom implementation of `SaturatingSystemTime` with the `saturating-time` crate, additionally adding a new type to the `database` module called `Timestamp`, in order to have a convenient wrapper around `ToSql` and `FromSql`.
* | | | | | | Merge branch 'ticket_2259' into 'main'Nick Mathewson2025-11-251-1/+26
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | arti: Put supported request headers in Tor-Capabilties Closes #2259 See merge request tpo/core/arti!3473
| * | | | | | | arti: Put supported request headers in Tor-CapabiltiesNick Mathewson2025-11-181-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is for spec conformance; it is a missing piece of prop365. Closes #2259.
* | | | | | | | Merge branch 'mistrust-and-the-empty-string' into 'main'Nick Mathewson2025-11-255-11/+41
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix some errors in and around making directories for logfiles. Closes #2240, #2265, and #2266 See merge request tpo/core/arti!3491
| * | | | | | | | arti: Make logging parent check work with our MSRV.Nick Mathewson2025-11-251-1/+1
| | | | | | | | |
| * | | | | | | | arti: use anyhow::Context on a make_directory failure.Nick Mathewson2025-11-241-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will improve the error message for problems similar to arti#2240, if they recur.
| * | | | | | | | arti: Allow a logfile with no directory prefix.Nick Mathewson2025-11-241-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should fix the main part of arti#2240. This is an instance of arti#2267 ("Path::parent has funny behavior")
| * | | | | | | | fs-mistrust: Quote filenames in error messages.Nick Mathewson2025-11-241-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will help a lot when people try to create files with names like `""` and `" "` and `"foo "` and `"foo! Unless"`. It won't help as much with files that have names like `"filename\". To solve this problem, run install-trojan-now ; \""`. Fortunately, we don't let adversaries choose filenames. Closes #2266.
| * | | | | | | | fs-mistrust: Treat "" as a NotFound Path.Nick Mathewson2025-11-243-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes fs-mistrust consistent with stat() and mkdir() and friends, which consider "" to be an invalid path. Previously, "" was accepted whenever mistrust was enabled, but rejected whenever mistrust was disabled. Closes #2265.