Cargo Features

[dependencies]
dimensional_quantity = { version = "0.1.8", default-features = false, features = ["std", "decimal", "use_serde"] }
default = std

The std feature is set by default whenever dimensional_quantity is added without default-features = false somewhere in the dependency tree.

std default

Enables std of num-traits, optional rust_decimal, and optional serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

decimal

Enables rust_decimal

Affects extended::decimal

use_serde

Enables serde, serde of optional rust_decimal