aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-proto/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a little documentation about when you'll need the tokio trait.Nick Mathewson2021-10-191-0/+7
|
* tor-proto: implement tokio Async{Read, Write} traits conditionallyeta2021-10-191-0/+33
| | | | | | | | | futures::io::AsyncRead (and Write) isn't the same thing as tokio::io::AsyncRead, which is a somewhat annoying misfeature of the Rust async ecosystem (!). To mitigate this somewhat for people trying to use the `DataStream` struct with tokio, implement the tokio versions of the above traits using `tokio-util`'s compat layer, if a crate feature (`tokio`) is enabled.
* Use append in place of extend_from_slice in DataReaderImpl::add_data.Nick Mathewson2021-10-171-2/+2
| | | | Suggested by @cheako.
* enable checked_conversions lint.Nick Mathewson2021-10-091-0/+1
|
* Use subtle and some refactoring to remove branches in ntorNick Mathewson2021-10-013-22/+54
| | | | Closes #163
* Typo fixesNick Mathewson2021-09-091-2/+2
|
* Fix clippy warnings in tests with --all-featuresNick Mathewson2021-09-082-10/+9
|
* fix/silence clippy lints in test modulesDaniel Eades2021-09-0816-10/+25
|
* Fix typosJani Monoses2021-09-072-2/+2
|
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-2732-0/+9691
This will cause some pain for now, but now is really the best time to do this kind of thing.