| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | opentelemetry: Instrument a bunch of functions. | Wesley Aptekar-Cassels | 2025-11-24 | 1 | -0/+9 |
| | | | | | | These are all aimed at figuring out in more detail what's going on in #2079 and related issues. | ||||
| * | Fix name of clippy lint to unchecked_time_subtraction (2) | Ian Jackson | 2025-11-06 | 1 | -2/+2 |
| | | | | | Run maint/add_warning | ||||
| * | all: run cargo fmt | Steven Engler | 2025-11-04 | 1 | -1/+1 |
| | | |||||
| * | all: replace all uses of `futures::task::SpawnExt` with `tor_rtcompat::SpawnExt` | Steven Engler | 2025-11-04 | 1 | -1/+1 |
| | | |||||
| * | tor-guardmgr: Add more tracing to update_guardset_internal. | Wesley Aptekar-Cassels | 2025-10-22 | 1 | -3/+7 |
| | | | | | This would have been useful in looking into #2224. | ||||
| * | tor-linkspec: Change HasAddrs::addrs to return an Iterator | Ian Jackson | 2025-10-06 | 1 | -4/+5 |
| | | | | | | | | | This will let us model the actual structure of routerstatus entries in netdocs more closely. They don't have the addresses in a single list. When this code was written this would have been much more awkward, but now we have RPITIT. | ||||
| * | Remove "doc_auto_cfg" incantation from all crates. | Nick Mathewson | 2025-09-29 | 1 | -1/+1 |
| | | | | | This feature has been removed from nightly, in favor of doc_cfg. | ||||
| * | opentelemetry: Add some instrument macros. | Wesley Aptekar-Cassels | 2025-09-24 | 1 | -1/+3 |
| | | | | | | I've added these in places that are useful for the debugging that I've been doing. | ||||
| * | Move `FallbackDir` into `tor-dircommon` | Clara Engler | 2025-09-11 | 1 | -4/+6 |
| | | |||||
| * | Switch Cargo.toml files to edition 2024. | Nick Mathewson | 2025-08-07 | 1 | -7/+9 |
| | | | | | | | | | | | | | | | First, run ``` git grep -l "^edition =" | xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;' ``` Second, manually verify that all Cargo.toml files have changed, and nothing else has changed. Third, run cargo fmt again. | ||||
| * | Temporarily suppress mismatched_lifetime_syntaxes. | Gabriela Moldovan | 2025-07-07 | 1 | -0/+1 |
| | | | | | See #2060. | ||||
| * | squash! Upgrade rand dependency to 0.9. | Nick Mathewson | 2025-03-18 | 1 | -1/+1 |
| | | | | | - `rand::thread_rng()` has been deprecated and renamed to `rand::rng()` | ||||
| * | guardmgr: flag to indicate whether a FirstHop is a Bridge | Nick Mathewson | 2025-02-25 | 1 | -0/+9 |
| | | | | | | This will affect some details of path selection as we provide more info about families. | ||||
| * | clippy: deny `mod_module_files` | Steven Engler | 2025-01-06 | 1 | -0/+1 |
| | | | | | | | Denies 'mod.rs' files for consistency. https://rust-lang.github.io/rust-clippy/master/index.html#mod_module_files | ||||
| * | add_warnings, *: Allow clippy::needless_lifetimes | Nick Mathewson | 2024-12-03 | 1 | -0/+1 |
| | | | | | | | | | In 1.83, this warning triggers on many of our crates. We're thinking of fixing them all, but for now, we're going to disable the warning. This is part of #1765. | ||||
| * | Disable a lot of dead code warnings | Ian Jackson | 2024-10-17 | 1 | -0/+3 |
| | | | | | | | | Now cargo check --workspace --no-default-features --all-targets cargo build -p arti --no-default-features --features=memquota,tokio,native-tls are both clean. | ||||
| * | Upgrade to derive_more version 1.0.0 | Nick Mathewson | 2024-09-25 | 1 | -4/+4 |
| | | | | | | | The `derive_more` crate broke backward compatibility with this version, so this change involved quite a few manual fixups. With luck, they'll keep compatibility for some while in the future. | ||||
| * | extract tor_async_utils::oneshot into ::oneshot-fused-workaround | Jim Newsome | 2024-08-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Having this in the `tor-async-utils` crate prevents us from doing both of the following without introducing a circular dependency: * using it in `tor-rtmock` (which we currently do, particularly in tests). * using `tor-rtmock` to test things in `tor-async-utils`. We don't do this yet, but it is generally sensible to do so. In particular we want to move the `stream_peak` module there, which is currently tested with `tor-rtmock`. Moving this into its own crate avoids this circular dependency. | ||||
| * | tor-config: Apply deferred cargo fmt. | Gabriela Moldovan | 2024-06-03 | 1 | -1/+1 |
| | | |||||
| * | tor-config: Add macro for implementing NotAutoValue. | Gabriela Moldovan | 2024-06-03 | 1 | -2/+2 |
| | | |||||
| * | tor-config: Add NotAutoValue trait bound to ExplicitOrAuto inner type. | Gabriela Moldovan | 2024-06-03 | 1 | -1/+3 |
| | | | | | | | | This is a safeguard to prevent users from using ExplicitOrAuto with types that serialize to the same value as ExplicitOrAuto::Auto. Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2146#note_3030692 | ||||
| * | tor-guardmgr: Replace From impl with VanguardConfig::mode accessor. | Gabriela Moldovan | 2024-06-03 | 1 | -7/+9 |
| | | |||||
| * | tor-guardmgr: Use ExplicitOrAuto in the VanguardConfig | Gabriela Moldovan | 2024-06-03 | 1 | -2/+11 |
| | | |||||
| * | tor-guardmgr: Unconditionally define VanguardConfig. | Gabriela Moldovan | 2024-06-03 | 1 | -0/+15 |
| | | | | | | | | | | We want to export the `VanguardConfig` even if the `vanguards` feature is disabled (we will need to unconditionally include it in the arti config). Note that if `vanguards` are disabled, the `VanguardMode` from the `VanguardConfig` can only be `Dsiabled`. | ||||
| * | tor-guardmgr: Remove dead_code allow. | Gabriela Moldovan | 2024-05-09 | 1 | -1/+0 |
| | | |||||
| * | Re-run maint/add_warning. | Nick Mathewson | 2024-05-06 | 1 | -2/+2 |
| | | | | | This commit is automatically generated. | ||||
| * | tor-guardmgr: Split derive list over multiple lines. | Gabriela Moldovan | 2024-04-11 | 1 | -2/+4 |
| | | |||||
| * | tor-guardmgr: Derive Ord for VanguardMode. | Gabriela Moldovan | 2024-04-11 | 1 | -6/+14 |
| | | |||||
| * | tor-guardmgr: Replace From impl with from_net_parameter constructor. | Gabriela Moldovan | 2024-03-26 | 1 | -2/+8 |
| | | |||||
| * | tor-guardmgr: Implement From<BoundedInt32> for VanguardMode. | Gabriela Moldovan | 2024-03-26 | 1 | -0/+13 |
| | | | | | | We'll need this to convert the `vanguard_enabled` and `vanguard_hs_service` net params to a `VanguardMode. | ||||
| * | tor-circmgr: Unconditionally define VanguardMode. | Gabriela Moldovan | 2024-03-20 | 1 | -0/+32 |
| | | |||||
| * | Run maint/add_warning. | Nick Mathewson | 2024-03-13 | 1 | -0/+1 |
| | | |||||
| * | tor-circmgr: Give CircMgr a VanguardMgr. | Gabriela Moldovan | 2024-03-11 | 1 | -0/+4 |
| | | | | | Closes #1277 | ||||
| * | tor-guardmgr: Add vanguards API skeleton. | Gabriela Moldovan | 2024-03-11 | 1 | -0/+2 |
| | | | | | Part of #1275 | ||||
| * | Fix typos in doc comments | Tobias Stoeckmann | 2024-03-06 | 1 | -1/+1 |
| | | |||||
| * | deny clippy::unchecked_duration_subtraction | trinity-1686a | 2024-02-29 | 1 | -0/+1 |
| | | |||||
| * | educe: Use std's default for enums where default variant is unit | Ian Jackson | 2024-02-12 | 1 | -7/+4 |
| | | | | | | | | | | | | | | Since Rust 1.66, std's default works properly for enums, provided that the default variant is a unit. Review all uses of `#[educe(default)]` on enums and replace them with std where possible, which is most of them. In 1.66 and later, std's `#[derive(Default)]` doesn't infer any generic bounds on the derived impl, where it's an enum - since the unit variant can always be constructed. So this change doesn't add any generic bounds and is not API-visible. | ||||
| * | guardmgr: Stop using now-needless retain_mut crate. | Nick Mathewson | 2023-11-30 | 1 | -6/+1 |
| | | |||||
| * | oneshot: Use veneer in tor-ptmgr | Ian Jackson | 2023-10-11 | 1 | -1/+4 |
| | | |||||
| * | Add cognitive-complexity exceptions for clippy. | Nick Mathewson | 2023-09-05 | 1 | -0/+1 |
| | | | | | I have no idea why these became necessary. | ||||
| * | Run maint/add_warning to add lint block everywhere | Ian Jackson | 2023-08-23 | 1 | -0/+1 |
| | | |||||
| * | guardmgr: Fix a dead-code warning when built without bridge support. | Nick Mathewson | 2023-08-16 | 1 | -0/+1 |
| | | |||||
| * | Run add_warnings on all files. | Nick Mathewson | 2023-08-04 | 1 | -2/+2 |
| | | |||||
| * | Better report for any recurrence of bug #638. | Nick Mathewson | 2023-07-13 | 1 | -0/+14 |
| | | |||||
| * | Run maint/add_warning to actually apply new lint allows | Ian Jackson | 2023-07-10 | 1 | -0/+2 |
| | | |||||
| * | Run add_warning to remove `missing_panics_doc` deny. | Nick Mathewson | 2023-07-06 | 1 | -1/+0 |
| | | | | | Closes #950. | ||||
| * | lints: Run maint/add_warning to actually apply new lints | Ian Jackson | 2023-06-21 | 1 | -0/+2 |
| | | |||||
| * | Allow clippy::unchecked_duration_subtraction in tests | Nick Mathewson | 2023-01-27 | 1 | -0/+1 |
| | | | | | | This panics on error, and we're fine with a panic on misbehavior in tests. | ||||
| * | Disable clippy::unlinlined-format-args | Nick Mathewson | 2023-01-27 | 1 | -0/+1 |
| | | | | | | | | | This warning kind of snuck up on us! (See #748) For now, let's disable it. (I've cleaned it up in a couple of examples, since those are meant to be more idiomatic and user-facing.) Closes #748. | ||||
| * | Merge branch 'test-lints' into 'main' | eta | 2023-01-06 | 1 | -0/+8 |
| |\ | | | | | | | | | Add test lint blocks to all "mod test" See merge request tpo/core/arti!937 | ||||
