Cargo Features
[dependencies]
knyst = { version = "0.5.1", default-features = false, features = ["serde-derive", "debug-warn-on-alloc", "unstable", "jack", "cpal"] }
- default = assert_no_alloc, cpal, jack
-
These default features are set whenever
knyst
is added without
somewhere in the dependency tree.default-features = false - serde-derive
-
Enables serde
- debug-warn-on-alloc
-
Enables warn_debug of assert_no_alloc
- unstable
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.
- jack default
-
Enables jack
JACK audio backend
- cpal default
-
Enables cpal
CPAL audio backend
Affects
audio_backend::cpal_backend
… - assert_no_alloc default debug-warn-on-alloc?