aboutsummaryrefslogtreecommitdiff
path: root/tor-netdoc
Commit message (Collapse)AuthorAgeFilesLines
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-2768-11551/+0
| | | | | This will cause some pain for now, but now is really the best time to do this kind of thing.
* Tweaks on patch to add clippy::unwrap_used lint.Nick Mathewson2021-08-271-3/+1
| | | | | | | The most frequent changes are: - Rewording messages about poisoned locks - Correcting some error types
* Merge remote-tracking branch 'origin/mr/67' into unwrap_usedNick Mathewson2021-08-279-21/+86
|\
| * Move "use_unwrap" lint from some to want listS0AndS02021-08-251-1/+2
| | | | | | | | | | | | | | | | And convert some `add_or_port` calls to use `SocketAddr` instead of parse + unwrap on strings. > Note, this last change is only for IPv4 addresses, for now, and only > within tests.
| * WIP: Add the "unwrap_used" lint.S0AndS02021-08-248-20/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Check `unwrap_used` section of Clippy documentation for details; > > https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used This adds the following Clippy configuration to crates; #![deny(clippy::unwrap_used)] **Warning** while tests and compiler do not show any errors, the submitted changes are very much a Work In Progress and mistakes may have been made. Check https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/67 Merge Request thread for more details.
* | Updates for reproducible build docsNick Mathewson2021-08-261-1/+1
| |
* | Upgrade to new phf version.Nick Mathewson2021-08-251-1/+1
|/
* Use unwrap_or_default instead of unwrap_or_else(Default::default)rls2021-08-231-1/+1
|
* Fix a few things that the "typos" tool didn't like.Nick Mathewson2021-08-202-3/+3
|
* Typo fixes.Nick Mathewson2021-08-204-5/+5
|
* Merge remote-tracking branch 'origin/mr/60'Nick Mathewson2021-08-181-0/+1
|\
| * Add the "missing_panics_doc" lint.S0AndS02021-08-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | > Check `missing_panics_doc` section of Clippy documentation for details; > > https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc This adds the following Clippy configuration to crates; #![deny(clippy::missing_panics_doc)] And adds necessary doc-comments to methods that may panic.
* | Merge remote-tracking branch 'origin/mr/61'Nick Mathewson2021-08-181-0/+1
|\ \
| * | Add the "implicit_clone" lint.S0AndS02021-08-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Check `implicit_clone` section of Clippy documentation for details; > > https://rust-lang.github.io/rust-clippy/master/index.html#implicit_clone This adds, and addresses, the following Clippy configuration to crates; #![deny(clippy::implicit_clone)] And moves related line within `maint/add_warning.py` file. My intent is to mitigate extra edits after merging, so please let me know if I need to do this last bit differently.
* | | Make MicrodescBuilder implement Debug and CloneNick Mathewson2021-08-171-0/+1
|/ /
* / Note SPEC statuses in tor-netdocNick Mathewson2021-08-162-2/+1
|/
* Use add_warnings.py for clippy::cast_losslessNick Mathewson2021-08-131-1/+1
|
* Add the "cast_lossless" lint.S0AndS02021-08-121-0/+1
| | | | | | | | | | | | > Check `cast_lossless` section of Clippy documentation for details; > > https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless This adds the following Clippy configuration to crates; #![deny(clippy::cast_lossless)] And applies suggested Clippy and `cargo fmt` fixes.
* Fix a few rustdoc link warnings.Nick Mathewson2021-08-121-1/+1
|
* Merge remote-tracking branch 'origin/mr/58'Nick Mathewson2021-08-122-2/+2
|\
| * Rerun readmes.shLennart Kloock2021-08-111-1/+1
| |
| * Sync docs with readmesLennart Kloock2021-08-111-1/+1
| |
* | Add functions to check whether port policies are nonempty.Nick Mathewson2021-08-111-0/+14
|/
* Add unnecessary_wraps to the big warning list.Nick Mathewson2021-08-061-0/+1
|
* Add symlinks to arti-corporarls2021-08-041-0/+1
|
* Small fixes on top of typo fixesNick Mathewson2021-08-031-1/+1
|
* Fix typos and other spelling mistakesrls2021-07-3112-20/+20
|
* address a bunch of hopefully uncontroversial lintsDaniel Eades2021-07-203-21/+12
|
* derives for TorVersion and AuthKeyIdsEugene Lomov2021-07-182-41/+2
| | | | Closes tpo/core/arti#147
* Fix an unused variable warning when fuzzing tor-netdocNick Mathewson2021-07-021-1/+1
|
* Fix some code-rot in tor-netdoc fuzz targetsNick Mathewson2021-07-022-2/+2
|
* Merge remote-tracking branch 'origin/mr/34'Nick Mathewson2021-06-273-7/+9
|\
| * Add clippy warn needless pass by valueYUAN LYU2021-06-213-7/+8
| |
| * Add clippy warn needless borrowYUAN LYU2021-06-211-0/+1
| |
* | Bump version dependencies to 0.0.0Nick Mathewson2021-06-241-5/+5
| |
* | Remove "publish = false"Nick Mathewson2021-06-241-1/+0
|/
* Fix some warnings about needless & from nightly clippyNick Mathewson2021-06-181-1/+1
|
* Upgrade phf.Nick Mathewson2021-06-171-1/+1
|
* Fix new(?) rustdoc warningsNick Mathewson2021-06-162-3/+3
|
* Add noop_method_call warning.Nick Mathewson2021-05-271-0/+1
| | | | | | This would have saved ahf and me a lot of confusion in debugging a situation where we were cloning a reference of a type that didn't implement Clone.
* Use the "typos" tool to fix some spellingNick Mathewson2021-05-265-6/+6
|
* Enable cargo_common_metadata warning.Nick Mathewson2021-05-251-0/+1
|
* Add automatically generated README.md files to each crate.Nick Mathewson2021-05-251-0/+44
|
* Revert change to type of NetParams value.Nick Mathewson2021-05-251-2/+2
| | | | | This truly is an i32, not a strings: it is a specified requirement in parsing consensus documents.
* Use macros and types to improve handling of Netdir parameters.Nick Mathewson2021-05-251-2/+2
| | | | (Squashed from typed-netdir-params)
* Light tweaks to tor-netdoc.Nick Mathewson2021-05-241-2/+8
|
* Fix some rustdoc warningsNick Mathewson2021-05-211-1/+2
|
* Give every Cargo.toml a repository fieldNick Mathewson2021-05-191-0/+1
|
* Add the "unreachable_pub" lint.Nick Mathewson2021-05-1810-99/+117
| | | | | | This is a somewhat obnoxious change in its scope and requirements, but it makes it easier to understand what the real public and private parts of our APIs are.
* Prefer "relay" over "node" in most circumstances.Nick Mathewson2021-05-181-2/+2
|