summaryrefslogtreecommitdiff
path: root/examples/gsoc2023/obfs4-checker/src
Commit message (Collapse)AuthorAgeFilesLines
* client: Factor out the "running a client" code into an inner typestateNick Mathewson2026-05-261-4/+4
| | | | | | We'll use this to distinguish "not running" from "running", in order to make it easier to be sure that non-bootstrapping clients will definitely not try to connect to the network.
* Make all TorClient constructors wrap the TorClient in an Arc.Nick Mathewson2026-05-131-4/+4
| | | | | | This is part of rationalizing the structure of TorClient so we can refactor startup logic, and so that RPC code can reason about object identity. See #2469.
* examples/gsoc/obfs4-checker: Port to web-time-compat.Nick Mathewson2026-03-262-6/+13
|
* Switch Cargo.toml files to edition 2024.Nick Mathewson2025-08-072-2/+2
| | | | | | | | | | | | | | 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.
* examples, fixup-features: use inline vars in format stringNick Mathewson2025-05-291-1/+1
| | | | Nightly clippy now suggests this.
* tor-proto: Plumb the ChannelAccount through to queue creation siteIan Jackson2024-10-031-1/+2
| | | | | This gets it as far as the outbound circuit->channel mpsc queue creation. Also, we provide an accessor for it.
* tor-proto: Plumb the ChannelAccount through to queue creation site (pre-fmt)Ian Jackson2024-10-031-1/+3
|
* obfs4-checker: update axum to 0.7.6Steven Engler2024-09-241-3/+5
|
* proto: Make Channel explicitly Arc<.>Nick Mathewson2024-05-161-10/+12
| | | | | | | | | | | | | | | | Previously, Channel was a type that you could Clone that implicitly its state. Now, Channel always appears as an Arc<Channel>. This change has several benefits: * It makes the relationship between Channel struct and the underlying channel more clear. * It enables Channel to participate in the RPC system, where everything has to be an Arc<.> * It enables us to have a Weak<Channel>, if we ever want to. * It will let us move various members out of ChannelDetails. We did this change a while ago with ClientCirc.
* Rename ManagedTransportConfig to TransportConfig.Nick Mathewson2024-03-141-2/+2
| | | | We're going to start using this type for _every_ kind of transport.
* obfs4-checker: port from chrono to time.Nick Mathewson2023-09-052-10/+8
| | | | | Chrono is unmaintained, I think, and uses a version of `time` that cargo-audit doesn't like.
* Move examples to examples/gsoc2023Nick Mathewson2023-09-052-0/+481