summaryrefslogtreecommitdiff
path: root/examples/hyper-examples
Commit message (Collapse)AuthorAgeFilesLines
* release: Bump versions in examples/ and maint/Wesley Aptekar-Cassels2025-10-021-5/+5
|
* release: Run fixup-features.Wesley Aptekar-Cassels2025-10-011-5/+5
|
* macos-native-tls-notice: Update README.md of hyper-examples with notice of ↵nield2025-10-011-0/+3
| | | | native-tls bug on MacOS
* Require tracing-subscriber 0.3.20Nick Mathewson2025-09-021-1/+1
| | | | Fixes RUSTSEC-2025-0055.
* Fix complaints from "cargo sort"Nick Mathewson2025-08-271-3/+9
|
* Run "fixup-features"Nick Mathewson2025-08-271-0/+3
|
* Update webpki-roots dependency to 1.0.2Nick Mathewson2025-08-261-1/+1
|
* 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.
* hyper-examples: Run rustfmtIan Jackson2025-08-111-1/+3
|
* Merge branch 'main' into !2941Ian Jackson2025-08-112-3/+3
| | | | | | | | | | Conflicts: examples/hyper/hyper-http-client-example/Cargo.toml examples/hyper/hyper-http-hs-example/Cargo.toml In both cases, just the change of edition, which I have applied to examples/hyper-examples/Cargo.toml instead.
* hyper-examples: Cargo fmtnield2025-08-041-1/+4
|
* hyper-examples: Use std::time::Durationnield2025-08-041-1/+2
|
* hyper-examples: Use random nickname for onion servicenield2025-08-041-1/+1
|
* Merge branch 'main' into hyper-examplesnield2025-08-041-2/+2
| | | | | # Conflicts: # examples/hyper-examples/src/bin/hyper-http-hs-example.rs
* hyper-examples: Use native-tls instead of rustlsnield2025-07-212-22/+4
|
* hyper-examples: Typonield2025-07-201-1/+1
|
* hyper-examples: rustfmtnield2025-07-201-4/+7
|
* hyper-examples: Clarify comment regarding `is_fully_reachable`nield2025-07-201-3/+2
| | | | Previous comment was not clear. `is_fully_reachable` only gives false negatives, not false positives.
* hyper-examples: Simplify code for timeoutnield2025-07-201-51/+15
| | | | We removed the while loop.
* hyper-examples: Print messages to stderrnield2025-07-201-6/+6
|
* hyper-examples: Add comment why we use rustls and manual set root_certnield2025-07-201-0/+4
| | | | | | | | The reason we prefer `rustls` in this case is because `rustls` provides better portability then `native-tls` due to not being dependent on the system. We have to explicitely set the root_cert because `rustls` does not use the system CA Certs to remain portable.
* hyper-examples: Print messages to stderrnield2025-07-201-2/+2
|
* hyper-examples: Allow cli argument for test-urlnield2025-07-201-1/+4
|
* hyper-examples: Remove hyper-custom-connector-examplenield2025-07-203-263/+2
| | | | We will make a separate library for this.
* hyper-examples: Typonield2025-07-201-1/+1
|
* hyper-examples: Fix example hyper-http-hs-examplenield2025-07-201-13/+67
| | | | | | | | This example previously remained stuck in the while loop without any output, seeming as if this example is not working. This because the method `is_fully_reachable` is no guarantee for the actual status of the onion service. It might return false while the service is actually reachable. We added a timeout to not remain stuck in the loop.
* hyper-examples: Rename example directorynield2025-07-205-0/+547
This directory had to be renamed because otherwise it would cause conflicts with the actual hyper crate in the CI pipeline.