| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Bump versions of internal arti crates for Arti 1.3.2 | Nick Mathewson | 2025-01-07 | 1 | -18/+18 |
| | | | | | | | | | | | | | | The affected crates follow our regular versioning. They all get bumped to 0.26.0. Done with ``` for crate in $(./maint/list_crates |grep '^arti-\|tor-' ); do cargo set-version --bump minor -p $crate; done ``` | ||||
| * | Merge branch 'mod-module-files' into 'main' | Nick Mathewson | 2025-01-07 | 1 | -0/+1 |
| |\ | | | | | | | | | clippy: deny `mod_module_files` See merge request tpo/core/arti!2689 | ||||
| | * | 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 | ||||
| * | | fix: fix typos | Dimitris Apostolou | 2025-01-06 | 1 | -1/+1 |
| |/ | |||||
| * | Merge branch 'upgrades' into 'main' | Nick Mathewson | 2025-01-06 | 1 | -2/+2 |
| |\ | | | | | | | | | Simple dependency upgrades for upcoming release See merge request tpo/core/arti!2685 | ||||
| | * | Upgrade to statrs 0.18.0 | Nick Mathewson | 2025-01-06 | 1 | -1/+1 |
| | | | |||||
| | * | Upgrade to itertools 0.14.0 | Nick Mathewson | 2025-01-06 | 1 | -1/+1 |
| | | | |||||
| * | | Run "fixup-features" in preparation for release. | Nick Mathewson | 2025-01-06 | 1 | -1/+1 |
| |/ | |||||
| * | tor-proto: replaced error type of `Sender::send_and_wake` | Steven Engler | 2024-12-10 | 1 | -6/+10 |
| | | |||||
| * | tor-proto: add some (disabled) doc tests | Steven Engler | 2024-12-10 | 1 | -0/+27 |
| | | |||||
| * | tor-proto: moved `Shared::count_wakers` into 'test' mod | Steven Engler | 2024-12-10 | 1 | -13/+12 |
| | | |||||
| * | tor-proto: changed an `expect` to a `debug_assert` | Steven Engler | 2024-12-10 | 1 | -5/+4 |
| | | |||||
| * | tor-proto: use thiserror for `SenderDropped` | Steven Engler | 2024-12-10 | 1 | -9/+2 |
| | | |||||
| * | tor-proto: use `ready!` instead of `match` | Steven Engler | 2024-12-10 | 1 | -5/+3 |
| | | |||||
| * | tor-proto: `borrowed()` now explicitly returns a `BorrowedReceiverFuture` | Steven Engler | 2024-12-10 | 1 | -3/+2 |
| | | |||||
| * | tor-proto: improve comments | Steven Engler | 2024-12-10 | 1 | -15/+31 |
| | | |||||
| * | Revert "tor-proto: implement `FusedFuture` for receiver futures" | Steven Engler | 2024-12-10 | 1 | -57/+10 |
| | | | | | This reverts commit d73f8894551d37e3bc36947eccf0c6007ffc066e. | ||||
| * | tor-proto: implement `FusedFuture` for receiver futures | Steven Engler | 2024-12-10 | 1 | -10/+57 |
| | | |||||
| * | Revert "tor-proto: deduplicate future fields into `FutureState`" | Steven Engler | 2024-12-10 | 1 | -18/+11 |
| | | | | | This reverts commit acc79ffb44343e52ecb72e27ee8843a63448ff5a. | ||||
| * | Revert "tor-proto: implement `FusedFuture` for receiver futures" | Steven Engler | 2024-12-10 | 1 | -79/+33 |
| | | | | | This reverts commit 2fd105b79c25d919e32e53daf81cb369d1e44331. | ||||
| * | tor-proto: implement `FusedFuture` for receiver futures | Steven Engler | 2024-12-10 | 1 | -33/+79 |
| | | | | | | | | | I considered just using `FutureExt::fuse`, but that becomes a little annoying since the future type is exposed through `IntoFuture::IntoFuture`, which means `ReceiverFuture` would need to wrap a `Fuse`. I figured it's cleaner just to implement the trait directly. | ||||
| * | tor-proto: deduplicate future fields into `FutureState` | Steven Engler | 2024-12-10 | 1 | -11/+18 |
| | | |||||
| * | tor-proto: renamed `ReceiverBorrowedFuture` to `BorrowedReceiverFuture` | Steven Engler | 2024-12-10 | 1 | -5/+5 |
| | | |||||
| * | tor-proto: renamed `ReceiverOwnedFuture` to `ReceiverFuture` | Steven Engler | 2024-12-10 | 1 | -6/+6 |
| | | |||||
| * | tor-proto: rename `Receiver::recv` to `borrowed` | Steven Engler | 2024-12-10 | 1 | -24/+24 |
| | | |||||
| * | tor-proto: moved the `Weak::upgrade` into `Sender::send_and_wake` | Steven Engler | 2024-12-10 | 1 | -22/+15 |
| | | |||||
| * | tor-proto: changed `wakers` from an `Option<_>` to a `Result<_, ↵ | Steven Engler | 2024-12-10 | 1 | -9/+21 |
| | | | | | WakersAlreadyWoken>` | ||||
| * | tor-proto: added `use std::ops::Drop` | Steven Engler | 2024-12-10 | 1 | -3/+4 |
| | | |||||
| * | tor-proto: removed `Receiver::recv_clone` and implemented `IntoFuture` for ↵ | Steven Engler | 2024-12-10 | 2 | -25/+24 |
| | | | | | `Receiver` | ||||
| * | tor-proto: renamed `CancelledError` to `SenderDropped` | Steven Engler | 2024-12-10 | 1 | -17/+17 |
| | | |||||
| * | tor-proto: switched from `Slab` to `DenseSlotMap` for waker map | Steven Engler | 2024-12-10 | 2 | -11/+13 |
| | | |||||
| * | tor-proto: change the message type from `Option<T>` to `Result<T, ↵ | Steven Engler | 2024-12-10 | 1 | -9/+12 |
| | | | | | CancelledError>` | ||||
| * | tor-proto: changed regular comments on `Shared` to doc comments | Steven Engler | 2024-12-10 | 1 | -21/+21 |
| | | |||||
| * | tor-proto: update docs on `Channel::reactor_closed_rx` | Steven Engler | 2024-12-10 | 1 | -3/+1 |
| | | | | | | This is no longer applicable with the new oneshot broadcast channel design. | ||||
| * | tor-proto: replace oneshot broadcast channel | Steven Engler | 2024-12-10 | 3 | -138/+563 |
| | | | | | | The old version had some issues, so this is a rewrite which uses slightly lower level synchronization types (`Mutex` and `OnceLock`). | ||||
| * | tor-proto: replace `Channel`s "closed" state handling | Steven Engler | 2024-12-10 | 2 | -35/+47 |
| | | | | | | | | | | | | | | | | Previously `Channel` had two concepts of "closed". There was an atomic flag that was set to `true` at the end `Reactor::run`, and an experimental oneshot channel where the sender was dropped when the reactor was dropped. This commit consolidates these two using the `oneshot_broadcast` module. This means that the behaviour is consistent between both "closed" statuses (`is_closing()` and `wait_for_close()`). A channel is considered closed when its reactor is dropped. This also helps progress towards making the channel reactor cancellation safe (see arti#1756). | ||||
| * | tor-proto: move `ChannelDetails::reactor_closed_rx` to `Channel` | Steven Engler | 2024-12-10 | 1 | -11/+17 |
| | | | | | This doesn't need to be shared with the reactor. | ||||
| * | tor-proto: add 'oneshot_broadcast' util module | Steven Engler | 2024-12-10 | 2 | -0/+246 |
| | | |||||
| * | Resolve clippy::manual_div_ceil | Nick Mathewson | 2024-12-03 | 1 | -1/+1 |
| | | | | | | | | This warning is new in 1.83. Surprisingly, it only triggered once. div_ceil was added in Rust 1.73, and our MSRV is 1.77, so div_ceil is fine to use. | ||||
| * | Resolve clippy::empty_line_after_doc_comments warnings. | Nick Mathewson | 2024-12-03 | 1 | -1/+1 |
| | | | | | These are new in Rust 1.83. | ||||
| * | 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. | ||||
| * | Bump all the unstable tor- and arti- crates to 0.25.0. | Gabriela Moldovan | 2024-12-02 | 1 | -18/+18 |
| | | | | | | | | | | | Done using: ``` for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.25.0 done ``` | ||||
| * | Bump the versions of the non-{arti-,tor-} crates. | Gabriela Moldovan | 2024-12-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The non-{arti-,tor-} crates are: ``` ./maint/list_crates | rg -v '^(tor|arti)' oneshot-fused-workaround slotmap-careful test-temp-dir fslock-guard hashx equix caret fs-mistrust safelog retry-error ``` We split them in the following categories: * crates with no changes (no version bumps): ``` maint/changed_crates -v "arti-v$LAST_VERSION" 2>&1 >/dev/null | grep -i "no change" | grep -v '\(tor\|arti\)-' oneshot-fused-workaround: No change. test-temp-dir: No change. caret: No change. ``` * crates that only have non-functional changes (bump the patch version): - slotmap-careful - fslock-guard - hashx - equix - fs-mistrust - safelog - retry-error * crates where APIs were broken (bump minor): None The bumps from this commit were created using this script: ``` PATCH=" slotmap-careful fslock-guard hashx equix fs-mistrust safelog retry-error " for crate in $PATCH; do cargo set-version --bump patch -p $crate; done ``` | ||||
| * | Fix several Cargo.tomls to satisfy cargo-sort. | Gabriela Moldovan | 2024-12-02 | 1 | -1/+0 |
| | | |||||
| * | tor-proto: Make bench an experimental feature. | Gabriela Moldovan | 2024-12-02 | 1 | -3/+2 |
| | | | | | | The `bench` feature is only needed for running the benchmarks, and so it's not covered by semver (much like the `testing` feature). | ||||
| * | Run fixup-features in preparation for release. | Gabriela Moldovan | 2024-12-02 | 1 | -0/+2 |
| | | |||||
| * | tor-proto: Specify which of the 2 senders is used for sending cells. | Gabriela Moldovan | 2024-11-20 | 1 | -1/+1 |
| | | |||||
| * | tor-proto: Fix typo in streammap docs. | Gabriela Moldovan | 2024-11-19 | 1 | -1/+1 |
| | | |||||
| * | cargo: Update `thiserror` to `2` | Clara Engler | 2024-11-12 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'tor-proto_benchmarks' into 'main' | gabi-250 | 2024-11-11 | 11 | -0/+643 |
| |\ | | | | | | | | | tor-proto: Add benchmarks for cell encryption and decryption See merge request tpo/core/arti!2608 | ||||
