summaryrefslogtreecommitdiff
path: root/examples/gsoc2023/connection-checker
Commit message (Collapse)AuthorAgeFilesLines
* Bump all the unstable tor- and arti- crates to 0.37.0.Gabriela Moldovan2025-12-021-4/+4
| | | | | | | | | Done using: ``` for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.37.0 done
* maint: bump minor versions of all published cratesSteven Engler2025-10-291-4/+4
| | | | | | | ```bash readarray -t publish < <(cargo metadata --format-version 1 | jq -r '.packages[] | select((.id | startswith("path+file:///")) and (.rust_version != null) and (.publish == null or .publish == true or .publish != [])) | .name') for package in "${publish[@]}"; do echo "$package:"; cargo set-version --bump minor -p "$package"; done ```
* release: Bump versions in examples/ and maint/Wesley Aptekar-Cassels2025-10-021-4/+4
|
* release: Run fixup-features.Wesley Aptekar-Cassels2025-10-011-4/+4
|
* Require tracing-subscriber 0.3.20Nick Mathewson2025-09-021-1/+1
| | | | Fixes RUSTSEC-2025-0055.
* proto: Move the `stream` module under `client` (breaking).Gabriela Moldovan2025-08-181-1/+1
| | | | | | | | | | | | 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.
* Switch Cargo.toml files to edition 2024.Nick Mathewson2025-08-071-1/+1
| | | | | | | | | | | | | | 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.
* proto: abolish path_ref() in favor of all_paths().Gabriela Moldovan2025-08-051-3/+6
| | | | | | | | | | | | | Until now, we've been using `ClientCirc::path_ref()` to get the *only* path of a circuit. Now that `ClientCirc` is a handle to a tunnel reactor (which may or may not be multi-path), we need to decide for each call site of `path_ref()`, if we actually want *all* paths in the tunnel, or if we expect the tunnel to be single-path and thus want the *only* path in the tunnel. I've added two new APIs to address this: `all_paths()`, for getting all the paths in the tunnel, and `single_path()` for getting the only path in the tunnel, or an error if the tunnel is single-path.
* arti-client: Use the new Tunnel interfaceDavid Goulet2025-08-051-3/+3
| | | | Signed-off-by: David Goulet <[email protected]>
* examples, fixup-features: use inline vars in format stringNick Mathewson2025-05-291-5/+5
| | | | Nightly clippy now suggests this.
* tor-proto: Update the TunnelMutableState when a circuit is removed.Gabriela Moldovan2025-05-151-1/+1
| | | | | | | | This is messy, because `ClientCirc::{path_ref, n_hops, ..}` become fallible (we can't unwrap the result, because when a circuit is closed, its state gets removed from the `TunnelSharedState`, but its `ClientCirc` handle continues to exist, so any attempt to retrieve the state will result in an `Err`).
* tor-proto: Remove deprecated DataStream API.Gabriela Moldovan2025-02-132-9/+14
| | | | | Reducing `ClientCirc` proliferation will make our lives easier when implementing !2790.
* proto: deprecate DataStream::circuitNick Mathewson2025-01-301-0/+1
| | | | | | | | This method is experimental, so no semver note is needed. It is redundant with `client_stream_ctrl()?.circuit()?`. (The name and the unconditional return type of this method are probably an error.)
* Run fixup-features in preparation for upcoming release.Nick Mathewson2024-09-251-1/+1
|
* connection-checker: Do not enable arti "experimental" featureIan Jackson2024-09-041-1/+2
| | | | | This breaks config tests in crates/arti which test configuration parsing of disabled experimental features.
* Run "fixup-features" in preparation for next release.Nick Mathewson2024-03-281-0/+3
|
* Rename ManagedTransportConfig to TransportConfig.Nick Mathewson2024-03-141-2/+2
| | | | We're going to start using this type for _every_ kind of transport.
* Use "wrap_help" feature for clap.Nick Mathewson2023-11-151-1/+1
|
* clap4: Upgrade from a deprecated syntax in examples.Nick Mathewson2023-11-151-4/+4
|
* Use a more recent tracing_subscriber in examples.Nick Mathewson2023-09-051-1/+1
| | | | Part of a solution for cargo-audit.
* Set license on gsoc2023 examples to "MIT OR Apache-2.0"Nick Mathewson2023-09-051-0/+1
| | | | | With permission from gotlou; see discussion at https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1556
* Move examples to examples/gsoc2023Nick Mathewson2023-09-056-0/+236