summaryrefslogtreecommitdiff
path: root/maint
Commit message (Collapse)AuthorAgeFilesLines
* Bump all the unstable tor- and arti- crates to 0.40.0.Gabriela Moldovan2026-03-022-6/+6
| | | | | | | | | Done using: ``` for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.40.0 done
* Bump the versions of the non-{arti-,tor-} cratesGabriela Moldovan2026-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ``` Because this release bumps the MSRV, I am bumping the minor version of all of them. MINOR=" oneshot-fused-workaround slotmap-careful test-temp-dir fslock-guard hashx equix caret fs-mistrust safelog retry-error futures-copy " for crate in $MINOR; do cargo set-version --bump minor -p $crate; done ```
* Allow clippy::collapsible_if to triggerGabriela Moldovan2026-02-162-0/+2
| | | | | | | | | `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.
* Bump MSRV from 1.86 to 1.89Gabriela Moldovan2026-02-164-4/+4
| | | | | | | As agreed at our last team meeting. See https://gitlab.torproject.org/tpo/core/arti/#minimum-supported-rust-version
* Bump time to 0.3.47Gabriela Moldovan2026-02-161-7/+0
| | | | | | This enables us to un-ignore RUSTSEC-2026-0009. See #2341 for analysis of impact.
* Merge branch 'bump-min-async-io' into 'main'David Goulet2026-02-091-0/+8
|\ | | | | | | | | | | | | downgrade-dependencies: require async-io 1.1.5. Closes #1168 See merge request tpo/core/arti!3660
| * downgrade-dependencies: require async-io 1.1.5.Nick Mathewson2026-02-091-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In my testing, this appears to fix #1168, an intermittent test failure. The underlying cause of the failure appears to be a surprise blocking return old async-io versions: > The problem was in that random yielding inside > AsyncRead/AsyncWrite (which is supposed to prevent task starvation > when I/O never returns the WouldBlock error) doesn't play nice > with the TLS protocol. It seems that TLS handshake fails if a > write errors with WouldBlock. -- https://github.com/smol-rs/async-io/issues/31 I think the problem here might actually be something more subtle than _that_, since WouldBlock on an underlying write is totally legit. But this appears to fix the testing issue at least.
* | Merge branch 'cargo-metadata-all-features' into 'main'Nick Mathewson2026-02-091-0/+38
|\ \ | | | | | | | | | | | | | | | | | | Set package.metadata.docs.rs.all-features to true for all crates Closes #2307 See merge request tpo/core/arti!3656
| * | ci: Check crates configure features published to docs.rsNiel Duysters2026-02-091-0/+38
| |/ | | | | | | | | | | All (publishable) crates should explicitly configure what features to (not) document in docs.rs. This to avoid our documentation containing references to public API specifications which yield "given resource not found" due to them being behind a feature flag not being published to docs.rs by default.
* / maint/cargo-audit: Ignore RUSTSEC-2026-0009 for nowGabriela Moldovan2026-02-091-0/+7
|/ | | | | See https://gitlab.torproject.org/tpo/core/arti/-/issues/2341#note_3339657
* release: Bump `arti-*` and `tor-*` crates to 0.39.0Wesley Aptekar-Cassels2026-02-022-6/+6
| | | | | | | | | | Done via: ``` for crate in $(./maint/list-crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.39.0 done ```
* Merge branch 'main' into 'main'gabi-2502026-02-021-2/+1
|\ | | | | | | | | fix(minver): Update paste dependency to be minver compatible See merge request tpo/core/arti!3610
| * Remove paste from downgrade-dependenciessjcobb2026-02-021-2/+1
| |
* | Add integration test suite for `hsc ctor-migrate` subcommandhjrgrn2026-02-025-0/+180
| |
* | maint/add_warning: Run script to add new warningGabriela Moldovan2026-01-271-0/+1
| | | | | | | | This adds the lint to all our crates.
* | maint/add_warning: Deny clippy::unused_asyncGabriela Moldovan2026-01-271-0/+1
|/ | | | Part of #2328
* Bump blackJim Newsome2026-01-216-29/+15
|
* Rename check-api-surface CI job and associated scriptIan Jackson2026-01-201-0/+0
| | | | | | | Change the script name to use hyphens, not underscores. Make the script name and the CI job name the same, except the script has -arti at the end in case we add more similar checks.
* maint/rust-maint-common/forbid-script-underscores: Look at gitIan Jackson2026-01-201-1/+4
| | | | This avoids tripping over things like `__pycache__`
* Rename maint/list_crates to kebab-caseIan Jackson2026-01-2010-88/+88
| | | | | | | | | | Swap the symlink direction: now we have list_crates.py (the python module) with a symlink list-crates pointing to it. This allows the module to be imported but the command to be kebab case. The checking tooling doesn't understand this special arrangement. Lots of references to update!
* maint/rust-maint-common/forbid-script-extensions: Support exceptionsIan Jackson2026-01-201-2/+14
|
* Rename CI functions file to kebab-caseIan Jackson2026-01-201-0/+0
|
* Rename config file to kebab-caseIan Jackson2026-01-202-2/+2
|
* Remove maint/shellcheck_all compatibility linkIan Jackson2026-01-201-1/+0
| | | | | We're using maint/common/shellcheck-all now. The docs were inconsistent.
* maint: Rename reproducible build scripts to kebab caseIan Jackson2026-01-203-1/+1
| | | | We had both maint/docker-... and maint/docker_...
* maint: Rename miscellaneous scripts to kebab caseIan Jackson2026-01-2010-11/+11
|
* maint/rust-maint-common/forbid-script-underscores: Support exceptionsIan Jackson2026-01-201-2/+25
|
* Rename remaining maint/check_ to maint/check-Ian Jackson2026-01-207-0/+0
|
* CI: Rename script and job to check-blocking-todosIan Jackson2026-01-201-0/+0
|
* Rename maint/check_tree to maint/check-cargo-treeIan Jackson2026-01-201-0/+0
|
* Rename maint/check_wildcard to check-wildcard-depsIan Jackson2026-01-201-0/+0
| | | | | Use kebab case, and also add the word deps. Otherwise it might refer to files or something.
* Rename cargo_audit and cargo_sort scripts to kebab-caseIan Jackson2026-01-202-0/+0
|
* maint: Rename script and job to cargo-check-targetsIan Jackson2026-01-201-0/+0
| | | | | | The job was called `check-targets` and the script was called `cargo_check_target`. Make them match. Use kebab case, and the plural (it checks multiple targets).
* Merge branch 'thanks' into 'main'Nick Mathewson2026-01-162-6/+6
|\ | | | | | | | | | | | | maint: Use 'C.UTF-8' locale for sorting `exclude_contributors.txt` Closes #2313 See merge request tpo/core/arti!3588
| * maint: add comment in `exclude_contributors.txt`Steven Engler2026-01-131-1/+2
| |
| * maint: use 'C.UTF-8' locale for sorting excl contrib fileSteven Engler2026-01-132-5/+4
| |
* | Merge branch 'opaque_arti_2.0' into 'main'Nick Mathewson2026-01-151-0/+43
|\ \ | | | | | | | | | | | | | | | | | | Make all non-main APIs in arti experimental. Closes #2284, #2299, and #419 See merge request tpo/core/arti!3586
| * | Make arti crate opaque by defaultNick Mathewson2026-01-131-40/+0
| | | | | | | | | | | | | | | | | | Only fn main() is now pub when experimental-api is disabled. Closes #2284.
| * | Add a script to test the APIs in the arti against a list.Nick Mathewson2026-01-131-0/+83
| |/ | | | | | | | | We'll use this to enforce the opacity of the arti crate, once it is more opaque.
* / cargo: Upgrade dependencies potentially breakingClara Engler2026-01-141-1/+1
|/
* cargo: Update `arti-*` and `tor-*` to `0.38.0`Clara Engler2026-01-121-3/+3
| | | | | | | | | Done using the following: ```bash for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.38.0 done ```
* maint: Ignore RUSTSEC-2025-0141Clara Engler2026-01-121-0/+10
| | | | | | | | | | | | | | | | | | | | Bincode is unmaintained. Right now, we do not depend on it directly, but rather transitively through maybenot (with tor-proto) and typed-index-collections (with tor-netdoc). This has been reported upstream in the respective crates: * <https://github.com/zheland/typed-index-collections/issues/10> * <https://github.com/maybenot-io/maybenot/issues/40> It is pretty unfortunate, but there is not much we can do at the current moment, given that it is an external matter and we need it for the next arti release; also, as far as I am aware, there are no known security vulnerabilities in the current version of bincode. Therefore, this commit adds it to the list of exception. Fixes #2311 See #2312
* check_licenses: Adjust comment on priority-queue exceptionGabriela Moldovan2025-12-091-4/+3
| | | | | | | | | | | | | Technically `priority-queue` belongs in the `MPL_20_OK` list, but our current checks are too rudimentary to be able to handle the `OR` (we *do* split on `OR` for one of the checks, but we only compare the resulting licenses against `RECOGNIZED_LICENSES`, not `MPL_20_OK`). So for now, let's retain the exception for `priority-queue`. (We could expand the logic in the branch handling the `OR'`d licenses to fix this issue, but the result would be quite fragile; and besides, I think we're going to eventually want to replace this with a proper license parser).
* check_licenses: Update comment about priority-queueGabriela Moldovan2025-12-091-2/+0
| | | | | | | | | | | They have in fact added the MPL "Exhibit A" text to every file in the crate. The license is still LGPL-3.0-or-later OR MPL-2.0, so the rest of the comment still applies. See https://github.com/garro95/priority-queue/pull/54/commits/e2f90b0811c252f80165bbdb19233464289e428f
* maint: rework 'extract-md-links' interpositionSteven Engler2025-12-081-52/+86
| | | | Do less parsing, and instead interpose the mistune internals.
* maint: add comment to 'extract-md-links' re manual parsingSteven Engler2025-12-081-0/+9
|
* maint: add a self-test to 'extract-md-links'Steven Engler2025-12-081-0/+39
|
* maint: fix 'extract-md-links' to work with mistune 3.1.3Steven Engler2025-12-081-6/+45
|
* maint: fix accidental globals in 'extract-md-links'Steven Engler2025-12-081-2/+6
|
* maint: fix method names for 'extract-md-links' parsersSteven Engler2025-12-081-4/+4
| | | | | `InlineParser::parse_link` isn't publicly documented, so may be subject to more breakage.