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

Generate impls using some kind of compile-time calculation: custom derive, `build.rs`, `const fn`? Currently all conversion factors go through `f64` which may have run-time costs and causes imprecision issues where...

- [X] rust-lang/rust#38269 is now fixed. Verify which rustc version it is in. Update readme with more details - [ ] Details about `autoconvert` - [ ] Add issue to...

help wanted

I presume you looked at dimensioned before writing uom, and it would be convenient to have in the documentation what the differences are between them.

I don't know how important this is to you, but I just had a test fail in a very weird way: https://travis-ci.org/iliekturtles/uom/builds/530889954 . Re-running the build solved the issue with...

This crate seems to use a mix of the BIPM and NIST names, such as `meter` and `liter` (NIST) instead of `metre` and `litre` (BIPM). It simultaneously uses the prefix...

`impl From for Quantity ...` Allow for explicit conversion between quantities with different base units.

Allow one location? Both? Constant created by system macro (e.g. `ISQ!`) with the appropriate unit. Accessed in a submodule so there are no name collisions? `let _ = uom::si::f32::velocity::c;` ```rust...

Add a `cgs` module and feature similar to `si` for the ISQ. What are the consequences of all electromagnetic units being derived? What changes would be necessary in `uom`?

http://unitsofmeasure.org/ucum.html -- review specification and create more detailed issues about what changes are needed.

Hi, I recently packaged your crate for debian. When running the tests the following error occurs: ``` Compiling uom v0.33.0 (/usr/share/cargo/registry/uom-0.33.0) Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=uom CARGO_MANIFEST_DIR=/usr/share/cargo/registry/uom-0.33.0 CARGO_PKG_AUTHORS='Mike Boutin ' CARGO_PKG_DESCRIPTION='Units of...