summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | make arti availlable as build artifactTrinity Pointard2021-08-257-1/+3154
| |/ / |/| | | | | | | | | | | and make builds reproducible sha256sum: f141c54929a43a31b9ed6b529f6f863aace87f7406818b2f8ffe2b7a5e2803fb
* | | Upgrade to new phf version.Nick Mathewson2021-08-251-1/+1
| | |
* | | Move MSRV note to READMENick Mathewson2021-08-242-5/+9
| | |
* | | Add a quick MSRV note.Nick Mathewson2021-08-241-0/+5
| | |
* | | Merge remote-tracking branch 'origin/mr/66'Nick Mathewson2021-08-242-9/+5
|\ \ \
| * | | Use trailing_ones() API.Jani Monoses2021-08-241-5/+1
| | | | | | | | | | | | | | | | Rust 1.46, where this API was introduced, is old enough.
| * | | Link to the relevant spec section.Jani Monoses2021-08-242-4/+4
| |/ /
* / / Basic implementation for prop#332 ntor v3 backend.Nick Mathewson2021-08-243-0/+675
|/ / | | | | | | | | | | | | | | This isn't tied into the protocol code yet, since we don't actually have anybody to negotiate with here. We'll need some API tweaks in order to express the sending of extended information too. For now, I'm putting it behind a feature, but if we build this into the tor network, the feature-gate should go away.
* | Upgrade tracing-subscriberNick Mathewson2021-08-241-1/+1
| |
* | Use unwrap_or_default instead of unwrap_or_else(Default::default)rls2021-08-231-1/+1
| |
* | Switch all uses of the log crate to the tracing.Jani Monoses2021-08-2026-41/+42
| | | | | | | | Issue #74
* | Latest arti-corporaNick Mathewson2021-08-201-0/+0
| |
* | Fix a few things that the "typos" tool didn't like.Nick Mathewson2021-08-208-24/+33
| |
* | Typo fixes.Nick Mathewson2021-08-207-8/+8
| |
* | Fix a comment typoNick Mathewson2021-08-181-1/+1
| |
* | Light doc editsNick Mathewson2021-08-181-7/+14
| |
* | allow new without default for IsolationTokenTrinity Pointard2021-08-181-0/+1
| |
* | replace IsolationToken::default with no_isolationTrinity Pointard2021-08-182-3/+19
| |
* | Add a split_from() API for infallible creation of Data messages.Nick Mathewson2021-08-183-3/+29
| |
* | Remove panicking cases from tor-cell msg constructionNick Mathewson2021-08-1814-26/+42
| |
* | Document panics in tor-netdir::testnet.Nick Mathewson2021-08-181-5/+7
| |
* | Revisions based on new documented-panics lint.Nick Mathewson2021-08-1818-73/+120
| | | | | | | | | | I've tried to remove some of possible panics, and improve the documentation for when the others might occur.
* | add_warning.py: explain what to do when no args are givenNick Mathewson2021-08-181-0/+4
| |
* | Add clippy::missing_panics_doc to add_warnings.py.Nick Mathewson2021-08-181-0/+1
| |
* | Merge remote-tracking branch 'origin/mr/60'Nick Mathewson2021-08-1831-0/+59
|\ \
| * | Add the "missing_panics_doc" lint.S0AndS02021-08-1331-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > 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-1827-3/+28
|\ \ \
| * | | Add the "implicit_clone" lint.S0AndS02021-08-1727-3/+28
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > 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.
* | | More tests for tor_netdir, plus a bugfix and a little refactoring.Nick Mathewson2021-08-171-34/+84
| | | | | | | | | | | | | | | | | | (While messing around with test coverage on `in_same_subnet`, I found that there was a copy-paste error where we were using v4_bits when v6_bits would have been appropriate.)
* | | Make construct_netdir() return a PartialNetDir.Nick Mathewson2021-08-175-11/+13
| | | | | | | | | | | | | | | This way we can still use it even if we've removed too many microdescriptors to make a real network.
* | | Test Netdir behavior with BadExit flag.Nick Mathewson2021-08-171-2/+60
| | |
* | | Make MicrodescBuilder implement Debug and CloneNick Mathewson2021-08-171-0/+1
| | |
* | | Re-work the test network generator to take a customization function.Nick Mathewson2021-08-171-17/+104
|/ /
* | X_m tiebreaker rules are now specifiedNick Mathewson2021-08-171-2/+0
| |
* | Update tor-netdir path fractions to avoid NaN.Nick Mathewson2021-08-161-15/+34
| |
* | Remove SPEC note in tor-consdiff: dir-spec has been updated.Nick Mathewson2021-08-161-2/+1
| |
* | Note SPEC statuses in tor-netdocNick Mathewson2021-08-162-2/+1
| |
* | Remove some notes about SPEC issues that are now resolved.Nick Mathewson2021-08-162-7/+3
| |
* | Make PaddingNegotiate parsing match C tor.Nick Mathewson2021-08-162-8/+0
| |
* | More channel-cell coverage.Nick Mathewson2021-08-163-19/+95
|/ | | | "Every little helps": This gets tor-cell coverage over 90%.
* Use add_warnings.py for clippy::cast_losslessNick Mathewson2021-08-1326-25/+27
|
* Merge remote-tracking branch 'origin/mr/59'Nick Mathewson2021-08-1330-16/+44
|\
| * Add the "cast_lossless" lint.S0AndS02021-08-1230-16/+44
| | | | | | | | | | | | | | | | | | | | | | | | > 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.
* | More test cases for tor_cell::relaycell::msgNick Mathewson2021-08-132-11/+109
| |
* | Comment fixes in tor_cell::errNick Mathewson2021-08-131-3/+3
| |
* | Misc fake coverage improvementsNick Mathewson2021-08-132-0/+20
| | | | | | | | | | | | These aren't true coverage improvements; they're just either improving the coverage of test code, or telling the coverage tool that it shouldn't worry about code in the fuzzers.
* | Improve test coverage on tor-unitsNick Mathewson2021-08-131-3/+111
| |
* | Restore success and failure counts with timeout state.Nick Mathewson2021-08-131-2/+18
|/
* Merge commit 'origin/mr/46^'Nick Mathewson2021-08-123-9/+7
|\
| * Change output type in DirResponse to Vec<u8>rls2021-07-303-9/+7
| | | | | | | | | | | | | | | | | | | | Previously the DirResponse contained a String for the output. By changing it to a Vec<u8> the caller has to parse the Vec<u8> and deal with potential failures. With this change `fetch_multiple`'s `useful_responses` should also contain non-UTF-8 responses. This will case an Err to be returned in the `download_attempt` function if the DirResponse does not contain valid UTF-8.