summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'rpc-banner' into 'main'Nick Mathewson2025-01-095-8/+53
|\ | | | | | | | | | | | | RPC spec: specify banner format. Closes #1753 See merge request tpo/core/arti!2700
| * Implement banner for RPC protocol.Nick Mathewson2025-01-095-8/+53
| | | | | | | | Closes #1753
* | tor-config: Test that uninteresting events get ignored.Gabriela Moldovan2025-01-091-3/+21
| |
* | tor-config: Rewrite match for readability.Gabriela Moldovan2025-01-091-3/+5
| | | | | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2696#note_3145971
* | tor-config: Avoid using EventKind::Any in the tests.Gabriela Moldovan2025-01-091-3/+4
| | | | | | | | Events of type `Any` now get discarded by the event handler.
* | tor-config: Handle rescan events before filtering.Gabriela Moldovan2025-01-091-3/+2
| | | | | | | | | | This enables us to catch "rescan" events, regardless of their underlying `EventKind`.
* | tor-config: Make the `FileWatcher` ignore non-mutating file events.Gabriela Moldovan2025-01-091-1/+13
| | | | | | | | | | | | | | | | Without this, setting `watch_configuration = true` results in endless config reloading due to arti accessing the config (which triggers an access event, which in turn, triggers a config reload, and so on). Closes #1794
* | tor-proto: fix bad indentationSteven Engler2025-01-091-3/+3
| |
* | tor-proto: test `Channel::wait_for_close`Steven Engler2025-01-091-5/+35
| |
* | tor-proto: make `Channel::wait_for_close` non-experimentalSteven Engler2025-01-091-1/+0
| |
* | tor-proto: `Channel::wait_for_close` return success statusSteven Engler2025-01-092-14/+42
|/ | | | | | This had a TODO about returning a "status indication instead of just ()" so this commit adds some status indication that we can expand later if needed.
* tor-circmgr: Add trace log on circuit build timeout.Wesley Aptekar-Cassels2025-01-081-0/+2
| | | | This may help debugging #1792.
* tor-rtcompat: Note that SpawnBlocking isn't for CPU-bound tasks.Wesley Aptekar-Cassels2025-01-071-1/+1
|
* tor-rtcompat: Use GAT instead of RPIT in SpawnBlocking trait.Wesley Aptekar-Cassels2025-01-077-9/+25
| | | | Due to the limitations on RPIT, it's better to use a GAT for now.
* tor-rtcompat: Add note about what to use spawn_blocking for.Wesley Aptekar-Cassels2025-01-071-1/+5
|
* tor-rtcompat: Note SpawnBlocking semver break.Wesley Aptekar-Cassels2025-01-071-0/+1
|
* tor-rtmock: Add task names for spawn_obj and spawn_blocking.Wesley Aptekar-Cassels2025-01-071-2/+2
|
* tor-rtcompat: Link to spawn_blocking docs.Wesley Aptekar-Cassels2025-01-071-0/+6
|
* tor-rtcompat: Add spawn_blocking to Runtime trait.Wesley Aptekar-Cassels2025-01-078-3/+114
| | | | | This adds a new SpawnBlocking trait, which exposes the spawn_blocking function that tokio, async-std, and other runtimes have.
* Remove semver.md files after 1.3.2 releaseNick Mathewson2025-01-073-5/+0
|
* Update versions in crates/*/bench.Nick Mathewson2025-01-072-3/+3
|
* Bump arti crate to 1.3.2Nick Mathewson2025-01-073-3/+3
| | | | | | | Done with ``` cargo set-version --bump patch -p arti ```
* Bump versions of internal arti crates for Arti 1.3.2Nick Mathewson2025-01-0749-430/+430
| | | | | | | | | | | | | 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 ```
* Patchlevel bumps for Arti 1.3.2Nick Mathewson2025-01-0710-10/+10
| | | | | | | | | | | | | | | | | | These crates are versioned independently. These crates have had changes to clippy warnings, and to non-exported dependencies. Additionally, the fs-mistrust crate has had only backward-compatible changes, and no new APIs. Therefore, these crates all get patchlevel bumps. Other crates don't need their dependencies updated. Done with ``` ./maint/bump_nodep $(./maint/list_crates |grep -v '^arti\|tor' ) ```
* Merge branch 'update' into 'main'Alexander Hansen Færøy2025-01-072-108/+106
|\ | | | | | | | | Run "cargo update" in preparation for release. See merge request tpo/core/arti!2690
| * Run "cargo update" in preparation for release.Nick Mathewson2025-01-072-108/+106
| |
* | Merge branch 'mod-module-files' into 'main'Nick Mathewson2025-01-0761-0/+61
|\ \ | |/ |/| | | | | clippy: deny `mod_module_files` See merge request tpo/core/arti!2689
| * clippy: deny `mod_module_files`Steven Engler2025-01-0661-0/+61
| | | | | | | | | | | | Denies 'mod.rs' files for consistency. https://rust-lang.github.io/rust-clippy/master/index.html#mod_module_files
* | fix: fix typosDimitris Apostolou2025-01-0616-18/+18
| |
* | Merge branch 'bump-dynasmrt-3.0.1' into 'main'Nick Mathewson2025-01-064-96/+58
|\ \ | | | | | | | | | | | | | | | | | | Bump to dynasmrt 3.0.1 Closes #1608 See merge request tpo/core/arti!2686
| * | Also cargo-update in crates/*x/bench.Nick Mathewson2025-01-062-93/+55
| | |
| * | Fix "unnecessary parentheses around assigned value" warning on aarch64.Alexander Færøy2025-01-061-2/+2
| | |
| * | Bump to dynasmrt 3.0.1Nick Mathewson2025-01-061-1/+1
| |/
* | Merge branch 'bug1776' into 'main'Nick Mathewson2025-01-061-1/+0
|\ \ | |/ |/| | | | | | | | | rpc-connect: Remove cfg(unix) of SYSTEM_DEFAULT_CONNECT_POINT Closes #1776 See merge request tpo/core/arti!2667
| * rpc-connect: Remove cfg(unix) of SYSTEM_DEFAULT_CONNECT_POINTNick Mathewson2024-12-111-1/+0
| | | | | | | | | | | | | | When we switched this definition to use `cfg_if`, we overlooked the `#[cfg(unix)]`. Fixes #1776.
* | Merge branch 'upgrades' into 'main'Nick Mathewson2025-01-0620-25/+25
|\ \ | | | | | | | | | | | | Simple dependency upgrades for upcoming release See merge request tpo/core/arti!2685
| * | Upgrade to statrs 0.18.0Nick Mathewson2025-01-061-1/+1
| | |
| * | Upgrade to itertools 0.14.0Nick Mathewson2025-01-0620-24/+24
| | |
* | | Run "fixup-features" in preparation for release.Nick Mathewson2025-01-068-9/+10
|/ /
* | Merge branch 'connect-point-3' into 'main'Nick Mathewson2024-12-1917-125/+1632
|\ \ | | | | | | | | | | | | RPC: Implement server-side connect points See merge request tpo/core/arti!2676
| * | rpc: Add a test for config parsing and defaults.Nick Mathewson2024-12-192-1/+90
| | |
| * | map_builder: Document deserialize implemntation.Nick Mathewson2024-12-191-0/+3
| | |
| * | ExtendBuilder: Try to document more clearly what it doesNick Mathewson2024-12-191-0/+4
| | |
| * | map_builder: Extensively rework example.Nick Mathewson2024-12-191-9/+64
| | |
| * | extend_builder: document more about why it works.Nick Mathewson2024-12-191-0/+33
| | |
| * | extend_builder: Tests for strip_option, default.Nick Mathewson2024-12-191-0/+206
| | |
| * | rpc: Clarify listen_defaults behavior.Nick Mathewson2024-12-191-1/+2
| | |
| * | rpc: Rename RpcListnerConfig=>RpcListenerSetConfig to clarify plurality.Nick Mathewson2024-12-191-14/+17
| | |
| * | rpc: Test that we can parse our defaults.Nick Mathewson2024-12-192-1/+35
| | |
| * | rpc: comments to explain where connect points are disabled.Nick Mathewson2024-12-192-1/+7
| | |