1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// SPDX-License-Identifier: BSD-3-Clause
// Copyright (C) 2026 Vallés Puig, Ramon
//! Predefined unit modules grouped by dimension.
//!
//! `qtty-core` ships a small set of built-in units so that conversions and formatting work out of the box without
//! downstream crates having to fight Rust’s orphan rules.
//!
//! ## Modules
//!
//! - [`angular`]: angle units plus wrapping and trig helpers.
//! - [`time`]: time units (SI second is canonical scaling unit).
//! - [`length`]: length units (SI metre is canonical scaling unit) plus astronomy/geodesy helpers.
//! - [`mass`]: mass units (gram is canonical scaling unit).
//! - [`area`]: area units (SI square metre is canonical scaling unit) plus [`SquareOf`](area::SquareOf) alias.
//! - [`volume`]: volume units (SI cubic metre is canonical scaling unit) plus [`CubeOf`](volume::CubeOf) alias.
//! - [`velocity`]: velocity aliases (`Length / Time`) built from [`length`] and [`time`].
//! - [`acceleration`]: acceleration aliases and named SI unit (`Length / Time²`).
//! - [`force`]: force units (SI newton is canonical scaling unit).
//! - [`energy`]: energy units (SI joule is canonical scaling unit).
//! - [`power`]: power units (watt is canonical scaling unit).
//! - [`pressure`]: pressure units (SI pascal is canonical scaling unit).
//! - [`radiometry`] (feature: `radiometry`): radiance, photon-radiance, S10.
//! - [`solid_angle`]: solid-angle units (square degree is canonical scaling unit).
//! - [`temperature`]: thermodynamic temperature units (kelvin is canonical scaling unit).
//! - [`angular_rate`]: angular-rate aliases (`Angular / Time`) built from [`angular`] and [`time`].
//! This is **not** SI Hertz-style inverse-time frequency (`T⁻¹`); see the module docs.
//! - [`dimensionless`]: named dimensionless ratios such as optical depth and airmass.