summaryrefslogtreecommitdiff
path: root/crates/tor-chanmgr
Commit message (Collapse)AuthorAgeFilesLines
* Bump every crate by one patch version.Nick Mathewson2021-11-291-7/+7
|
* add semicolons if nothing returnedDaniel Eades2021-11-252-1/+2
|
* Remove all remaining dbg! instances.Nick Mathewson2021-11-041-1/+0
|
* Get rid of tor-proto's ChannelImpl, and use the reactor more insteadeta2021-11-031-1/+3
| | | | | | | | | | | | | | | | | | | Instead of awkwardly sharing the internals of a `tor-proto` `Channel` between the reactor task and any other tasks, move most of the internals into the reactor and have other tasks communicate with the reactor via message-passing to allocate circuits and send cells. This makes a lot of things simple, and has convenient properties like not needing to wrap the `Channel` in an `Arc` (though some places in the code still do this for now). A lot of test code required tweaking in order to deal with the refactor; in fact, fixing the tests probably took longer than writing the mainline code (!). Importantly, we now use `tokio`'s `tokio::test` annotation instead of `async_test`, so that we can run things in the background (which is required to have reactors running for the circuit tests). This is an instance of #205, and also kind of #217.
* Bump all crate versions to 0.0.1Nick Mathewson2021-10-291-7/+7
|
* tor-chanmgr: remove PendingChanError as unnecessary.Nick Mathewson2021-10-282-37/+6
|
* Remove #![allow_unused] in tor_chanmgr::mgrNick Mathewson2021-10-212-1/+4
|
* enable checked_conversions lint.Nick Mathewson2021-10-091-0/+1
|
* fix/silence clippy lints in test modulesDaniel Eades2021-09-083-0/+3
|
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-278-0/+1183
This will cause some pain for now, but now is really the best time to do this kind of thing.