quantities 0.14.4

Unit-safe computations with quantities.
Documentation
// ---------------------------------------------------------------------------
// Copyright:   (c) 2021 ff. Michael Amrhein (michael@adrhinum.de)
// License:     This program is part of a larger application. For license
//              details please read the file LICENSE.TXT provided together
//              with the application.
// ---------------------------------------------------------------------------
// $Source: src/prelude.rs $
// $Revision: 2026-01-31T23:33:10+01:00 $

//! This module reexports all macros and types needed to define a quantity.

#[doc(hidden)]
pub use alloc::{borrow::ToOwned, string::String};
#[doc(hidden)]
pub use core::cmp::Ordering;
#[doc(hidden)]
pub use core::fmt;
#[doc(hidden)]
pub use core::ops::{Add, Div, Mul, Neg, Sub};

pub use qty_macros::quantity;

pub use crate::{
    Amnt, AmountT, HasRefUnit, LinearScaledUnit, Quantity, Rate, SIPrefix,
    Unit, ONE,
};
#[cfg(feature = "fpdec")]
pub use crate::{Dec, Decimal};
#[cfg(feature = "serde")]
pub use serde;