aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-netdoc/src/parse/keyword.rs
Commit message (Collapse)AuthorAgeFilesLines
* tor-netdoc: Split off Keyword::to_str into its own trait (fmt)Ian Jackson2025-11-181-1/+3
|
* tor-netdoc: Split off Keyword::to_str into its own traitIan Jackson2025-11-181-5/+1
| | | | | My planned encoding derive macro is not going to use `decl_keyword!` but will need to call `NetdocEncoder::item`.
* tor-netdoc: Keyword: Say that to_str is the actual document keywordIan Jackson2025-11-181-2/+3
| | | | | | | | | NetdocEncoder::item uses it this way. Presumably it is right at least in those cases where this method is called. The only implementor of this trait right now is the output from `decl_keyword!` in the old parser, which is (generally) expected to be the actual keyword.
* tor-netdoc: Abolish ParseRouterStatus and make several things not pubIan Jackson2025-08-261-5/+3
| | | | | | | The methods in ParseRouterStatus can now be inherent. This starts a cascade of unused stuff, and stuff which doesn't need to be pub any more.
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-271-0/+55
This will cause some pain for now, but now is really the best time to do this kind of thing.