| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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. | ||||
| * | 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.) | ||||
| * | Provide SinkCloseChannel | Ian Jackson | 2024-10-01 | 1 | -0/+3 |
| | | | | | | 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: Implement SinkTrySend for mpsc::Sender | Ian Jackson | 2024-10-01 | 1 | -0/+1 |
| | | |||||
| * | tor-async-utils: Provide new SinkTrySend trait | Ian Jackson | 2024-10-01 | 1 | -0/+3 |
| | | | | | | | | | | 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 | 1 | -0/+1 |
| | | |||||
| * | extract tor_async_utils::oneshot into ::oneshot-fused-workaround | Jim Newsome | 2024-08-28 | 1 | -1/+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 | 1 | -0/+1 |
| | | |||||
| * | Re-run maint/add_warning. | Nick Mathewson | 2024-05-06 | 1 | -2/+2 |
| | | | | | This commit is automatically generated. | ||||
| * | deny clippy::unchecked_duration_subtraction | trinity-1686a | 2024-02-29 | 1 | -0/+1 |
| | | |||||
| * | oneshot: Introduce veneer in tor_rtcompat | Ian Jackson | 2023-10-11 | 1 | -0/+2 |
| | | |||||
| * | 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 | 1 | -0/+1 |
| | | |||||
| * | 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 | 1 | -0/+3 |
| | | | | | | (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 | 1 | -2/+2 |
| | | |||||
| * | async-utils: rename SinkExt to SinkPrepareExt | Nick Mathewson | 2023-04-19 | 1 | -1/+1 |
| | | |||||
| * | tor-async-utils: Introduce JoinReadWrite | Ian Jackson | 2023-04-05 | 1 | -0/+3 |
| | | | | | | I wanted one of these for a test stream. Unaccountably neither the futures crate, nor tokio, seem to have one! | ||||
| * | Move functionality from tor_basic_utils to tor_async_utils | Nick Mathewson | 2023-03-29 | 1 | -0/+7 |
| | | | | | | This commit is mostly code movement; I'd recommend reviewing it with git's `--color-moved` option. | ||||
| * | Make a new empty tor-async-utils crate. | Nick Mathewson | 2023-03-29 | 1 | -0/+39 |
