aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-basic-utils/src/byte_qty.rs
Commit message (Collapse)AuthorAgeFilesLines
* maint: Run maint/add_warning to deny string slicesClara Engler2026-06-091-0/+1
| | | | | | | | | | | | This commit executes maint/add_warning with the just added change to deny string slices except in tests. I recommend auditing this by checking out the previous commit followed by running the script yourself and then verifying that the diff is identical to this commit. This commit makes cargo clippy fail. We will add exceptions in the next commit.
* Fix name of clippy lint to unchecked_time_subtraction (2)Ian Jackson2025-11-061-1/+1
| | | | Run maint/add_warning
* Fix typosDimitris Apostolou2024-09-031-1/+1
|
* byte_qty: Support deserialising from strings and floatsIan Jackson2024-08-271-1/+76
| | | | This finally makes this type suitable for parsing in config files.
* byte_qty: Implement FromStr, and improve Display implIan Jackson2024-08-271-7/+189
| | | | Display can now choose appropriate units.
* byte_qty: provide TryFrom<u64> and <f64>Ian Jackson2024-08-271-0/+76
|
* byte_qty: Make serde dependency optional in tor-basic-utilsIan Jackson2024-08-271-2/+7
|
* byte_qty: Split up the derivesIan Jackson2024-08-271-1/+2
| | | | The serde ones are going to need to be conditional.
* byte_qty: Move to tor-basic-utilsIan Jackson2024-08-271-0/+69
Code motion of byte_qty.rs, and minimal necessary supporting changes.