3 releases (breaking)
Uses new Rust 2024
| 0.15.0 | Mar 31, 2026 |
|---|---|
| 0.14.0 | Mar 19, 2026 |
| 0.13.0 | Feb 13, 2026 |
#56 in #copper
646 downloads per month
Used in 46 crates
(via cu29)
28KB
490 lines
cu29-units
Copper-native SI quantity wrappers with a uom-shaped API, plus serde/bincode support and optional reflection support.
Feature Flags
default=["std"]std: enablesuom/stdreflect: enablesbevy_reflectderive/traits for wrapped unit typestextlogs: compatibility no-op for downstream feature forwarding
Namespace via cu29
When using the cu29 facade crate with its units feature (enabled by default), these types are available at:
use cu29::units::si::f32::Length;
use cu29::units::si::length::meter;
You can also depend on cu29-units directly:
use cu29_units::si::f32::Length;
use cu29_units::si::length::meter;
Dependencies
~2.5–4.5MB
~94K SLoC