| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
Removed unnecessary lint
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
In Rust 1.83 and 1.85, io::ErrorKind added a few new variants.
Here we classify them as "Decline" or "Abort" in our connection
point code.
|
| |
|
|
| |
Currently does nothing.
|
| |
|
|
|
|
|
|
|
| |
`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.
|
| |\
| |
| |
| |
| |
| |
| | |
maint/add_warning: Deny clippy::unused_async
Closes #2328
See merge request tpo/core/arti!3613
|
| | |
| |
| |
| | |
This adds the lint to all our crates.
|
| | | |
|
| | | |
|
| |/ |
|
| |
|
|
|
|
|
|
|
|
| |
When we see an address schema we don't recognize, we're supposed to
_decline_ the connect point rather than aborting.
Closes #2303. See discussion at #1844.
Additionally, we tolerate more kinds of invalid address, in order to
permit future planned extensions.
|
| |
|
|
| |
Run maint/add_warning
|
| |
|
|
| |
This feature has been removed from nightly, in favor of doc_cfg.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
See #2060.
|
| |
|
|
|
| |
- Part of a series of commits aimed at replacing all MSRV-related TODOs with a
standardized format, which should be easier to find when the MSRV is bumped.
|
| |
|
|
|
| |
Fixes several warnings from
cargo check --workspace --no-default-features
|
| |
|
|
|
|
| |
We change `NoUnixAddressSupport` to `NoAfUnixSocketSupport` because it
doesn't make much sense to talk about support for the addresses
separately from support for the sockets.
|
| |
|
|
| |
Change `..UnixAddress...` to `...AfUnixAddress..`.
|
| |
|
|
|
| |
This variant breaches the new guidelines about AF_UNIX terminology.
And its purpose is unclear and it's not used.
|
| |
|
|
| |
I have checked the relevant code, and it seems okay.
|
| | |
|
| | |
|
| |\
| |
| |
| |
| | |
clippy: deny `mod_module_files`
See merge request tpo/core/arti!2689
|
| | |
| |
| |
| |
| |
| | |
Denies 'mod.rs' files for consistency.
https://rust-lang.github.io/rust-clippy/master/index.html#mod_module_files
|
| |\ \
| |/
|/|
| |
| |
| |
| | |
rpc-connect: Remove cfg(unix) of SYSTEM_DEFAULT_CONNECT_POINT
Closes #1776
See merge request tpo/core/arti!2667
|
| | |
| |
| |
| |
| |
| |
| | |
When we switched this definition to use `cfg_if`,
we overlooked the `#[cfg(unix)]`.
Fixes #1776.
|
| | |
| |
| |
| |
| | |
This lets us bail when another process has bound to our connect
point, rather than blocking indefinitely.
|
| |/
|
|
|
|
|
|
|
|
| |
Grab an associated lock file...
- ... then delete the socket file (if it's present) ...
- ... then bind to it.
On exit:
- remove the socket
- then drop the lock.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
("Server support" here means binding to a socket and reading a
cookie file.)
|
| |
|
|
|
| |
("Client support" here means connecting to a socket and reading a
cookie file.)
|
| |
|
|
| |
(Cookie authentication is described in rpc-cookie-sketch.md)
|
| | |
|
| | |
|
|
|
See doc/dev/rpc-book/src/rpc-connect-sketch.md for details.
|