summaryrefslogtreecommitdiff
path: root/tor-rtcompat/src/traits.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add the "unreachable_pub" lint.Nick Mathewson2021-05-181-3/+1
| | | | | | 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.
* Add "now" functions to SleepProvider.Nick Mathewson2021-04-191-1/+15
|
* rtcompat: mark some outputs as must-use.Nick Mathewson2021-04-191-0/+1
|
* Clarify what TlsConnector doesn't validate.Nick Mathewson2021-04-191-3/+4
|
* Add a local_addr() function for TcpListener.Nick Mathewson2021-04-181-0/+3
|
* Fix some broken rustdoc links.Nick Mathewson2021-04-181-1/+1
|
* tor_rtcompat: Documentation and cleanupsNick Mathewson2021-04-171-12/+80
|
* Add a "Runtime" parameter to all the manager types.Nick Mathewson2021-04-161-2/+10
| | | | | This is a big change, but it is a step towards our goal of removing tor_rtcompat:: calls directly.
* rtcompat: Make TLS functionality use Runtime traits.Nick Mathewson2021-04-161-2/+40
| | | | | Now there is nothing in principle that you couldn't access from a Runtime implementation.
* Make incoming Streams of TcpStream a real type for each backend.Nick Mathewson2021-04-161-0/+3
| | | | | This makes things a little more complicated for AsyncStd, and a little simpler for Tokio.
* Begin a refactoring of tor-rtcompat to use runtime objects.Nick Mathewson2021-04-161-0/+42
So far, all traits are defined (I hope) and the task api is ported. With time I want to have none of the current "global runtime" APIs exposed, and just use Runtime objects instead. But that isn't just yet.