# iliekturtles/uom

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

Repository: https://github.com/iliekturtles/uom
Canonical: https://ross.abutalabs.com/products/uom
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: rust, si, dimensional-analysis
Last push: 2026-04-23T00:25:37+00:00

## Health v2 (maintenance only)
Score: 58/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 78, release rhythm 8, longevity 100
- inputs: {"age_days": 3725, "days_push": 133, "days_rel": 474, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1254, forks 129 (observed 2026-08-28T04:04:08.789555+00:00)

## What it is
uom is a Rust crate providing type-safe, zero-cost dimensional analysis with a pre-built International System of Units (SI) and support for custom unit systems. It catches unit mismatches at compile time, preventing errors like the Mars Climate Orbiter unit mixup.

## Use cases
- convert between measurement units safely in Rust
- prevent adding incompatible physical quantities like length and time
- perform dimensional analysis with compile-time unit checking
- define custom systems of quantities and units
- use SI units in embedded no_std Rust projects
- compute velocity or acceleration from length and time quantities

## When to choose
- you write Rust code dealing with physical quantities and want compile-time unit safety
- you need SI unit conversions with zero runtime overhead
- you need a no_std-compatible units library
- you want to define custom measurement systems

## When to avoid
- you work in a language other than Rust
- you only need simple unit conversions without type safety
- you need runtime-configurable or dynamic unit systems

## Facets
- artifact type: library
- maturity: stable
- function: math, type-system
- domain: developer-tools
- platform: rust, cross-platform, embedded
- tags: units-of-measurement, dimensional-analysis, si-units, no-std, zero-cost-abstraction, algorithms, physics

## Member repositories
- iliekturtles/uom (main) score 58

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:08.789555+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:07:24.356724+00:00, confidence not recorded.
  - readme: https://github.com/iliekturtles/uom (fetched 2026-08-28T04:04:08.789555+00:00, sha 4439c3422e1e)
  - registry_crates: https://crates.io/api/v1/crates/uom (fetched 2026-08-29T12:17:50.778155+00:00, sha 7cef3ab45d87)
- Data as of 2026-08-30T08:39:29.467469+00:00.
