summaryrefslogtreecommitdiff
path: root/crates/tor-protover/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'doc-errors' into 'main'Nick Mathewson2022-02-151-1/+1
|\ | | | | | | | | Refactor errors in tor-netdoc See merge request tpo/core/arti!314
| * Refactor tor_netdoc::ErrorNick Mathewson2022-02-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This error type doesn't impement HasKind, since the kind will depend on context. However, the existing implementation was pretty messy and inconsistent: Some errors had positions, some didn't. Some took messages as str, some as String. Some had internal errors that were somewhat orthogonal to their actual types. This commit refactors tor_netdoc::Error to use a ParseErrorKind, and adds a set of convenience functions to add positions and messages to the errors that need them.
* | Change deny(clippy::all) to warn(clippy::all).Nick Mathewson2022-02-141-1/+1
|/ | | | Closes #338.
* extend lints to include 'clippy::all'Daniel Eades2021-12-281-0/+1
|
* add semicolons if nothing returnedDaniel Eades2021-11-251-2/+3
|
* deglob some enums, use concise iteration syntaxDaniel Eades2021-11-251-1/+1
|
* Replace references to arti-client in the documentation.Nick Mathewson2021-10-211-1/+1
|
* enable checked_conversions lint.Nick Mathewson2021-10-091-0/+1
|
* fix/silence clippy lints in test modulesDaniel Eades2021-09-081-13/+14
|
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-271-0/+585
This will cause some pain for now, but now is really the best time to do this kind of thing.