Cargo Features

RsLLM has no features set by default.

[dependencies]
rsllm = { version = "0.6.2", features = ["dpdk_enabled", "mps", "ndi", "metavoice", "audioplayer", "fonts"] }
dpdk_enabled = capsule
mps = candle-metal-kernels, metal

Enables metal of candle-core ^0.5.0 and candle-nn ^0.5.0

ndi = ndi-sdk-rsllm

Affects rsllm::ndi, ndi::send_images_over_ndi, ndi::send_audio_samples_over_ndi, pipeline::send_to_ndi

metavoice

Affects candle_metavoice::metavoice

audioplayer = rodio
fonts = imageproc, rusttype

Affects rsllm::wrap_text, rsllm::text_width, rsllm::convert_rgb_to_rgba_with_text

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-metal-kernels mps?

Enables candle-metal-kernels ^0.5.0

metal mps?

Enables metal ^0.27.0

capsule dpdk_enabled?
ndi-sdk-rsllm ndi?
imageproc fonts?

Enables imageproc ^0.23.0

rusttype fonts?
rodio audioplayer?

Enables rodio ^0.17.3