summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
| * | rpc: Make names reflect configuration keys better.Nick Mathewson2024-12-191-17/+11
| | |
| * | rpc: Document that default-index is 1-basedNick Mathewson2024-12-192-1/+5
| | |
| * | Rename Guard=>ListenerGuard.Nick Mathewson2024-12-193-8/+8
| | |
| * | rpc: Add a comment to explain what load_options is doing.Nick Mathewson2024-12-191-0/+2
| | |
| * | rpc-connect: Explain locking rationale better.Nick Mathewson2024-12-191-3/+12
| | |
| * | rpc-connect: Use try_lock when acquiring fslockNick Mathewson2024-12-192-1/+9
| | | | | | | | | | | | | | | This lets us bail when another process has bound to our connect point, rather than blocking indefinitely.
| * | rpc: More logging when binding addressesNick Mathewson2024-12-192-1/+25
| | |
| * | arti::rpc: Refactor listener options to support defaults properlyNick Mathewson2024-12-191-31/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to have every option that applies to a connect point (other than file or dir) exist both as a default version, and as a per-file override. This approach lets us do so: We store _builders_ for these options in the config, and then use ExtendBuilder to merge them together. (There aren't yet any options other than 'enable', but there will be before long.)
| * | arti::rpc: Rename "overrides" field and type.Nick Mathewson2024-12-191-18/+17
| | | | | | | | | | | | | | | Per discussion with Diziet, these aren't really "overriding" anything; they're the actual options for a single connect point.
| * | arti: Use connect points to listen for RPC connections.Nick Mathewson2024-12-194-88/+331
| | |
| * | arti: Disable RPC reconfiguration for nowNick Mathewson2024-12-192-1/+5
| | |
| * | rpc: Configuration options for artiNick Mathewson2024-12-193-2/+159
| | | | | | | | | | | | | | | | | | This adds the options currently specified in rpc-connect-point.rs, though they don't do anything yet. We still have to implement the correct defaulting behavior.
| * | arti: Move RpcConfig to rpc.rsNick Mathewson2024-12-192-29/+33
| | |
| * | map_builder: Add support for default settings.Nick Mathewson2024-12-191-10/+133
| | | | | | | | | | | | | | | | | | This is a little tricky (beyond the usual macro fun) because we needed to use ExtendBuilder to get reasonable behavior for our default trees.
| * | Define macros to create a map-builder type.Nick Mathewson2024-12-192-0/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're about to need this to define some of the configuration for RPC listeners. The provided map-builder type is much less voluminous in terms of APIs added than the list-builder type: It just uses Deref* and sub_builder. I think this simplicity may be a win. I'll need to rethink how this type handles defaults in order to implement connect points properly; I've left XXXXs for that issue.
| * | tor-config: Add "extend" functionality for config builders.Nick Mathewson2024-12-192-0/+180
| | | | | | | | | | | | We'll use this to implement defaults for maps in our configuration.
| * | connpt: Make unix socket handling more robust.Nick Mathewson2024-12-194-21/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Grab an associated lock file... - ... then delete the socket file (if it's present) ... - ... then bind to it. On exit: - remove the socket - then drop the lock.
| * | rpc-connect: Make LoadOptions buildable.Nick Mathewson2024-12-192-1/+3
| | |
| * | rpc-connect: fix another very typoed lineNick Mathewson2024-12-191-1/+1
| | |
| * | list_builder: fix a very typoed line.Nick Mathewson2024-12-191-1/+1
| | |