| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| |
| |
| |
| | |
Removed unnecessary lint
Closes #2556
See merge request tpo/core/arti!4210
|
| | | |
|
| | |
| |
| |
| | |
Removed unnecessary lint
|
| | | |
|
| |/ |
|
| |
|
|
|
|
| |
Additionally, fix itertools usage in maybenot_padding.rs
The definition of `Position` changed in 0.15.0.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit bumps the MSRV to 1.91 which was released on 2025-10-30.
The Cargo.toml files were updated as follows:
```sh
git ls-files | \
grep ".*Cargo\.toml$" | \
xargs sed -i '' 's/^rust-version = "1\.89"$/rust-version = "1\.91"/g'
```
The following files were updated manually:
```
modified: .gitlab-ci.yml
modified: README.md
modified: flake.nix
modified: maint/docker-android/Dockerfile
```
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This commit executes maint/add_warning with the just added change to
deny string slices except in tests.
I recommend auditing this by checking out the previous commit followed
by running the script yourself and then verifying that the diff is
identical to this commit.
This commit makes cargo clippy fail. We will add exceptions in the next
commit.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
`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.
|
| |
|
|
|
|
|
| |
As agreed at our last team meeting.
See
https://gitlab.torproject.org/tpo/core/arti/#minimum-supported-rust-version
|
| |
|
|
| |
This adds the lint to all our crates.
|
| | |
|
| |
|
|
| |
Run maint/add_warning
|
| | |
|
| |
|
|
|
|
| |
If we can't figure out the modal indentation, use " ".
Closes #1719.
|
| |
|
|
| |
Closes #2107
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
First, run
```
git grep -l "^edition =" |
xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;'
```
Second, manually verify that all Cargo.toml files have changed,
and nothing else has changed.
Third, run cargo fmt again.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Run cargo fix --edition
2. Selectively revert the "if let"->"match" changes.
These changes are meant to protect us from the lifetime changes
for "if let" bindings in Rust 2024.
But we're not actually relying on the old lifetime rules
anywhere, and the match syntax here is quite ugly.
3. Automatically revert `$pat:expr_2021` to `$pat:expr`.
(We don't actually want to restrict the expression syntax
that our macros accept).
Done with
`git grep -l expr_2021 | xargs perl -i -pe 's/expr_2021/expr/g;'`
4. Run cargo fmt.
|
| | |
|
| |
|
|
| |
See #2060.
|
| |
|
|
| |
Nightly clippy now suggests this.
|
| | |
|
| |
|
|
|
|
| |
Denies 'mod.rs' files for consistency.
https://rust-lang.github.io/rust-clippy/master/index.html#mod_module_files
|
| | |
|
| |\
| |
| |
| |
| |
| |
| | |
maint: Add exclusion feature to `fixup-features`
Closes #1766
See merge request tpo/core/arti!2652
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This commit adds an `--exclude <PREFIX>` argument to the
`fixup-features` tool in order to ignore crate paths for crates that we
do not publish, mainly those in the `examples/` and `maint/` directory.
Fixes #1766
|
| |/
|
|
|
|
|
|
| |
In 1.83, this warning triggers on many of our crates.
We're thinking of fixing them all, but for now,
we're going to disable the warning.
This is part of #1765.
|
| |
|
|
| |
This will allow us to upgrade to the latest version of rusqlite.
|
| | |
|
| |
|
|
|
|
|
| |
No code changes needed.
Precisely
nailing-cargo -Eu upgrade --incompatible -p itertools
|
| |
|
|
| |
This commit is automatically generated.
|
| |
|
|
| |
(Also, require a version of `toml_edit` that _has_ `DocumentMut`.)
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
maint/cargo_sort complains about this.
|
| |
|
|
|
|
|
|
|
| |
We don't have any of these lints yet but let's do this tidying while
we're here. The test lint block seems appropriate for this
maintenance utility, at least right now while we're not making it a
proper external published thing.
Override the two lints that currently trip.
|
| |
|
|
|
| |
This ties it into everything, so we run CI on it, have it in our main
lockfile, and so on.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
(If a published crate depends on an unpublished crate, crates.io
will refuse it.)
|
| |
|
|
|
| |
None of our crates should use wildcard versions; this will help us
detect them before publishing.
|
| | |
|
| | |
|
| | |
|