Cargo Features
[dependencies]
bliss-audio = { version = "0.9.3", default-features = false, features = ["ffmpeg", "aubio-static", "build-ffmpeg", "ffmpeg-static", "rpi", "update-aubio-bindings", "python-bindings", "bench", "library", "serde", "integration-tests"] }
- default = aubio-static, ffmpeg
-
These default features are set whenever
bliss-audio
is added without
somewhere in the dependency tree.default-features = false - 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-depEnables 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, and indicatif, rusqlite ^0.28.0, serde_ini, serde_json, and tempdir and serde of ndarray ^0.15.6
rayon
is used only bypar_mapv_inplace
in chroma.rs. TODO: is the speed gain that substantial?Affects
bliss-audio::library
… - serde library?
-
Enables serde of extended-isolation-forest and serde
Deps for the library feature
- integration-tests