uom icon indicating copy to clipboard operation
uom copied to clipboard

Units of measurement -- type-safe zero-cost dimensional analysis

Results 151 uom issues
Sort by recently updated
recently updated
newest added

Currently you need to know to dig all the way into one of the quantity type aliases (e.g. [`Acceleration`](https://docs.rs/uom/0.22.1/uom/si/acceleration/type.Acceleration.html#method.format_args)) or view the documentation for one of the types in the...

help wanted

So it does what the title says: use one of `std::ops`, so that it can be used to create "literals" of that unit. implementation should be simple, something like (I'm...

I'm pretty new to this library, but I think I found a bug concerning multiplication of different quantities. Multiplying `InformationRate` and `Time` should result in `Information`, at least I would...

Suppose we have a length stored in `u32`. How could I convert its storage type to `f64`? So far it can be done by this unsafe way: ```rust let u32length...

As far as I can see (but maybe I missed something), uom's `Quantity`does not implement `Display`, and its `Debug` impl has a very basic unit selection logic. For example, debug-printing...

I had to store the molar gas constant in a place where I had to write the type of the variable for Rust. The SI unit is "joule per kelvin...

`Quantity::new` method can panic if conversion into the base unit fails. E.g. with this code, where `Information` quantity is backed by a `u64` type ``` let value = kbytes.parse::()?; let...

https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#minimal-versions -- manifest field released with 1.56.0. https://www.reddit.com/r/rust/comments/ctayew/rust_crypto_developers_please_stop_the_yanking/

Support references to other units in a unit's conversion factor. via #31 For unit aliases it would be cool if the following were possible: @bit: prefix!(none) / 8.0; "b", "bit",...

It's would be nice to see more examples (and probably better documented). For example: https://github.com/iliekturtles/uom/blob/master/examples/base.rs#L10-L16 could contain copy from [doc](https://docs.rs/uom/0.19.0/uom/macro.ISQ.html) or just link ```rust mod cgs { // [ More...

help wanted