qtty-core 0.7.1

Core types for zero-cost strongly-typed physical quantities.
Documentation

qtty-core

Low-level type system and built-in unit catalogs behind qtty.

Most applications should depend on qtty instead. Reach for qtty-core when you need the primitive building blocks directly:

  • Unit marker types and Quantity<U, S>
  • structural derived units such as Per<N, D> and Prod<A, B>
  • built-in unit catalogs under qtty_core::{angular, length, time, ...}
  • no_std support and optional serde, pyo3, diesel, and tiberius integrations

Install:

[dependencies]
qtty-core = "0.7.1"

Minimal no_std:

[dependencies]
qtty-core = { version = "0.7.1", default-features = false }

Repository docs: