summaryrefslogtreecommitdiff
path: root/crates/tor-dirpublish
Commit message (Collapse)AuthorAgeFilesLines
* Bump all the unstable tor- and arti- crates to 0.43.0Gabriela Moldovan2026-06-011-7/+7
| | | | | | | | | | Done using: ``` for crate in $(./maint/list-crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.43.0 done ```
* dirpublish: Run maint/fixup-featuresGabriela Moldovan2026-06-011-1/+9
|
* Upgrade rand crates to 0.10.Wesley Aptekar-Cassels2026-05-121-1/+1
| | | | | | | | | | | When the circ-padding feature is enabled, we use maybenot, which does not yet support rand 0.10. In the meantime, enabling this feature pulls in rand 0.9. This is not ideal, but should be okay as a temporary situation. This also replaces the use of ReseedingRng (which was removed in 0.10) with the reseeding_rng crate. This is somewhat less performant, but it should be okay.
* dirpublish: Extract the larger part of the select_biased body.Nick Mathewson2026-05-121-60/+87
|
* dirpublish: Turn TaskResult into a struct.Nick Mathewson2026-05-121-19/+22
|
* dirpublish: import span and Level for clarity.Nick Mathewson2026-05-121-2/+2
|
* dirpublish: Rename and clarify "permanent failure" error.Nick Mathewson2026-05-122-8/+8
|
* grammar fix from @gabi-250Nick Mathewson2026-05-121-1/+1
|
* New `tor-dirpublish` crate to handle uploading documents.Nick Mathewson2026-05-126-0/+1830
This crate is a generalization of the logic for uploading we currently have in tor-hsservice to handle uploading a (possibly changing) document to a (possibly changing) list of targets. It supports different kinds of documents, different kinds of document targets, and different ways to upload. Currently only direct HTTP uploads are supported; we can add others in the future (and we'll have to, for bridges and onion services.) Closes #2499.