| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | maint: Run maint/add_warning to deny string slices | Clara Engler | 2026-06-09 | 7 | -0/+7 |
| | | | | | | | | | | | | | 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. | ||||
| * | proto: Move RateLimitedWriter to tor-async-utils | David Goulet | 2026-06-08 | 4 | -0/+764 |
| | | | | | Signed-off-by: David Goulet <[email protected]> | ||||
| * | Allow clippy::collapsible_if to trigger | Gabriela Moldovan | 2026-02-16 | 1 | -0/+1 |
| | | | | | | | | | | `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. | ||||
| * | tor-async-utils: Make postage_drop test non-async | Gabriela Moldovan | 2026-01-27 | 1 | -2/+2 |
| | | |||||
| * | maint/add_warning: Run script to add new warning | Gabriela Moldovan | 2026-01-27 | 1 | -0/+1 |
| | | | | | This adds the lint to all our crates. | ||||
| * | Fix name of clippy lint to unchecked_time_subtraction (2) | Ian Jackson | 2025-11-06 | 7 | -7/+7 |
| | | | | | Run maint/add_warning | ||||
| * | Remove a couple of unused imports. | Nick Mathewson | 2025-10-16 | 1 | -1/+1 |
| | | |||||
| * | Remove "doc_auto_cfg" incantation from all crates. | Nick Mathewson | 2025-09-29 | 1 | -1/+1 |
| | | | | | This feature has been removed from nightly, in favor of doc_cfg. | ||||
| * | Merge branch 'migrate-to-waker-noop' into 'main' | Jim Newsome | 2025-09-22 | 1 | -2/+1 |
| |\ | | | | | | | | | Migrate to waker noop See merge request tpo/core/arti!3250 | ||||
| | * | Migrate to waker noop | disha | 2025-09-22 | 1 | -2/+1 |
| | | | |||||
| * | | tor-async-utils: New facility to count items in a channel. | Nick Mathewson | 2025-09-16 | 2 | -0/+267 |
| |/ | |||||
| * | Switch Cargo.toml files to edition 2024. | Nick Mathewson | 2025-08-07 | 5 | -9/+8 |
| | | | | | | | | | | | | | | | 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. | ||||
| * | tor-async-utils: impl `SinkTrySend` for `mpsc::UnboundedSender` | Steven Engler | 2025-08-05 | 1 | -0/+19 |
| | | |||||
| * | Fix errors from rustdoc nightly. | Nick Mathewson | 2025-08-05 | 2 | -2/+2 |
| | | |||||
| * | Temporarily suppress mismatched_lifetime_syntaxes. | Gabriela Moldovan | 2025-07-07 | 1 | -0/+1 |
| | | | | | See #2060. | ||||
| * | tor-async-utils: Fix type inference in test. | Gabriela Moldovan | 2025-01-15 | 1 | -1/+2 |
| | | |||||
| * | clippy: deny `mod_module_files` | Steven Engler | 2025-01-06 | 1 | -0/+1 |
| | | | | | | | Denies 'mod.rs' files for consistency. https://rust-lang.github.io/rust-clippy/master/index.html#mod_module_files | ||||
| * | add_warnings, *: Allow clippy::needless_lifetimes | Nick Mathewson | 2024-12-03 | 1 | -0/+1 |
| | | | | | | | | | 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. | ||||
| * | Remove an obsolete TODO | Ian Jackson | 2024-10-21 | 1 | -4/+0 |
| | | | | | This *is* in tor-async-utils :-). | ||||
| * | Introduce mpsc_channel_no_memquota and use it in the places it's wanted | Ian Jackson | 2024-10-15 | 1 | -0/+17 |
| | | | | | | These are the call sites where using this fucntion is correct. (Outside tor-rtmock, which we'll do separately.) | ||||
| * | Merge branch 'close-channel-2' into 'main' | Nick Mathewson | 2024-10-02 | 2 | -0/+72 |
| |\ | | | | | | | | | Provide and implement SinkCloseChannel See merge request tpo/core/arti!2485 | ||||
| | * | tor-async-utils: Fix typo. | Ian Jackson | 2024-10-02 | 1 | -1/+1 |
| | | | |||||
| | * | tor-async-utils: SinkCloseChannel: Tidy up doc comment | Ian Jackson | 2024-10-02 | 1 | -4/+5 |
| | | | | | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2485#note_3086969 | ||||
| | * | Provide SinkCloseChannel | Ian Jackson | 2024-10-01 | 2 | -0/+71 |
| | | | | | | | | | | | The circuit reactor calls mpsc::Channel::close_channel, but we want to wrap up the mpsc, so we need to make this a trait method. | ||||
| * | | tor-async-utils: SinkTrySend: Fix a doc comment | Ian Jackson | 2024-10-02 | 1 | -1/+1 |
| |/ | | | | | | | | This was a copypaste error, resulting in a statement with the wrong sense. As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2468#note_3086961 | ||||
| * | tor-async-utils: Avoid needless nesting of ErasedSinkTrySendError | Ian Jackson | 2024-10-01 | 1 | -1/+22 |
| | | |||||
| * | tor-async-utils: Provide tests for ErasedSinkTrySendError | Ian Jackson | 2024-10-01 | 1 | -0/+67 |
| | | |||||
| * | tor-async-utils: Implement SinkTrySend for mpsc::Sender | Ian Jackson | 2024-10-01 | 2 | -0/+138 |
| | | |||||
| * | tor-async-utils: Provide new SinkTrySend trait | Ian Jackson | 2024-10-01 | 2 | -0/+57 |
| | | | | | | | | | | This is the method try_send from mpsc::channel::Sender. We want to be able to replace that type in tor-circmgr with a memquota wrapper, so the call needs to be a trait method. This API is deceptively simple. Implementing it will involve more support machinery for error handling. | ||||
| * | tor-async-utils: Re-export oneshot-fused-workaround as oneshot. | Gabriela Moldovan | 2024-09-03 | 1 | -0/+2 |
| | | |||||
| * | Move stream_peek into tor-async-utils | Jim Newsome | 2024-08-29 | 2 | -0/+522 |
| | | |||||
| * | extract tor_async_utils::oneshot into ::oneshot-fused-workaround | Jim Newsome | 2024-08-28 | 2 | -43/+0 |
| | | | | | | | | | | | | | | | Having this in the `tor-async-utils` crate prevents us from doing both of the following without introducing a circular dependency: * using it in `tor-rtmock` (which we currently do, particularly in tests). * using `tor-rtmock` to test things in `tor-async-utils`. We don't do this yet, but it is generally sensible to do so. In particular we want to move the `stream_peak` module there, which is currently tested with `tor-rtmock`. Moving this into its own crate avoids this circular dependency. | ||||
| * | tor-async-utils: add traits PeekableStream and UnobtrusivePeekableStream | Jim Newsome | 2024-08-21 | 2 | -0/+129 |
| | | |||||
| * | Re-run maint/add_warning. | Nick Mathewson | 2024-05-06 | 1 | -2/+2 |
| | | | | | This commit is automatically generated. | ||||
| * | Remove two unused cases of "TestError" | Nick Mathewson | 2024-05-05 | 2 | -6/+0 |
| | | |||||
| * | Resolve some clippy warnings about empty rustdoc. | Nick Mathewson | 2024-05-05 | 1 | -4/+4 |
| | | | | | | (In most cases, by writing the documentation; in tests, by permitting the documentation to be missing.) | ||||
| * | Run maint/add_warning. | Nick Mathewson | 2024-03-13 | 2 | -0/+2 |
| | | |||||
| * | deny clippy::unchecked_duration_subtraction | trinity-1686a | 2024-02-29 | 1 | -0/+1 |
| | | |||||
| * | oneshot: Apply deferred rustfmt churn | Ian Jackson | 2023-10-11 | 1 | -1/+1 |
| | | | | | cargo fmt, precisely. | ||||
| * | oneshot: Introduce veneer in tor_rtcompat | Ian Jackson | 2023-10-11 | 2 | -0/+44 |
| | | |||||
| * | Run maint/add_warning to add lint block everywhere | Ian Jackson | 2023-08-23 | 2 | -0/+2 |
| | | |||||
| * | tor-async-utils: Deprecate DropNotifyEofSignallable::is_eof | Ian Jackson | 2023-08-17 | 1 | -2/+12 |
| | | | | | | | | This was introduced in c82cda85d69d tor-basic-utils: DropNotifyWatchSender: use DropNotifyEofSignallable and already, then, the is_eof() method is redundant. | ||||
| * | Run add_warnings on all files. | Nick Mathewson | 2023-08-04 | 1 | -2/+2 |
| | | |||||
| * | Run maint/add_warning to actually apply new lint allows | Ian Jackson | 2023-07-10 | 3 | -0/+3 |
| | | |||||
| * | Run add_warning to remove `missing_panics_doc` deny. | Nick Mathewson | 2023-07-06 | 1 | -1/+0 |
| | | | | | Closes #950. | ||||
| * | lints: Run maint/add_warning to actually apply new lints | Ian Jackson | 2023-06-21 | 1 | -0/+2 |
| | | |||||
| * | async-utils: Add a SinkExt with a with_fn | Nick Mathewson | 2023-04-19 | 2 | -0/+85 |
| | | | | | | (This function behaves as `futures::sink::SinkExt::with`, except that the function that it takes does not return a future.) | ||||
| * | async-utils: rename sinkext to prepare_send | Nick Mathewson | 2023-04-19 | 2 | -2/+2 |
| | | |||||
| * | async-utils: rename SinkExt to SinkPrepareExt | Nick Mathewson | 2023-04-19 | 2 | -12/+12 |
| | | |||||
| * | JoinReadWrite: Minor docs improvements. | Ian Jackson | 2023-04-06 | 1 | -3/+2 |
| | | |||||
