Cargo Features

[dependencies]
diman = { version = "0.5.1", default-features = false, features = ["std", "num-traits-libm", "glam", "glam-vec2", "glam-dvec2", "glam-vec3", "glam-dvec3", "f32", "f64", "si", "rational-dimensions", "mpi", "hdf5", "rand", "serde"] }
default = f32, f64, si, std

These default features are set whenever diman is added without default-features = false somewhere in the dependency tree.

std default

Enables std of diman_lib and diman_unit_system

num-traits-libm

Enables num-traits-libm of diman_lib and diman_unit_system

glam glam-dvec2? glam-dvec3? glam-vec2? glam-vec3?

Enables glam ^0.24.2, glam of diman_unit_system

glam-vec2 = f32, glam

Enables glam-vec2 of diman_unit_system

glam-dvec2 = f64, glam

Enables glam-dvec2 of diman_unit_system

glam-vec3 = f32, glam

Enables glam-vec3 of diman_unit_system

glam-dvec3 = f64, glam

Enables glam-dvec3 of diman_unit_system

f32 default glam-vec2? glam-vec3?

Enables f32 of diman_unit_system

f64 default glam-dvec2? glam-dvec3?

Enables f64 of diman_unit_system

si default

Affects diman::si

rational-dimensions

Enables rational-dimensions of diman_unit_system

mpi

Enables mpi ^0.7 and once_cell, mpi of diman_unit_system

hdf5

Enables hdf5-metno, hdf5 of diman_unit_system

rand

Enables rand, rand of diman_unit_system

serde

Enables serde, serde of diman_unit_system