aboutsummaryrefslogtreecommitdiff
path: root/crates/arti-client
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Update the release dateIan Jackson2025-08-051-1/+1
| |/
* | Bump version of tor-basic-utilsIan Jackson2025-08-051-1/+1
| | | | | | | | This was accidentally omitted from my version bump script.
* | Version bumps for 1.4.6Ian Jackson2025-08-051-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Made with the following shell script: export CARGO='nailing-cargo -Eu' # Non-functional changes only maint/bump_nodep hashx # Special $CARGO set-version -p arti 1.4.6 # Additional features, no breaking changes, depended on in tree $CARGO set-version -p safelog 0.4.8 # Unconditional bump to 0.33.0 xargs -I P <<END $CARGO set-version -p P 0.33.0 tor-error tor-general-addr tor-geoip tor-rtcompat tor-rtmock tor-async-utils tor-config tor-config-path tor-rpc-connect tor-log-ratelim tor-rpcbase tor-memquota tor-units tor-llcrypto tor-bytes tor-protover tor-checkable tor-cert tor-key-forge tor-hscrypto tor-socksproto tor-linkspec tor-cell tor-proto tor-netdoc tor-consdiff tor-netdir tor-relay-selection tor-persist tor-chanmgr tor-ptmgr tor-guardmgr tor-circmgr tor-dirclient tor-dirmgr tor-keymgr tor-hsclient tor-hsservice tor-hsrproxy tor-relay-crypto arti-client arti-relay arti-rpcserver arti-ureq arti-rpc-client-core END
* | Merge branch 'update' into 'main'Ian Jackson2025-08-041-1/+1
|\ \ | | | | | | | | | | | | Dependency updates (release prep) See merge request tpo/core/arti!3117
| * | Bump derive-deftly to 1.2.0Ian Jackson2025-08-041-1/+1
| |/ | | | | | | No upstream changes that break our code.
* / cargo features: Restore "memquota" feature into "full"Ian Jackson2025-08-041-0/+1
|/ | | | | Our feature doctrine doesn't have a special case for features that are empty and retained for compatibility. "full" is probably best.
* arti-client: make "memquota" feature a no-opSteven Engler2025-07-312-3/+12
|
* arti-client: always enable "tor-memquota/memquota"Steven Engler2025-07-311-2/+1
|
* Use new DisplayRedacted/DebugRedacted code for HsId.Nick Mathewson2025-07-312-8/+10
| | | | Closes #2012.
* Merge branch 'configuration-sources-pub' into 'main'Alexander Hansen Færøy2025-07-301-1/+1
|\ | | | | | | | | arti-client: Re-export `ConfigurationSources` See merge request tpo/core/arti!3044
| * arti-client: Re-export `ConfigurationSources`Clara Engler2025-06-111-1/+1
| | | | | | | | | | | | | | This commit re-exports `ConfigurationSources` in `arti_client::config`. The similar `ConfigurationSource` is already publicly exported, but it unfortunately it is pretty useless without a `ConfigurationSources` to which it belongs.
* | arti-client: Update release date.Gabriela Moldovan2025-07-071-1/+1
| |
* | Bump all the unstable tor- and arti- crates to 0.32.0.Gabriela Moldovan2025-07-071-28/+28
| | | | | | | | | | | | | | | | | | | | Done using: ``` for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.32.0 done ```
* | Bump the versions of the non-{arti-,tor-} crates.Gabriela Moldovan2025-07-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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): None ``` maint/changed_crates -v "arti-v$LAST_VERSION" 2>&1 >/dev/null | grep -i "no change" | grep -v '\(tor\|arti\)-' ``` * crates that only have non-functional changes (bump the patch version): - oneshot-fused-workaround - slotmap-careful - test-temp-dir - fslock-guard - hashx - equix - caret - safelog - retry-error * crates where APIs were broken (bump minor): - fs-mistrust (the implicit once_cell feature was removed) The bumps from this commit were created using this script: ``` PATCH=" oneshot-fused-workaround slotmap-careful test-temp-dir fslock-guard hashx equix caret safelog retry-error " for crate in $PATCH; do cargo set-version --bump patch -p $crate; done MINOR=" fs-mistrust " for crate in $MINOR; do cargo set-version --bump minor -p $crate; done ```
* | Temporarily suppress mismatched_lifetime_syntaxes.Gabriela Moldovan2025-07-071-0/+1
| | | | | | | | See #2060.
* | Merge branch 'arti-1.4.5-prep' into 'main'gabi-2502025-07-071-3/+4
|\ \ | | | | | | | | | | | | Run fixup-features, upgrade deps in preparation for release See merge request tpo/core/arti!3083
| * | Upgrade to derive-deftly 1.1.0.Gabriela Moldovan2025-07-071-1/+1
| | | | | | | | | | | | | | | | | | I had to also bump `toml` to `0.8.23`, because `toml 0.8.22` is incompatible with `serde_spanned 0.6.9` (which is automatically pulled in because of the d-d upgrade).
| * | arti-client: Remove dependency on tor-key-forge.Gabriela Moldovan2025-07-071-2/+1
| | | | | | | | | | | | This was added in error a while ago, but we forgot to remove it.
| * | Run fixup-features in preparation for release.Gabriela Moldovan2025-07-071-2/+4
| | |
* | | Clippy 1.88 fix: reformat some debug prints.Nick Mathewson2025-07-031-2/+2
|/ /
* / arti: Add keys list and keys list-keystoreshjrgrn2025-06-123-2/+14
|/
* release: Bump all tor-/arti- crates to 0.31.0.Alexander Hansen Færøy2025-06-051-28/+28
| | | | | | | | This was done using: for crate in $(./maint/list_crates | grep -P '^tor-|^arti-'); do cargo set-version -p $crate 0.31.0 done
* release: Bump crates non-arti/non-tor crates with functional changes.Alexander Hansen Færøy2025-06-051-1/+1
| | | | | | | | This is done using: cargo set-version --bump patch -p fs-mistrust cargo set-version --bump patch -p equix cargo set-version --bump patch -p fslock-guard
* release: Update ARTI_CLIENT_RELEASE_DATE using `maint/update-release-date`.Alexander Hansen Færøy2025-06-051-1/+1
|
* ./maint/cargo_sort: Run cargo-sort on the entire workspace.Gabriela Moldovan2025-05-271-4/+18
| | | | | | | | | | | | | | | | | | | The [latest version] of `cargo-sort` is more opinionated than the previous one, and is now causing the `rust-checks` job to fail on `main`. This commit applies the fixes needed to satisfy the new `cargo-sort` rules. These changes were generated by running `cargo sort --workspace` several times, until `cargo sort --check --workspace` finally succeeded (it couldn't fix all the errors in one go, for some reason). I have omitted the changes `cargo-sort` made to the top-level `Cargo.toml`, to preserve the topological ordering of the workspace members. Closes #2014 [latest version]: https://github.com/DevinR528/cargo-sort/blob/f066ae80e5e6f5c1d8f0e2b8099461dcb97d9656/changelog.md#200
* All crates: bump rust-version to 1.83.Nick Mathewson2025-05-131-1/+1
|
* Merge branch 'clean-implement-haskind-for-toraddrerror' into 'main'David Goulet2025-05-052-3/+28
|\ | | | | | | | | TODO: Implement HasKind trait for TorAddrError See merge request tpo/core/arti!2965
| * Fix formatting in test_error_kind functionVijaya Bhaskar2025-04-271-1/+4
| |
| * Implement HasKind trait for TorAddrErrorVijaya Bhaskar2025-04-272-3/+25
| | | | | | | | | | | | | | | | | | This commit implements the HasKind trait for TorAddrError in address.rs, mapping all variants to the InvalidStreamTarget error kind. It also updates the ErrorDetail implementation in err.rs to delegate to TorAddrError's HasKind implementation instead of hardcoding the error kind. Resolves TODOs in address.rs and err.rs.
* | Merge branch 'release-1.4.3-semver' into 'main'wesleyac2025-05-011-28/+28
|\ \ | | | | | | | | | | | | release: Bump versions. See merge request tpo/core/arti!2981
| * | release: Bump all unstable tor/arti crates to 0.30.0Wesley Aptekar-Cassels2025-05-011-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | ``` for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.30.0 done ```
* | | release: Update release date.Wesley Aptekar-Cassels2025-05-011-1/+1
|/ / | | | | | | Done via `./maint/update-release-date`.
* | chore: Run fixup-features.Wesley Aptekar-Cassels2025-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | cargo run -p fixup-features -- --exclude examples/ --exclude maint/ Cargo.toml The following features in arti-ureq were manually added to full or marked non-additive: * rustls * native-tls * tokio * async-std
* | Update rand requirement to 0.9.1Nick Mathewson2025-04-291-2/+2
| | | | | | | | | | (This is going to be a _requirement_, since rand 0.9.1 has a behavioral change from 0.9.0)
* | Run cargo update.Wesley Aptekar-Cassels2025-04-291-2/+2
|/ | | | | I updated everything except rand, because the new version of rand interacts with #1903, thus requiring more care.
* arti-client: remove incorrect note about `StateDirectory` usageSteven Engler2025-04-231-1/+0
|
* Merge branch 'proto_enforce' into 'main'Nick Mathewson2025-04-229-3/+578
|\ | | | | | | | | | | | | Enforce recommended and required protocol versions in arti-client Closes #1849 and #1923 See merge request tpo/core/arti!2929
| * Rename recommended_protocols to protocol_statuses.Nick Mathewson2025-04-161-3/+3
| | | | | | | | | | This name reflects its purpose better than the original one, since it includes required protocols as well as recommended ones.
| * arti-client: Document spec of checking date on cached protosNick Mathewson2025-04-161-3/+6
| | | | | | | | | | Also move the comment outside the block it documents, to prevent a too-long line.
| * arti-client: On shutdown for missing proto, print to stderrNick Mathewson2025-04-161-1/+17
| | | | | | | | Also wait a little so logs can flush.
| * arti-client README: Document undesirable exit(1) behavior.Nick Mathewson2025-04-161-1/+12
| |
| * protover, *: Add documentation about what "supported" means.Nick Mathewson2025-04-161-1/+1
| |
| * arti-client: Small test for evaluating protocol status.Nick Mathewson2025-04-162-0/+71
| |
| * arti,arti-client: Add an option to override required protocolsNick Mathewson2025-04-164-6/+77
| | | | | | | | | | (This isn't a boolean, because we really don't want people ignoring all possible required protocols.)
| * arti-client: Keep a somewhat accurate notion of our release date.Nick Mathewson2025-04-164-3/+40
| | | | | | | | | | | | | | | | | | This doesn't need to be perfect, but we need to use it to see if a consensus is new enough that we should obey its recommendations. This commit also adds a script to update or check our release date, and calls this script from our cargo-publish script.
| * Add warnings about removing supported protocols.Nick Mathewson2025-04-161-0/+3
| |
| * arti-client: Implement the basics of protocol enforcement.Nick Mathewson2025-04-165-2/+266
| | | | | | | | This is the major part of #1849.
| * New functions to report supported subprotocolsNick Mathewson2025-04-162-0/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Part of #1849. Note that these functions are distributed across crates, so that if (in the future) we stop doing API breaks with every release, we will get the right outputs. Note also that these functions build the list of protocols out of specific symbolic features, rather than numbers: this makes it easier to avoid errors about "which feature was Relay=4 again", and easier to avoid accidentally referring to a protocol that doesn't exist, like "Consensus" (should be "Cons") or "HsDir" (case is wrong).
* | arti-client: Added TODO about replacing OnceCellhashcatHitman2025-04-171-0/+7
|/ | | | | - [`once_cell::sync::OnceCell`] should be replaced by [`std::sync::OnceLock`] once the blocking methods are stabilized and within our MSRV.
* Merge branch 'todo-errordetail' into 'main'David Goulet2025-04-142-2/+8
|\ | | | | | | | | arti-client: Add ErrorDetail::OnionServiceSetup See merge request tpo/core/arti!2923