summaryrefslogtreecommitdiff
path: root/crates/arti-client
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'bumps-for-1.5.0' into 'main'Nick Mathewson2025-08-281-30/+30
|\ | | | | | | | | Version bumps for arti 1.5.0 See merge request tpo/core/arti!3206
| * Bump the minor version of every published crate except for `arti`.Nick Mathewson2025-08-281-30/+30
| | | | | | | | | | | | | | | | Per policy, we bump the minor version of every tor-*, arti-* crate on each release. We have updated our MSRV, so we're treating this as a breaking change for our non-(arti/tor)-prefixed crates too.
* | Run "update-release-date"Nick Mathewson2025-08-281-1/+1
|/
* Merge branch 'rustls-disclaimer' into 'main'opara2025-08-251-3/+1
|\ | | | | | | | | docs: Remove outdated comments about rustls/ring license See merge request tpo/core/arti!3176
| * docs: remove outdated comments about rustls/ring licenseSteven Engler2025-08-211-3/+1
| |
* | Merge branch 'toml-0.9.5' into 'main'Nick Mathewson2025-08-231-1/+1
|\ \ | |/ |/| | | | | | | | | Upgrade to toml-0.9.5. Closes #2093 See merge request tpo/core/arti!3163
| * Upgrade to toml-0.9.5.Nick Mathewson2025-08-181-1/+1
| | | | | | | | Closes #2093.
* | Merge branch 'smol-add-impl-in-tor-rtcompat' into 'main'opara2025-08-213-6/+9
|\ \ | | | | | | | | | | | | smol: Implement smol in tor-rtcompat See merge request tpo/core/arti!2986
| * | smol: Implement smol in tor-rtcompatNiel Duysters2025-08-213-6/+9
| |/
* | chanmgr: Add KeyMgr to channel builderDavid Goulet2025-08-201-0/+1
| | | | | | | | | | | | | | This is so a relay can build authenticated channels. Several keys/cert are required for this that are within the key manager. Signed-off-by: David Goulet <[email protected]>
* | Add a few unit tests for create_unbootstrapped_async.Nick Mathewson2025-08-191-0/+49
| | | | | | | | | | | | Closes #2121 Co-Authored-by: thesw4rm
* | proto: Move the `stream` module under `client` (breaking).Gabriela Moldovan2025-08-183-3/+3
|/ | | | | | | | | | | | The `stream` module is client-specific, for the most part, so I am moving it under `client`. Later on, we will factor out the parts that can be shared with the relay implementation. Note: this is a breaking change as the deleted `stream` module was `pub`. We could've kept the module and reexported from it the public types from `tor_proto::client::stream`, but I think it's better to have this `client` namespacing, because it makes the separation between the client and relay parts clearer.
* arti-client example: Write rather than hide an elided lifetimeIan Jackson2025-08-111-1/+1
| | | | | | | | | | | | | | | | | | Fixes this warning. Not sure why it's not showing up in CI. --> crates/arti-client/examples/one_hop_circuit.rs:16:35 | 16 | fn find_one_hop_dir_cache(netdir: &NetDir) -> Option<Relay> { | ^^^^^^^ ----- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 16 | fn find_one_hop_dir_cache(netdir: &NetDir) -> Option<Relay<'_>> { | ++++
* Merge branch 'enable-cgo' into 'main'Nick Mathewson2025-08-071-0/+2
|\ | | | | | | | | Enable counter-galois onion negotiation and make it work. See merge request tpo/core/arti!3133
| * Propagate cgo feature up to arti crate.Nick Mathewson2025-08-071-0/+2
| |
* | Resolve a rustdoc warningNick Mathewson2025-08-071-1/+1
| | | | | | | | | | `Future` is now in the prelude, so we don't have to give it an explicit path.
* | Switch Cargo.toml files to edition 2024.Nick Mathewson2025-08-079-29/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Update code for Edition 2024Nick Mathewson2025-08-071-3/+5
|/ | | | | | | | | | | | | | | | | | 1. Run cargo fix --edition 2. Selectively revert the "if let"->"match" changes. These changes are meant to protect us from the lifetime changes for "if let" bindings in Rust 2024. But we're not actually relying on the old lifetime rules anywhere, and the match syntax here is quite ugly. 3. Automatically revert `$pat:expr_2021` to `$pat:expr`. (We don't actually want to restrict the expression syntax that our macros accept). Done with `git grep -l expr_2021 | xargs perl -i -pe 's/expr_2021/expr/g;'` 4. Run cargo fmt.
* arti-client: Fix test for FlowCtrl=2.Nick Mathewson2025-08-061-3/+3
| | | | | (It is possible for arti-client to have flowctl-cc disabled, but for tor-proto to have it enabled.)
* tor_proto: add FLOWCTRL_CC to supported_client_protocolsNick Mathewson2025-08-061-5/+13
| | | | | Since we now allow it to be turned on, we can include it among our supported protocols.
* Set MSRV to 1.85.Nick Mathewson2025-08-051-1/+1
|
* Merge branch 'use-cc' into 'main'Nick Mathewson2025-08-051-0/+2
|\ | | | | | | | | Use congestion control when "flowctl-cc" is enabled See merge request tpo/core/arti!3118
| * arti-client: add experimental "flowctl-cc" featureSteven Engler2025-08-041-0/+2
| |
* | arti-client: Resolve XXX to make CI run.Gabriela Moldovan2025-08-051-23/+26
| |
* | arti-client: Use the new Tunnel interfaceDavid Goulet2025-08-052-26/+34
| | | | | | | | Signed-off-by: David Goulet <[email protected]>
* | hs: Use the new Tunnel interface for onion serviceDavid Goulet2025-08-051-1/+1
| |
* | Merge branch 'changelog' into 'main'arti-v1.4.6Ian Jackson2025-08-051-1/+1
|\ \ | | | | | | | | | | | | Changelog content for 1.4.6 See merge request tpo/core/arti!3119
| * | 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