Cargo Features

[dependencies]
octofhir-ucum = { version = "0.5.1", default-features = false, features = ["std", "serde", "cli", "wasm", "fhir", "wee_alloc"] }
default = std

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

std default cli? fhir?
serde fhir? wasm?

Enables serde

Core dependencies

cli = std

Enables anyhow, clap, and human-panic

clap:

CLI dependencies

Required by the binary

wasm = serde

Enables console_error_panic_hook, serde-wasm-bindgen, and wasm-bindgen

wasm-bindgen:

WASM dependencies

Affects octofhir-ucum::wasm

fhir = serde, std

Affects octofhir-ucum::fhir

Features from optional dependencies

wee_alloc implicit feature

Enables wee_alloc

wee_alloc:

wee_alloc: The Wasm-Enabled, Elfin Allocator