Skip to content

Next-generation crate for compile-time dimensional analysis

License

Notifications You must be signed in to change notification settings

Logarithmus/typed_units

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uom-ng

Design goals:

  • Ability to express arbitrary combinations of units (via typenum)
  • Reasonably short compilation errors (using const generics)
  • Units should be separate from values (like in C++'s units, unlike in dimensioned)
  • let speed = 10_f32 * (m / s) support (like dimensioned)
  • Storage types, prefixed unit aliases & unit categories toggled via cargo features
  • Lowercase constants
  • Unit conversions
  • Nalgebra/glam/whatever support under feature flag

About

Next-generation crate for compile-time dimensional analysis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages