#irox #epsg #projection #no-alloc #aerospace

no-std irox-units

Physical Quantities, Units, & Reference Frames Library

17 releases

0.4.7 Mar 1, 2025
0.4.5 Jan 26, 2025
0.4.3 Dec 15, 2024
0.4.1 Aug 4, 2024
0.3.3 Nov 29, 2023

#1042 in Math

Download history 20/week @ 2025-08-18 68/week @ 2025-08-25 73/week @ 2025-09-01 36/week @ 2025-09-08 28/week @ 2025-09-15 36/week @ 2025-09-22 65/week @ 2025-09-29 19/week @ 2025-10-06 40/week @ 2025-10-13 49/week @ 2025-10-20 34/week @ 2025-10-27 25/week @ 2025-11-03 27/week @ 2025-11-10 34/week @ 2025-11-17 26/week @ 2025-11-24

112 downloads per month
Used in 19 crates (10 directly)

MIT/Apache

525KB
13K SLoC

IROX-Units

The little Units Library that could

Module Structure:

  • bounds - Bounding Boxes and Range Checks
  • shapes - Ways to define and describe shapes
    • circular - CircularAspect enum and CircularDimension struct, describes a circle by radius or diameter with appropriate length units.
    • elliptical - Ellipse struct, describes an ellipse using two CircularDimension axes and an optional CompassDirection orientation of the first axis
  • units - Physical Quantities
    • angle - Angle Types, Angle, AngleUnits for Degrees and Radians
    • compass - Compass Types,
      • Compass, and the absolute types: Heading, Track, Bearing, Course, Azimuth,
      • CompassOffest, and the relative types: RelativeBearing
    • datasize - Computer Data Sizes, Bytes, Kilobytes, etc
    • duration - Contains Duration, describing a fixed amount of seconds / minutes / hours / milliseconds / etc
    • length - The SI Length quantity, Meters, Feet, etc
    • speed - The SI Speed quantity, MetersPerSecond, Knots, etc
    • temperature - The SI Temperature quantity, Celcius, Kelvin, etc

Dependencies