summaryrefslogtreecommitdiff
path: root/crates/arti-client
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'release-1.6.0-bump-versions' into 'main'arti-v1.6.0wesleyac2025-10-061-31/+31
|\ | | | | | | | | release: Bump versions. See merge request tpo/core/arti!3311
| * release: Bump versions.Wesley Aptekar-Cassels2025-10-021-31/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because we've updated our MSRV, we must bump the minor version for every package. This was done as follows: cargo set-version -p arti 1.6.0 cargo set-version -p oneshot-fused-workaround 0.4.0 cargo set-version -p slotmap-careful 0.4.0 cargo set-version -p test-temp-dir 0.5.0 cargo set-version -p fslock-guard 0.4.0 cargo set-version -p hashx 0.5.0 cargo set-version -p equix 0.4.0 cargo set-version -p caret 0.7.0 cargo set-version -p fs-mistrust 0.12.0 cargo set-version -p safelog 0.6.0 cargo set-version -p retry-error 0.8.0 xargs -I P <<END cargo set-version -p P 0.35.0 tor-basic-utils 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-keymgr tor-chanmgr tor-ptmgr tor-dircommon tor-guardmgr tor-circmgr tor-dirclient tor-dirmgr tor-dirserver tor-hsclient tor-hsservice tor-hsrproxy tor-relay-crypto arti-client arti-relay arti-rpcserver arti-ureq arti-rpc-client-core END
* | release: Update release date.wesleyac2025-10-021-1/+1
| | | | | | We plan to release on Monday.
* | release: Update release date.Wesley Aptekar-Cassels2025-10-021-1/+1
|/
* release: Run fixup-features.Wesley Aptekar-Cassels2025-10-011-0/+1
|
* Remove "doc_auto_cfg" incantation from all crates.Nick Mathewson2025-09-291-1/+1
| | | | This feature has been removed from nightly, in favor of doc_cfg.
* opentelemetry: Add some instrument macros.Wesley Aptekar-Cassels2025-09-241-1/+14
| | | | | I've added these in places that are useful for the debugging that I've been doing.
* arti-client: add doc comments to `TorClient::create_onion_service()`Steven Engler2025-09-231-0/+14
|
* tor-dircommon: Implement proposal 330Clara Engler2025-09-161-18/+10
| | | | | | | This commit implements proposal 330 in the context of `tor-dircommon`, by replacing the single `Authority` structure used in a list context by a single structure called `AuthorityContacts` which contains all v3idents, upload, download, and vote endpoints in one central place.
* Move `FallbackDir` into `tor-dircommon`Clara Engler2025-09-111-2/+2
|
* Merge branch 'dircommon-cfg' into 'main'Clara Engler2025-09-111-4/+5
|\ | | | | | | | | Move `tor-dirmgr` configuration primitives to `tor-dircommon` See merge request tpo/core/arti!3238
| * Move `DirTolerance` into `tor-dircommon`Clara Engler2025-09-091-4/+3
| | | | | | | | | | This commit moves the `DirTolerance` structure from `tor-dirmgr` into `tor-dircommon`.
| * Move `DownloadSchedule` into `tor-dircommon`Clara Engler2025-09-081-3/+5
| | | | | | | | | | This commit moves the `DowenloadSchedule` related types from `tor-dirmgr` into `tor-dircommon`.
| * Move `NetworkStatus` to `tor-dircommon`Clara Engler2025-09-081-2/+2
| | | | | | | | | | | | This commit moves `NetworkStatus` from `tor-dirmgr::config` to `tor-dircommon::config` in order to start the work on a common place for configuration options shared by both directory implementations.
* | Bump MSRV from 1.85 to 1.85.1Nick Mathewson2025-09-091-1/+1
|/ | | | Closes #2107
* Merge branch 'tor-dircommon' into 'main'Ian Jackson2025-09-032-5/+21
|\ | | | | | | | | tor-dircommon: Initial commit See merge request tpo/core/arti!3205
| * tor-dircommon: Update to 0.34.0Clara Engler2025-09-021-1/+1
| |
| * tor-dircommon: Add dirports field to authorityClara Engler2025-09-021-2/+16
| |
| * tor-dircommon: Initial commitClara Engler2025-09-022-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit initializes the `tor-dircommon` crate: A crate serving the purpose to form an umbrella for the lowest common denominator primitives found across crates implementing (parts of) the directory specification. For now, the only such primitive is the found within the `authority` module, which has been refactored from `tor-dirmgr` into this crate, alongside additional getter functions due to the lack of `pub(crate)` in this context. In the future, we may move further primitives away from `tor-dirmgr` into `tor-dircommon`.
* | Merge branch 'the-bell-tolls-for-once_cell' into 'main'wesleyac2025-09-031-7/+1
|\ \ | |/ |/| | | | | various crates: Updated MSRV TODOs for `once_cell` removal See merge request tpo/core/arti!2953
| * arti-client: Modified MSRV TODO for `once_cell` removalhashcatHitman2025-08-201-7/+1
| | | | | | | | | | | | | | | | | | - Shortened the TODO added in a42413626abb57ad5610c8a73bfdd09ac68ac472 in the style of [this maintainer request] for consistency. [this maintainer request]: https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2953#note_3197719 Signed-off-by: hashcatHitman <[email protected]>
* | Require tracing-subscriber 0.3.20Nick Mathewson2025-09-021-1/+1
| | | | | | | | Fixes RUSTSEC-2025-0055.
* | Update to derive-deftly 1.3.0Ian Jackson2025-09-021-1/+1
| |
* | fix documentation for StreamPrefs::connect_to_onion_services to match ↵Aiden McClelland2025-08-281-8/+1
| | | | | | | | | | | | changes in !2506 Signed-off-by: Aiden McClelland <[email protected]>
* | 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
| |