Expand description
A set of useful utilities which are used by my ringing projects but aren’t directly related to
ringing. The name kneasle_ringing_utils
is intentionally obscure; this isn’t meant for
public use but needs to be on crates.io so that Monument can be installed with cargo install
.
I don’t want to clutter up possibly useful names on crates.io, hence the obscure name.
Structs§
- BigNum
Float - A wrapper over floats where
Display
formats the number suffixed with a multiplier (e.g.M
orG
for millions or billions). This differs fromBigNumInt
because it will output up to 3 decimal places if the number is small enough - BigNum
Int - A wrapper over integers where
Display
formats the number suffixed with a multiplier (e.g.M
orG
for millions or billions). This differs fromBigNumFloat
because it will never output a decimal number of values. - Pretty
Duration - A wrapper around
Duration
which formats in a way that’s easy to digest for all values, whether that’s nanoseconds or many days.