arti/crates/tor-basic-utils
Ian Jackson 09f0ecaa71 rng ranges: Introduce gen_range_infallible
There are a number of places where we generate random Durations
in a range which starts at zero.

These call sites currently (i) have to write out Duration::ZERO
or equivalent, and (ii) would have to use gen_range_checked and expect
the result, even though it can be statically proven to be OK.

To make this slightly smoother, provide `GenRangeInfallible` and
`gen_range_infallible`.
2023-07-10 16:07:18 +01:00
..
src rng ranges: Introduce gen_range_infallible 2023-07-10 16:07:18 +01:00
Cargo.toml Bump versions on crates with nonfunctional changes 2023-06-30 08:30:55 -04:00
README.md doc: consistent summary line for the READMEs 2022-12-20 14:31:47 +01:00

README.md

tor-basic-utils

Utilities (low-level) for Tor

Miscellaneous utilities for tor-* and arti-*.

This crate lives at the bottom of the Tor crate stack. So it contains only utilities which have no tor-* (or arti-*) dependencies.

There is no particular theme. More substantial sets of functionality with particular themes are to be found in other tor-* crates.

License: MIT OR Apache-2.0