summaryrefslogtreecommitdiff
path: root/tor-rtcompat/src/impls.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move responsibility for knowing about TLS into tor_rtcompat.Nick Mathewson2021-03-231-1/+1
| | | | Now we don't need runtime-specific stuff in tor-chanmgr.
* Port to work with tokio or async-std.Nick Mathewson2021-03-021-0/+3
| | | | | | | | | | | | | | | | | | This is fairly ugly and I think I'll need to mess around with the feature configuration a while until we get something that's pleasant to develop with. This still seems like a good idea, though, since we _will_ need to be executor-agnostic in the end, or we'll have no way to handle wasm or embedded environments. Later down the road, we'll probably want to use futures::Executor or futures::Spawn more than having global entry points in tor_rtcompat. That would probably make our feature story simpler. Tokio is the default now, since tokio seems to be more heavily used for performance-critical stuff. This patch breaks tests; the next one will fix them, albeit questionably.
* Require documentation in tor-rtcompat.Nick Mathewson2020-11-201-0/+4
|
* Isolate async_std usage in a new tor_rtcompat crate.Nick Mathewson2020-11-111-0/+2
Like tor_llcrypto, this crate is meant to expose only the part of other crates (in this case, a async runtime crate) that we use.