aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-async-utils/src
Commit message (Collapse)AuthorAgeFilesLines
* Run maint/add_warning to add lint block everywhereIan Jackson2023-08-232-0/+2
|
* tor-async-utils: Deprecate DropNotifyEofSignallable::is_eofIan Jackson2023-08-171-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 Mathewson2023-08-041-2/+2
|
* Run maint/add_warning to actually apply new lint allowsIan Jackson2023-07-103-0/+3
|
* Run add_warning to remove `missing_panics_doc` deny.Nick Mathewson2023-07-061-1/+0
| | | | Closes #950.
* lints: Run maint/add_warning to actually apply new lintsIan Jackson2023-06-211-0/+2
|
* async-utils: Add a SinkExt with a with_fnNick Mathewson2023-04-192-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_sendNick Mathewson2023-04-192-2/+2
|
* async-utils: rename SinkExt to SinkPrepareExtNick Mathewson2023-04-192-12/+12
|
* JoinReadWrite: Minor docs improvements.Ian Jackson2023-04-061-3/+2
|
* JoinReadWrite: Move the example to the structIan Jackson2023-04-061-23/+25
| | | | This makes it more prominent on the rustdoc page.
* JoinReadWrite: Discuss using .reunite() or .unsplit()Ian Jackson2023-04-061-3/+5
| | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1115#note_2894238 And move the "This is the converse" comment to somewhere it actually appears in public docs. The module-level docs only appear with --document-private-items because the modules themselves are private.
* tor-async-utils: Introduce JoinReadWriteIan Jackson2023-04-052-0/+95
| | | | | 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_utilsNick Mathewson2023-03-293-0/+759
| | | | | 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 Mathewson2023-03-291-0/+39