| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 | 2 | -1/+7 |
| | | | | | | 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 | 5 | -577/+402 |
| | | |||||
| * | Switch Cargo.toml files to edition 2024. | Nick Mathewson | 2025-08-07 | 11 | -98/+126 |
| | | | | | | | | | | | | | | | 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. | ||||
| * | Typo fixes (automatic and hand-verified) | Nick Mathewson | 2025-07-09 | 2 | -2/+2 |
| | | | | | Made with https://crates.io/crates/typos-cli | ||||
| * | tor-dirmgr, tor-guardmgr: Use std::slice::from_ref as suggested by clippy. | Gabriela Moldovan | 2025-07-07 | 1 | -2/+2 |
| | | |||||
| * | Temporarily suppress mismatched_lifetime_syntaxes. | Gabriela Moldovan | 2025-07-07 | 1 | -0/+1 |
| | | | | | See #2060. | ||||
| * | guardmgr, circmgr: Make vanguard selection take a RelaySelector. | Nick Mathewson | 2025-05-20 | 2 | -20/+26 |
| | | | | | | | This is the preferred type for choosing a relay, since unlike a RelayExclusion, it lets us add multiple restrictions, and a relay usage. | ||||
| * | guardmgr: Fix clippy warning about needlessly owned cow. | Nick Mathewson | 2025-05-15 | 1 | -1/+1 |
| | | |||||
| * | Resolve clippy warnings from 1.83 | Nick Mathewson | 2025-05-13 | 1 | -1/+1 |
| | | | | | | Now that our MSRV is 1.83, clippy is happy to make more recommendations for us. | ||||
| * | Run cargo fmt | Nick Mathewson | 2025-03-18 | 1 | -11/+3 |
| | | |||||
| * | squash! Upgrade rand dependency to 0.9. | Nick Mathewson | 2025-03-18 | 1 | -3/+3 |
| | | | | | - The Rng::gen() functions have been renamed to Rng::random(). | ||||
| * | squash! Upgrade rand dependency to 0.9. | Nick Mathewson | 2025-03-18 | 2 | -2/+2 |
| | | | | | - Several methods have been moved out of SliceRandom. | ||||
| * | squash! Upgrade rand dependency to 0.9. | Nick Mathewson | 2025-03-18 | 7 | -9/+9 |
| | | | | | - `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 | 2 | -6/+6 |
| | | | | | | | 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. | ||||
| * | tor-guardmgr: Convert a TODO into a NOTE. | Gabriela Moldovan | 2024-09-10 | 1 | -1/+2 |
| | | | | | | | | | | This behavior is OK, so this doesn't need to be a TODO. See the discussion at https://gitlab.torproject.org/tpo/core/arti/-/issues/1352#note_3015217 Closes #1352 | ||||
| * | tor-netdir: Allow access to the `ConsensusBuilder` when building test netdirs. | Gabriela Moldovan | 2024-09-09 | 3 | -8/+8 |
| | | | | | | This allows us to set SRVs for example (needed because by default, the test `NetDir` is built from a consensus that doesn't contain any SRVs). | ||||
| * | Fix typos | Dimitris Apostolou | 2024-09-03 | 3 | -3/+3 |
| | | |||||
| * | extract tor_async_utils::oneshot into ::oneshot-fused-workaround | Jim Newsome | 2024-08-28 | 3 | -3/+3 |
| | | | | | | | | | | | | | | | 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-guardmgr: Make some vanguard test helpers public (fmt). | Gabriela Moldovan | 2024-06-20 | 1 | -10/+5 |
| | | |||||
| * | tor-guardmgr: Make some vanguard test helpers public. | Gabriela Moldovan | 2024-06-20 | 1 | -50/+67 |
| | | | | | | | We will soon need these helpers outside of `tor-guardmgr` too. This commit is mainly code motion. | ||||
| * | tor-guardmgr: Add test for vanguards state file deserialization. | Gabriela Moldovan | 2024-06-03 | 1 | -2/+104 |
| | | | | | This checks that we can read `vanguards.json` state files. | ||||
| * | 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 | 2 | -10/+11 |
| | | |||||
| * | tor-guardmgr: Fix broken doc link. | Gabriela Moldovan | 2024-06-03 | 1 | -1/+1 |
| | | |||||
| * | tor-guardmgr: Use ExplicitOrAuto in the VanguardConfig (fmt). | Gabriela Moldovan | 2024-06-03 | 1 | -2/+8 |
| | | |||||
| * | tor-guardmgr: Use ExplicitOrAuto in the VanguardConfig | Gabriela Moldovan | 2024-06-03 | 2 | -7/+18 |
| | | |||||
| * | tor-guardmgr: Unconditionally define VanguardConfig. | Gabriela Moldovan | 2024-06-03 | 3 | -17/+17 |
| | | | | | | | | | | 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: Map NoSuitableRelay errors to ErrorKind::NoPath. | Gabriela Moldovan | 2024-05-09 | 1 | -2/+1 |
| | | |||||
| * | tor-guardmgr: Add an error variant for when the vanguard mode is unsuitable. | Gabriela Moldovan | 2024-05-09 | 2 | -8/+25 |
| | | |||||
| * | tor-guardmgr: Return a BootstrapRequired error if all the sets are empty (fmt). | Gabriela Moldovan | 2024-05-09 | 1 | -1/+6 |
| | | |||||
| * | tor-guardmgr: Return a BootstrapRequired error if all the sets are empty. | Gabriela Moldovan | 2024-05-09 | 2 | -14/+27 |
| | | | | | | | | | | Previously, `select_vanguard` returned a `NoSuitableRelay` error if it was unable to select a relay to use as a vanguard. We now distunguish the "there are no suitable relays in the vanguard sets" (`NoSuitableRelays`) error case from the "our vanguard sets are empty" (`BootstrapRequired`) one. | ||||
| * | tor-guardmgr: Fix typo in documentation. | Gabriela Moldovan | 2024-05-09 | 1 | -1/+1 |
| | | |||||
| * | tor-guardmgr: Add a BootstrapRequired error for VanguardMgr. | Gabriela Moldovan | 2024-05-09 | 1 | -0/+9 |
| | | |||||
| * | tor-guardmgr: Move VanguardMgrError to a separate module. | Gabriela Moldovan | 2024-05-09 | 2 | -40/+50 |
| | | | | | | This is about to grow another variant, so I'm moving it to a dedicated `err` module. | ||||
| * | tor-guardmgr: Remove a nonsensical TODO. | Gabriela Moldovan | 2024-05-09 | 1 | -1/+0 |
| | | | | | | | The `match` below it is fine, there's no need to rewrite it. (I think this TODO is actually dupe of the the TODO above it). | ||||
| * | tor-guardmgr: Remove TODO about removing Vanguard abstraction. | Gabriela Moldovan | 2024-05-09 | 1 | -3/+0 |
| | | | | | | I think it's alright to keep it: it gives us the flexibility to extend it later on, if needed. | ||||
| * | tor-guardmgr: Remove unnecessary clippy allow. | Gabriela Moldovan | 2024-05-09 | 1 | -1/+0 |
| | | |||||
| * | tor-guardmgr: Remove a TODO HS-VANGUARDS. | Gabriela Moldovan | 2024-05-09 | 1 | -3/+0 |
| | | | | | | | This TODO doesn't really need to be implemented: we can test the `VanguardMgr` just the same without it (`GuardMgrInner` is similar, in that it doesn't mock the rng). | ||||
| * | 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. | ||||
| * | Resolve some clippy warnings about empty rustdoc. | Nick Mathewson | 2024-05-05 | 1 | -3/+1 |
| | | | | | | (In most cases, by writing the documentation; in tests, by permitting the documentation to be missing.) | ||||
| * | tor-guardmgr: Make remove_unlisted return the number of unlisted vanguards. | Gabriela Moldovan | 2024-04-30 | 1 | -2/+4 |
| | | | | | For symmetry with remove_expired. | ||||
| * | tor-guardmgr: Make remove_expired return the number of expired vanguards. | Gabriela Moldovan | 2024-04-30 | 2 | -20/+25 |
| | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2109#note_3024672 | ||||
