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

`memchr` 2.4.0 is using `non_exhaustive` which is not supported. https://github.com/iliekturtles/uom/runs/2805145085?check_suite_focus=true Can the version selection be overridden in some way to force an older version of `memchr`? Do we need to...

Type complements `Rational32` and `Rational64`

`num_rational::Rational` was [deprecated in `0.4`](https://docs.rs/num-rational/0.4.0/num_rational/type.Rational.html). Is this actually a useful underlying storage type for `uom`? Would a user ever really use a ratio backed by `isize` rather than picking an...

See discussion starting at https://github.com/iliekturtles/uom/issues/26#issuecomment-613813367 and https://github.com/iliekturtles/uom/pull/250#issuecomment-819591948. Also see #165 for a general discussion about making as many functions as possible const.

Hey there, Is there any interest in adding "unit markers" to uom? Python has a leg up on uom's ergonomics because you can simply multiply the unit name with the...

For a project of mine I'm working on making units to represent what I'm calling "music time", things like a breve, a whole note, a semiquaver, a beat, etc. These...

To make a new combined Quantity representing a change in mass concentration per time, that works with SI, one can do something like: ``` type MassConcentrationRate = Quantity; ``` That's...

Hi there, I'm considering using uom for [`hifitime`](https://github.com/ChristopherRabotin/hifitime) and [`nyx`](https://gitlab.com/chrisrabotin/nyx), but I would like to be able to specify that a given structure stores the data in a given time....

Stable in 1.50.0. How should support for the MSRV be done? Delay implementation? https://blog.rust-lang.org/2021/02/11/Rust-1.50.0.html

Original title: Can't create a MolarConcentration from AmountOfSubstance / Volume I have a need to take a `MolarConcentration` as a function parameter. However, I'm running into this problem: ```rust use...