aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-cell/src/relaycell/extlist.rs
Commit message (Collapse)AuthorAgeFilesLines
* cell: Make "extlist" generate methods to access variants.Nick Mathewson2026-07-021-0/+18
| | | | | This will simplify the case where we need to look up a particular extension in an ExtList.
* Switch Cargo.toml files to edition 2024.Nick Mathewson2025-08-071-1/+1
| | | | | | | | | | | | | | First, run ``` git grep -l "^edition =" | xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;' ``` Second, manually verify that all Cargo.toml files have changed, and nothing else has changed. Third, run cargo fmt again.
* cell: fix warning from nightly about unused function.Nick Mathewson2025-05-291-0/+1
|
* Add methods for getting proof-of-work extension from intro request.Wesley Aptekar-Cassels2025-05-271-1/+1
|
* cell: Teach extlist definition macro to make conditional extensionsNick Mathewson2025-05-071-0/+6
| | | | | We need the macro to propagate only certain #[meta] values to all places where a case is used.
* cell: Use ExtList to implement CircRequestExt.Nick Mathewson2025-05-071-3/+20
| | | | This required some renaming, so that the types and their codes matched.
* cell: Make decl_extension_group macro more self-contained.Nick Mathewson2025-05-071-10/+16
| | | | Previously it required the caller to import a whole bunch of stuff.
* cell: Clarify documentation in extlist.rs.Nick Mathewson2025-05-071-11/+10
| | | | It is no longer hs only.
* cell: move ExtList module out of hs module.Nick Mathewson2025-05-071-0/+220
We're going to use it for ntorv3 extensions as well.