Cargo Features

Trueno-Viz has no features set by default.

[dependencies]
trueno-viz = { version = "0.1.5", features = ["gpu", "gpu-wasm", "parallel", "ml", "graph", "db", "terminal", "svg", "wasm", "full"] }
gpu full?

SIMD acceleration is built-in to trueno by default No feature flag needed

GPU compute acceleration (native)

Enables gpu of trueno

Core SIMD/GPU acceleration

gpu-wasm = wasm

GPU compute acceleration (WebGPU/WASM)

Enables gpu-wasm of trueno

parallel full?

Parallel processing with rayon

Enables parallel of trueno

ml full?

ML library integration

Enables aprender ^0.14

Optional: ML integration

and entrenar ^0.2.7

Optional: Training integration and inference monitoring

and serde

Optional: Serialization (for ML inference monitoring visualization)

Affects interop::aprender, interop::entrenar

graph full?

Graph library integration

Enables trueno-graph

Optional: Graph integration

Affects interop::trueno_graph

db full?

Database integration

Enables trueno-db

Optional: Database integration

terminal full?

Terminal output support

svg full?

SVG output support

wasm gpu-wasm?

WASM/WebAssembly support

Enables js-sys, wasm-bindgen, and web-sys

wasm-bindgen:

Optional: WASM support

Affects trueno-viz::wasm

full = db, gpu, graph, ml, parallel, svg, terminal

All features enabled (excluding wasm which needs special build)