summaryrefslogtreecommitdiff
path: root/tor-cell/src/chancell/msg.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix some warnings about needless & from nightly clippyNick Mathewson2021-06-181-2/+2
|
* Check "connection" usage for when stream or channel would be better.Nick Mathewson2021-05-181-2/+2
|
* Prefer "relay" over "node" in most circumstances.Nick Mathewson2021-05-181-4/+4
|
* Add unseparated_literal_suffix lint, and fix it.Nick Mathewson2021-05-031-4/+4
|
* Enforce (and obey) clippy lints about exhaustive enums, structs.Nick Mathewson2021-04-271-0/+1
| | | | | | | | These lints force us to declare our exported enums and exhaustive-looking structs as non-exhaustive (so that we can add to them in the future without breaking our API) or to explicitly disable the warning for a given enum/struct (to say that we _intend_ for additions to be a breaking change).
* tor-cell: In netinfo, unspecified addresses are None.Nick Mathewson2020-10-291-5/+8
|
* Expand test to handle building circuit with ntor.Nick Mathewson2020-10-271-0/+10
|
* Remove a bunch of dbg! calls.Nick Mathewson2020-10-261-1/+0
|
* Improve documentation in tor-cellNick Mathewson2020-10-261-28/+57
|
* Specify and test correct handling for bogus netinfo addrsNick Mathewson2020-10-211-2/+3
|
* Rename as_message to into_message.Nick Mathewson2020-10-211-18/+18
| | | | | According to the API guidelines, "as_" is only for borrowed->borrowed conversions.
* Implement From, not Into.Nick Mathewson2020-10-191-4/+3
| | | | | These traits are inverses of one another, but implementing From is always preferred since rust 1.41 relaxed the "orphan rules".
* Add assertions for overflow cases in chancell::msgNick Mathewson2020-10-191-3/+6
|
* Add an enumeration for destroy reasons.Nick Mathewson2020-10-191-6/+40
|
* Mark must-resolve XXXX issues with "XXXXM3".Nick Mathewson2020-10-181-4/+4
| | | | | | | | | | "M3" is for "milestone 3" -- my target to fix the technical debt that I think will be bad if we ship even a pre-alpha with it. These aren't necessarily _all_ must-resolve, but they're all must-look-at. Closes #15
* Document all the private items in tor-cellNick Mathewson2020-10-091-5/+39
| | | | | Also, change the type of the authentication challenge to be an array; it isn't in fact variable-length.
* Rename remaining get_ accessorsNick Mathewson2020-09-281-6/+6
|
* Test a few more channel cell types.Nick Mathewson2020-09-271-0/+41
|
* Use the correct value for TAP_C_HANDSHAKE_LENNick Mathewson2020-09-261-1/+1
|
* tor-cell: Add some test vectors for channel messagesNick Mathewson2020-09-261-11/+110
|
* Split the cell-handling parts of tor-proto into a new crate.Nick Mathewson2020-09-261-0/+857