aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-hsservice/src/publish
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix some rustdoc warnings.Nick Mathewson2024-03-122-4/+4
| | | | | These are mostly about explicitly linking to things that were already in scope.
* BackoffSchedule refactoring and improvementsNeel Chauhan2024-03-072-22/+38
|
* tor-hsservice: client auth: Only allow `dir:...` to have valid unicodeIan Jackson2024-03-051-2/+2
| | | | | | | | | | | | We have Display/FromStr for AuthorizedClientConfig. We can't have Display if it can containa PathBuf because a PathBuf may not have a string representation. If we want to support non-unicode in the future, we'll need an escaping scheme and messing around with OsStr. The config scheme here may not be the best, but right now I'm just fixing uses of Path::display.
* tor-hsservice: prelude: Don't import postage::sink::SendErrorIan Jackson2024-03-051-4/+3
| | | | This is too vague.
* tor-hsservice: prelude: Move imports from reupload_timer.rsIan Jackson2024-03-051-4/+1
|
* tor-hsservice: prelude: Promote imports from reactor.rsIan Jackson2024-03-051-4/+0
| | | | Move these two publisher-specific imports to publish.rs.
* tor-hsservice: prelude: Move imports from reactor.rsIan Jackson2024-03-051-48/+2
|
* tor-hsservice: Refer to mpsc::{Sender, Receiver} by their module nameIan Jackson2024-03-051-4/+4
| | | | Just "Sender" and "Receiver" is rather vague.
* tor-hsservice: prelude: Promote imports from descriptor.rsIan Jackson2024-03-051-1/+0
| | | | Move these two publisher-specific imports to publish.rs.
* tor-hsservice: prelude: Move imports from descriptor.rsIan Jackson2024-03-051-21/+2
| | | | We use these via an import of the parent, publish.rs.
* tor-hsservice: prelude: Move imports from backoff.rsIan Jackson2024-03-051-11/+1
|
* tor-hsservice: Change: future::pending: use the one from futures-rsIan Jackson2024-03-051-1/+2
| | | | | | | publish::backoff used std::future::pending, whereas generally we mostly use futures::future::pending. This change ought to make no difference.
* tor-hsservice: Move svc.rs contents into lib.rsIan Jackson2024-03-051-1/+1
|
* tor-hsservice: Move publish out of svcIan Jackson2024-03-054-0/+2569