| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | tor-netdoc: Add a couple of calls to .void_unwrap() | Ian Jackson | 2026-07-21 | 1 | -3/+5 |
| | | | | | | Otherwise our MSRV compiler prints a warning, that this was an unhandled Result. | ||||
| * | tor-netdoc: rangemap_mutate_range: Adjust a plaintive comment | Ian Jackson | 2026-07-02 | 1 | -1/+1 |
| | | |||||
| * | tor-netdoc: rangemap_mutate_range: New function | Ian Jackson | 2026-07-02 | 1 | -0/+321 |
| | | | | | This will be used for exit port summary calculations. | ||||
| * | maint: Run maint/add_warning to deny string slices | Clara Engler | 2026-06-09 | 2 | -0/+2 |
| | | | | | | | | | | | | | This commit executes maint/add_warning with the just added change to deny string slices except in tests. I recommend auditing this by checking out the previous commit followed by running the script yourself and then verifying that the diff is identical to this commit. This commit makes cargo clippy fail. We will add exceptions in the next commit. | ||||
| * | Move intern from tor-netdir to tor-basic-utils and make it pub | Nick Mathewson | 2025-12-03 | 1 | -125/+0 |
| | | |||||
| * | tor_netdoc::intern: Note a future possible cleanup. | Nick Mathewson | 2025-12-03 | 1 | -0/+2 |
| | | |||||
| * | Fix name of clippy lint to unchecked_time_subtraction (2) | Ian Jackson | 2025-11-06 | 3 | -3/+3 |
| | | | | | Run maint/add_warning | ||||
| * | tor-netdoc: Joined OnceLock import with other std::sync imports | hashcatHitman | 2025-04-17 | 1 | -2/+1 |
| | | | | | Whoops! Missed that. | ||||
| * | tor-netdoc: Replace OnceCell with OnceLock | hashcatHitman | 2025-04-17 | 1 | -3/+3 |
| | | | | | - [`once_cell::sync::OnceCell`] has been replaced by [`std::sync::OnceLock`]. | ||||
| * | Run maint/add_warning. | Nick Mathewson | 2024-03-13 | 3 | -0/+3 |
| | | |||||
| * | Run maint/add_warning to add lint block everywhere | Ian Jackson | 2023-08-23 | 3 | -0/+3 |
| | | |||||
| * | Run maint/add_warning to actually apply new lint allows | Ian Jackson | 2023-07-10 | 3 | -0/+3 |
| | | |||||
| * | tor-netdoc: move PeekableIterator to util.rs | Ian Jackson | 2023-02-15 | 1 | -24/+3 |
| | | | | | We're going to want this a bit more widely. | ||||
| * | batching_split_before: Whitespace error fix | Ian Jackson | 2023-02-13 | 1 | -1/+1 |
| | | |||||
| * | batching_split_before: Better xref for doc hidden | Ian Jackson | 2023-02-13 | 1 | -0/+7 |
| | | | | | And another UNSTABLE warning. | ||||
| * | batching_split_before: Clarify API sequential restriction | Ian Jackson | 2023-02-13 | 1 | -4/+4 |
| | | |||||
| * | batching_split_before: Fix and clarify Batches/LendingIterator doc | Ian Jackson | 2023-02-13 | 1 | -2/+4 |
| | | |||||
| * | batching_split_before: Introduce unit token types | Ian Jackson | 2023-02-13 | 1 | -4/+18 |
| | | | | | And explain why we're not using booleans. | ||||
| * | batching_split_before: Expand on the remaining use of "meta-iterator" | Ian Jackson | 2023-02-13 | 1 | -1/+2 |
| | | |||||
| * | batching_split_before: Fix link to BatchesWithHeader::subsequent | Ian Jackson | 2023-02-13 | 1 | -1/+1 |
| | | |||||
| * | batching_split_before: Provide description for BatchesWithHeader | Ian Jackson | 2023-02-13 | 1 | -0/+10 |
| | | |||||
| * | batching_split_before: Document generics on our non-private types | Ian Jackson | 2023-02-13 | 1 | -0/+9 |
| | | |||||
| * | batching_split_before: Rename "prefix" to "header" | Ian Jackson | 2023-02-13 | 1 | -23/+23 |
| | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1016#note_2877759 "_prefixed" becomes "_with_header". That mirrors the returned struct which is nice. | ||||
| * | batching_split_before: Rename "start" to "batch-starting" | Ian Jackson | 2023-02-13 | 1 | -27/+27 |
| | | | | | | Roughly as per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1016#note_2877822 | ||||
| * | batching_split_before: Remove false assertions about batch contents | Ian Jackson | 2023-02-13 | 1 | -4/+0 |
| | | |||||
| * | batching_split_before: Clarify heading of BatchesWithPrefix | Ian Jackson | 2023-02-13 | 1 | -1/+1 |
| | | |||||
| * | batching_split_before: docs improvements. | Nick Mathewson | 2023-02-13 | 1 | -4/+8 |
| | | |||||
| * | tor-netdoc: Provide new batching_split_before | Ian Jackson | 2023-02-10 | 1 | -0/+395 |
| | | | | | | | | | | | | | There will be two call sites to demonstrate it. Eventually maybe this will want to be in tor-basic-utils, since it doesn't depend on any of the tor-netdoc types. But it would be sensible to wait until the situation with PeekableIterator and Itertools is improved. For now we make this #[doc(hidden)] to avoid it becoming part of our stable API. | ||||
| * | Allow clippy::unchecked_duration_subtraction in tests | Nick Mathewson | 2023-01-27 | 2 | -0/+2 |
| | | | | | | This panics on error, and we're fine with a panic on misbehavior in tests. | ||||
| * | test lint blocks: Add many many automatically | Ian Jackson | 2022-12-12 | 2 | -0/+17 |
| | | | | | | This is precisely the result of running the rune in maint/adhoc-add-lint-blocks. | ||||
| * | Tests for tor_netdoc::util::intern | Nick Mathewson | 2022-06-01 | 1 | -0/+33 |
| | | |||||
| * | Add a more generic implementation of intern-by-ref | Nick Mathewson | 2022-03-11 | 1 | -3/+11 |
| | | |||||
| * | netdoc: Make versions smaller in GenericRouterStatus | Nick Mathewson | 2022-03-11 | 1 | -3/+19 |
| | | | | | | | When the version is a Tor version, we can just parse it; otherwise, we can intern it. This shrinks GenericRouterStatus and avoids a lot of extra help allocations. | ||||
| * | fix/silence clippy lints in test modules | Daniel Eades | 2021-09-08 | 1 | -0/+2 |
| | | |||||
| * | Move all crates into a `crates` subdirectory. | Nick Mathewson | 2021-08-27 | 2 | -0/+177 |
| This will cause some pain for now, but now is really the best time to do this kind of thing. | |||||
