summaryrefslogtreecommitdiff
path: root/crates/tor-basic-utils
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix up documentation on RetryDelay.Nick Mathewson2022-03-161-10/+19
| | | | | It's no longer about downloads; it's about whatever you need to retry.
* Move RetryDelay from dirmgr to basic-utils.Nick Mathewson2022-03-163-0/+169
| | | | | This (almost) a pure code-movement commit: it also makes one public function private in order to suppress a warning.
* tor-basic-utils/Cargo.toml: reformat.Nick Mathewson2022-03-161-1/+2
| | | | | This is a separate commit to avoid putting format changes in the next commit.
* Revert "humantime_serde_option: New module in tor-basic-utils"Ian Jackson2022-03-143-33/+0
| | | | | | We have upstreamed this code. This reverts commit 6193c9d9742d1d19a45a0ee1c383858201304912.
* humantime_serde_option: New module in tor-basic-utilsIan Jackson2022-03-073-0/+33
| | | | | This will be used to allow our config *builder* structs to be Deserialize.
* tor-basic-utils: copy the README into lib.rsIan Jackson2022-03-041-1/+11
| | | | | | | | | | The doc include rune does not work with our MSRV; it needs 1.54. The alternative would be some kind of cfg() but that would - not provide the crate-level doc on Rust 1.53 - involve the use of cfg_attr Instead, just do it the old way.
* Remove now-obsolete note about location of skip_fmtIan Jackson2022-03-041-5/+0
| | | | Now the diff from the merge base does not contain any hits for ^\+.*bytes
* Move skip_fmt into tor-basic-utilsIan Jackson2022-03-041-0/+37
| | | | | | | Code motion and the minimal mechanical changes. As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/375#note_2783078
* Introduce tor-basic-utilsIan Jackson2022-03-043-0/+56
Empty crate right now