aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-netdoc/src/parse/macros.rs
Commit message (Collapse)AuthorAgeFilesLines
* Removed unnecessary lintpryty262026-07-151-1/+0
| | | | Removed unnecessary lint
* tor-netdoc: Add a blank line for reading clarityIan Jackson2025-11-181-0/+1
| | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3471#note_3288716
* tor-netdoc: Split off Keyword::to_str into its own traitIan Jackson2025-11-181-1/+4
| | | | | My planned encoding derive macro is not going to use `decl_keyword!` but will need to call `NetdocEncoder::item`.
* tor-netdoc: Split off Keyword::to_str - prep code motionIan Jackson2025-11-181-8/+8
|
* tor-netdoc: Removed dependency on `once_cell`hashcatHitman2025-06-141-2/+2
| | | | | | - Replaced `once_cell::sync::Lazy` with `std::sync::LazyLock`. Signed-off-by: hashcatHitman <[email protected]>
* netdoc: Remove an "unknown_lints" exception.Nick Mathewson2023-11-301-1/+0
|
* Add one more "allow" to tor_netdoc::parse::macros.Nick Mathewson2022-06-151-0/+1
| | | | | Without this, clippy is error-free, but `cargo test` somehow gives a warning.
* netdoc: Test more accessors for tokenized documents.Nick Mathewson2022-06-071-4/+5
|
* lints: Suppress unknown lints in a way that works on nightly tooIan Jackson2022-05-311-2/+4
| | | | This is ridiculous.
* tor-netdoc: Allow suppressing unknown lintsIan Jackson2022-05-271-0/+2
| | | | | We want to supress the unused_macro_rules lint in one place but it's new in Nightly and this triggers yet another lint.
* tor-netdoc: Suppress new "unused_macro_rules" lint in one placeIan Jackson2022-05-271-0/+1
| | | | | | | The compiler can apparently tell that we aren't generating compile errors! Also that we're not yet using a feature provided here. (New lint in currently Nightly.)
* Fix/suppress a few more clippy lints in tests.Nick Mathewson2021-09-081-0/+1
| | | | | I'm alright with allowing cognitive-complexity violations in the tests.
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-271-0/+147
This will cause some pain for now, but now is really the best time to do this kind of thing.