Cargo Features

[dependencies]
bliss-audio = { version = "0.7.0", default-features = false, features = ["ffmpeg", "aubio-static", "build-ffmpeg", "ffmpeg-static", "rpi", "update-aubio-bindings", "python-bindings", "bench", "library", "serde"] }
default = aubio-static, ffmpeg

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

ffmpeg default

Enable song decoding with ffmpeg. Activated by default, and needed for almost all use-cases, disable it at your own risk!
It is only useful if you want to implement the decoding of the tracks yourself and just feed them to bliss, so you don't depend on ffmpeg.
 TODO make ffmpeg a test-dep

Enables ffmpeg-next and ffmpeg-sys-next

Affects decoder::ffmpeg

aubio-static default

Enables static of bliss-audio-aubio-rs

Until https://github.com/aubio/aubio/issues/336 is somehow solved Hopefully we'll be able to use the official aubio-rs at some point.

build-ffmpeg

Build ffmpeg instead of using the host's.

Enables build of ffmpeg-next

ffmpeg-static

Enables static of ffmpeg-next

rpi

Build for raspberry pis

Enables rpi of ffmpeg-next

update-aubio-bindings

Use if you get "No prebuilt bindings. Try use bindgen feature"

Enables bindgen of bliss-audio-aubio-rs

python-bindings

Use if you want to build python bindings with maturin.

Enables fftw3 of bliss-audio-aubio-rs

bench

Enable the benchmarks with cargo +nightly bench --features=bench

library = serde

Enables anyhow, dirs, indicatif, rusqlite ^0.28.0, serde_ini, serde_json, and tempdir

Affects bliss-audio::library

serde library?

Enables serde of extended-isolation-forest and serde

Deps for the library feature