aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-circmgr/src/timeouts/readonly.rs
Commit message (Collapse)AuthorAgeFilesLines
* Switch Cargo.toml files to edition 2024.Nick Mathewson2025-08-071-1/+1
| | | | | | | | | | | | | | 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.
* squash! Bump every crate's edition to 2021.Nick Mathewson2022-04-251-1/+0
| | | | | Remove all `use` statements for `TryFrom` and `TryInto`. These are now redundant in Rust 2021.
* Use a panic-free function to multiply timeouts.Nick Mathewson2021-12-061-2/+2
| | | | | | | | | Previously we used Duration::mul_f64, which panics if its output is out-of-range. That shouldn't actually be possible for the values we're giving it, but probably it's better to just multiply in a safe way. This resolves a couple of XXXXs and therefore relates to #231.
* Basic tests for readonly estimators, and estimator migration.Nick Mathewson2021-11-031-2/+7
| | | | | Also add a comment about a possible problem behavior in read-only estimators.
* Add a timeout estimator to take estimates from another process.Nick Mathewson2021-10-201-0/+84