aboutsummaryrefslogtreecommitdiff
path: root/examples/axum/axum-hello-world/src
Commit message (Collapse)AuthorAgeFilesLines
* proto: Add crate-level exports for two extra stream types (fmt)Gabriela Moldovan2026-06-171-1/+1
|
* arti(-client)/tor-hsservice: return None for disabled servicehashcatHitman2025-10-161-23/+26
| | | | | | | | | | There is no longer a hard error anywhere for trying to launch a service which is disabled in the config. Instead, it always means returning `Ok(None)`. The axum and hyper examples were updated again as a consequence. Signed-off-by: hashcatHitman <[email protected]>
* arti(-client): graceful service disable in arti onlyhashcatHitman2025-10-161-26/+23
| | | | | | | | | | | When a service is disabled in the config, `arti::onion_proxy::Proxy` handles it gracefully, and `arti_client::client::TorClient::launch_onion_service_with_hsid` and `arti_client::client::TorClient::launch_onion_service` both hard error. The axum and hyper examples were updated again as a consequence. Signed-off-by: hashcatHitman <[email protected]>
* arti/arti-client: add graceful service disablehashcatHitman2025-10-161-23/+26
| | | | | | | | | Hidden services disabled in the config are now handled more gracefully by arti/arti-client, before the hard error occurs. The axum and hyper examples were updated as a consequence. Signed-off-by: hashcatHitman <[email protected]>
* 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-4/+4
| | | | | | | | | | | | | | 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.
* Use new DisplayRedacted/DebugRedacted code for HsId.Nick Mathewson2025-07-311-2/+2
| | | | Closes #2012.
* Merge branch 'dev/cve/is_fully_reachable' into 'main'gabi-2502025-03-141-0/+8
|\ | | | | | | | | | | | | tor-hsservice: Add is_fully_reachable() method Closes #1890 See merge request tpo/core/arti!2850
| * examples: Use is_fully_reachable() in examples/Clara Engler2025-03-131-0/+8
| |
* | Deprecate --onion-name; introduce --onion-addressdisha2025-03-121-1/+1
|/
* add example: axum router as onion servicetidely2024-09-241-0/+88