summaryrefslogtreecommitdiff
path: root/crates/tor-bytes/src/writer.rs
Commit message (Collapse)AuthorAgeFilesLines
* tor-bytes: Split EncodeError from ErrorNick Mathewson2022-06-231-4/+4
| | | | | | | | | | | Since there is currently only one error type that can occur when encoding, it doesn't make sense to use the full Error type here. This split will help us downstream, as we no longer need to categorize tor_bytes::Error as "an error in encoding or decoding". I considered renaming Error to DecodeError, but that had pretty huge downstream effects, and didn't seem to be worth it.
* tor-bytes: Provide nested writersIan Jackson2022-06-091-1/+116
|
* tor-bytes: Provide nested readersIan Jackson2022-06-091-0/+1
|
* tor-bytes: Reader: Provide take_restIan Jackson2022-06-091-0/+1
| | | | We'll want this in a moment.
* add semicolons if nothing returnedDaniel Eades2021-11-251-8/+8
|
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-271-0/+133
This will cause some pain for now, but now is really the best time to do this kind of thing.