Cargo Features

[dependencies]
voirs-cli = { version = "0.1.0-alpha.2", default-features = false, features = ["gpu", "metal", "cuda", "onnx", "emotion", "cloning", "conversion", "singing", "spatial", "cloud"] }
default = cloning, cloud, conversion, emotion, singing, spatial

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

gpu = metal

Enables gpu of voirs-acoustic and voirs-vocoder

voirs-acoustic:

On macOS, use Metal; on Linux/Windows would use cuda

metal gpu?

Enables metal of voirs-acoustic and voirs-vocoder

cuda

Enables cuda of voirs-acoustic and voirs-vocoder

onnx

Enables onnx of voirs-acoustic

Affects commands::kokoro

emotion default

Enables voirs-emotion

Affects emotion::EmotionCommand, emotion::execute_emotion_command, commands::emotion

cloning default

Enables voirs-cloning

Affects cloning::CloningCommand, cloning::execute_cloning_command, commands::cloning

conversion default

Enables voirs-conversion

Affects conversion::ConversionCommand, conversion::execute_conversion_command, commands::conversion

singing default

Enables voirs-singing

Affects commands::singing, singing::SingingCommand, singing::execute_singing_command

spatial default

Enables voirs-spatial

Affects commands::spatial, spatial::SpatialCommand, spatial::execute_spatial_command

cloud default