aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-rtmock/README.md
Commit message (Collapse)AuthorAgeFilesLines
* tor-rtcompat+misc: add `NetStreamProvider::ConnectOptions`Steven Engler2026-06-081-1/+1
| | | | | | | | | This adds the trait type `ConnectOptions` to `NetStreamProvider` and adds this `ConnectOptions` as an argument to `NetStreamProvider::connect()`. You probably want to look at the changes in tor-rtcompat first, then the rest of this commit is updating the various places we use `NetStreamProvider`.
* tor-rtcompat+misc: add `NetStreamProvider::ListenOptions`Steven Engler2026-05-071-2/+2
| | | | | | | | | This adds the trait type `ListenOptions` to `NetStreamProvider` and adds this `ListenOptions` as an argument to `NetStreamProvider::listen()`. You probably want to look at the changes in tor-rtcompat first, then the rest of this commit is updating the various places we use `NetStreamProvider`.
* tor-rtmock: miri: disable tests that use wallclock timeIan Jackson2024-10-081-0/+2
|
* Documentation updates for "NetStreamProvider" renameNick Mathewson2024-09-241-1/+1
| | | | | | Stop referring to TCP streams in its documentation; update other documentation to refer to NetStreamProvider rather than TcpProvider.
* rtcompat: Remove accept() from TcpListenerNick Mathewson2024-09-241-1/+3
| | | | | | | | | | It's redundant with the incoming() method (which turns the TcpListener into a Stream of connections), and nothing actually used it outside of tests. Removing this method allows us to simplify our TcpListener code a good deal, as can be seen by some of the implementations we removed from our example and testing code.
* tor-rtmock: Provide a comprehensive exampleIan Jackson2023-10-051-1/+100
|
* tor-rtmock: Update the rubric for current recommendationsIan Jackson2023-10-051-3/+8
|
* tor-rtmock: MockSleepProvider docs: Move exampleIan Jackson2023-10-051-73/+0
| | | | | | | | | | | This example demonstrates MockSleepRuntime, which we don't want to use in new tests. It's probably worth keeping it, though, to help with comprehension of existing tests. So move it. This does rather highlight the lack of good overall example/instructions for MockRuntime.
* README doctests: fix tor-rtmockIan Jackson2022-10-121-2/+3
|
* Fix grammar and typosSamanta Navarro2022-04-271-1/+1
|
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-271-0/+98
This will cause some pain for now, but now is really the best time to do this kind of thing.