| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
This feature has been removed from nightly, in favor of doc_cfg.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
The two main causes of errors were:
- Since some of the lifetime rules have changed, we no longer need
to do as many "bind a variable and immediately return it"
patterns, and so clippy now warns about them.
- We needed to adjust the explicit captures (`use<...>`)
in a couple of our RPIT instances.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
All other INFO log lines emitted when arti starts begin with an
uppercase character, so this line looks out of place if it begins with a
lowercase character.
|
| |
|
|
|
| |
A `max` of "auto" (the default) now determines a limit based on the
system's total available memory, rather than acting as "disabled".
|
| |
|
|
|
| |
Note that this contains a breaking change to the `ConfigBuilder`. This
should not break any existing toml configuration files.
|
| | |
|
| |\
| |
| |
| |
| | |
tor-memquota: Replaced MSRV TODO with explanation as to why it is done this way
See merge request tpo/core/arti!3067
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
- The TODO regarding replacing usage of qualified names with a generic
NonZero<T> has been replaced with a link to an issue requesting clearer
documentation for NonZero as to how this cannot be done, due to the perma-
unstable type bound on T.
Signed-off-by: hashcatHitman <[email protected]>
|
| | |
| |
| |
| | |
Made with https://crates.io/crates/typos-cli
|
| |/
|
|
| |
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.
|
| |
|
|
| |
- The Rng::gen() functions have been renamed to Rng::random().
|
| |
|
|
|
| |
This took a little refactoring, since derive_more::Foo
no longer re-exports std::ops::Foo.
|
| |\
| |
| |
| |
| | |
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
|
| |/ |
|
| |
|
|
|
|
|
|
| |
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.
|
| |\
| |
| |
| |
| | |
memquota: Fix account lifetime bugs, and arrange to test mq in shadow
See merge request tpo/core/arti!2560
|
| | |
| |
| |
| |
| | |
As per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2560#note_3097189
|
| | |
| |
| |
| |
| | |
These errors aren't necessarily memory pressure. They can occur due
to bugs, and during teardown.
|
| | |
| |
| |
| |
| | |
This detects the bugs I have just fixed - in Shadow tests with the
feature enabled and a (large) limit set.
|
| | | |
|
| | | |
|
| | | |
|
| |\ \
| |/
|/|
| |
| |
| |
| | |
Move crates to crates to slotmap-careful
Closes #1531
See merge request tpo/core/arti!2530
|
| | | |
|
| |/
|
|
|
| |
"Suppress" rather than "fix": this pattern is intentional, and
makes it clear that we're doing an exhaustive match.
|
| |\
| |
| |
| |
| |
| |
| | |
Use clippy to prevent non-mq use of mpsc::channel
Closes #1659
See merge request tpo/core/arti!2536
|
| | | |
|
| | |
| |
| |
| |
| | |
These are the call sites where using this fucntion is correct.
(Outside tor-rtmock, which we'll do separately.)
|
| | |
| |
| |
| | |
Fixes a TODO.
|
| |/
|
|
|
|
|
| |
We'll need this to allow `ToplevelAccount::new_noop` (eg, in tests)
when the type of ToplevelAccount changes.
We have to do this via an extension trait.
|
| |\
| |
| |
| |
| |
| |
| | |
memquota architecture documentation
Closes #1660
See merge request tpo/core/arti!2509
|
| | | |
|
| | |
| |
| |
| | |
These can't be rustdoc links because they point up the crate hierarchy.
|
| | | |
|
| | | |
|
| | | |
|
| |/ |
|
| |\
| |
| |
| |
| | |
Implement tor_memquota:HasMemory cost for a lot of types
See merge request tpo/core/arti!2459
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
As per
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2459#note_3086841
|
| | |
| |
| |
| |
| |
| | |
This comment is more applicable to the memory_cost_structural_copyx
macro than the wrapper type, especially since the wrapper type is
going away.
|