summaryrefslogtreecommitdiff
path: root/tor-rtcompat
Commit message (Collapse)AuthorAgeFilesLines
* Remove "publish = false"Nick Mathewson2021-06-241-1/+0
|
* Bump tokio-related dependenciesNick Mathewson2021-06-241-2/+2
|
* Remove some (but not all) needless dependencies.Nick Mathewson2021-06-171-1/+0
|
* Add noop_method_call warning.Nick Mathewson2021-05-271-0/+1
| | | | | | This would have saved ahf and me a lot of confusion in debugging a situation where we were cloning a reference of a type that didn't implement Clone.
* Enable cargo_common_metadata warning.Nick Mathewson2021-05-251-0/+1
|
* Add automatically generated README.md files to each crate.Nick Mathewson2021-05-251-0/+112
|
* Add a link tto the tor website to arti blurb.Nick Mathewson2021-05-241-1/+2
|
* Add a conversion from TimeoutError to IoError.Nick Mathewson2021-05-211-0/+6
|
* Add tor-proto docs and tweak docs+apis elsewhere.Nick Mathewson2021-05-211-7/+7
|
* Improve crate-level tor-rtcompat documentationNick Mathewson2021-05-211-30/+125
|
* Remove a redundant feature in tokioNick Mathewson2021-05-201-1/+1
|
* Implement Runtime for a thin wrapper around tokio runtime handlesNick Mathewson2021-05-203-49/+143
| | | | | Having this enables us to use Arti with an externally constructed tokio runtime.
* Give every Cargo.toml a repository fieldNick Mathewson2021-05-191-0/+1
|
* Try to avoid a tor-rtcompat publicness warningNick Mathewson2021-05-181-0/+1
|
* Add the "unreachable_pub" lint.Nick Mathewson2021-05-183-4/+2
| | | | | | This is a somewhat obnoxious change in its scope and requirements, but it makes it easier to understand what the real public and private parts of our APIs are.
* tor-rtcompat: Add missing documentation for async_std.rsNick Mathewson2021-05-071-1/+22
|
* Add trait_duplication_in_bounds warning.Nick Mathewson2021-05-031-0/+1
|
* Add unseparated_literal_suffix lint, and fix it.Nick Mathewson2021-05-032-2/+3
|
* Add a few more clippy warningsNick Mathewson2021-05-031-0/+5
|
* Split mocking parts of rtcompat into new rtmock crate.Nick Mathewson2021-05-039-1560/+1
| | | | | Since these parts are testing-only, let's take steps to make sure we don't ship them in production by accident.
* bump to latest async_ioNick Mathewson2021-05-031-1/+1
|
* Note a limitation in MockSleepProvider::advanceNick Mathewson2021-04-282-5/+7
|
* Remove most pin_project usage in tor_rtcompat.Nick Mathewson2021-04-284-65/+40
|
* Define a runtime wrapper to override the network.Nick Mathewson2021-04-284-0/+104
|
* Add a mock TLS provider.Nick Mathewson2021-04-281-27/+203
|
* Add a MockNetwork structure for testing.Nick Mathewson2021-04-283-0/+477
| | | | | This isn't a shadow replacement: it's just a testing fixture that we can use to try out code that wants to connect and/or listen.
* Add some more clippy warnings to our list.Nick Mathewson2021-04-271-1/+6
|
* Enforce (and obey) clippy lints about exhaustive enums, structs.Nick Mathewson2021-04-273-0/+5
| | | | | | | | These lints force us to declare our exported enums and exhaustive-looking structs as non-exhaustive (so that we can add to them in the future without breaking our API) or to explicitly disable the warning for a given enum/struct (to say that we _intend_ for additions to be a breaking change).
* cargo fix --edition-idiomsNick Mathewson2021-04-261-1/+1
|
* Small doc fix.Nick Mathewson2021-04-241-1/+1
|
* Define a helper for replacing the sleep functionality of a runtime.Nick Mathewson2021-04-223-0/+93
|
* Add a yield_now() call to MockSleepProvider::advance()Nick Mathewson2021-04-212-15/+26
| | | | | | | | This is almost always what we want for testing: the task that is advancing time wants to give the other tasks a chance to run. Doing this turns MockSleepProvider::advance() into an async function.
* tor_rtcompat: add a yield_now() function.Nick Mathewson2021-04-212-0/+83
|
* Add a "socketpair"-style linked-reader/writer implementation for testingNick Mathewson2021-04-213-1/+261
|
* Disable a test on OSX; see arti#111Nick Mathewson2021-04-201-0/+5
|
* Tests for sleep_until_wallclock.Nick Mathewson2021-04-201-6/+175
|
* A little more testing for tor_rtcompat::mock::time.Nick Mathewson2021-04-201-0/+25
|
* Add support for simulating the passage of time.Nick Mathewson2021-04-193-0/+245
|
* Add "now" functions to SleepProvider.Nick Mathewson2021-04-192-2/+16
|
* rtcompat: remove an unused conversion function.Nick Mathewson2021-04-191-5/+0
|
* Simple unit tests for tor_rtcompat: at last!Nick Mathewson2021-04-193-0/+260
|
* rtcompat: mark some outputs as must-use.Nick Mathewson2021-04-192-0/+3
|
* Clarify what TlsConnector doesn't validate.Nick Mathewson2021-04-193-7/+12
|
* Flatten async_std impl module slightly.Nick Mathewson2021-04-191-31/+30
|
* Flatten tokio TcpProvider implementation a bit.Nick Mathewson2021-04-191-64/+35
|
* Add a local_addr() function for TcpListener.Nick Mathewson2021-04-183-1/+12
|
* Fix some broken rustdoc links.Nick Mathewson2021-04-181-1/+1
|
* tor_rtcompat: Documentation and cleanupsNick Mathewson2021-04-175-71/+240
|
* Remove the no-longer-needed "global runtime" code.Nick Mathewson2021-04-173-51/+37
|
* Remove some cruft in tor_rtcompat::implsNick Mathewson2021-04-172-27/+4
|