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, the Quantity struct has implemented a few methods like `new` and `format_args` defined on (what looks like) the given dimensions for that system of measurements Sample methods defined on...

Add new marker struct(s) to allow for more customizable parsing. See discussion pulled from linked issues below for more details. Copied from #274 ---- I'm hesitant to accept this solution...

Hi, I'm trying to use this crate as a registry of units and conversions. I have a list of values (e.g pressure at different points) in one units (e.g kPa),...

Hi... Love the crate.... But, I have to pre-edit the strings before using "val.from_str..." In most cases the string input does not match the "abbreviation/Singular/Plural"... like: ```rust let junk_val =...

Hi, I am trying to use uom quantities in a generic context. More specifically, I am trying to use mathematical functions such as abs, ceil, floor, signum, etc on these...

https://github.com/rust-lang/rust/pull/83366

https://doc.rust-lang.org/rustdoc/linking-to-items-by-name.html Also run `cargo deadlinks`.

Because of the number of nested macros manually writing a `use` statement is tedious. Is some kind of macro prelude necessary? Also ensure documentation is updated with instructions or examples...

Consider supporting explicit unit values (e.g. `Meter`, `Foot`). Currently `uom` stores everything as `Quantity` with an associated type for base units. This has a number of advantages but it also...

So far I've always done this task manually. See the diff below and https://github.com/iliekturtles/llvm-opt for examples of how to generate asm/llvm-ir output. `cargo asm` could also be used, although output...