Cargo Features

[dependencies]
voirs-emotion = { version = "0.1.0-alpha.2", default-features = false, features = ["acoustic-integration", "sdk-integration", "evaluation-integration", "full-integration", "gpu", "cuda", "wasm", "onnx"] }
default = acoustic-integration

The acoustic-integration feature is set by default whenever voirs-emotion is added without default-features = false somewhere in the dependency tree.

acoustic-integration default full-integration? = voirs-acoustic

Affects acoustic::VoiceQualityMapping, voirs-emotion::acoustic

sdk-integration

Prevent cyclic dependency by not depending on voirs-sdk

Affects voirs-emotion::sdk_integration

evaluation-integration

Prevent cyclic dependency by not depending on voirs-evaluation

Affects voirs-emotion::evaluation_integration

full-integration = acoustic-integration
gpu cuda? = candle-core, candle-nn

Affects voirs-emotion::gpu

cuda = gpu

Enables cuda of candle-core

GPU acceleration (optional)

wasm = console_error_panic_hook, js-sys, wasm-bindgen, wasm-bindgen-futures, wasm-logger, web-sys

Affects voirs-emotion::wasm

onnx

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

candle-core cuda? gpu?
candle-nn gpu?
voirs-acoustic acoustic-integration

Enables voirs-acoustic

VoiRS dependencies

wasm-bindgen wasm?

Enables wasm-bindgen

WebAssembly dependencies (optional)

wasm-bindgen-futures wasm?
js-sys wasm?
web-sys wasm?
console_error_panic_hook wasm?
wasm-logger wasm?