Cargo Features
[dependencies]
dsp = { version = "0.11.0", default-features = false, features = ["audio", "random"] }
- default = audio
-
The
audio
feature is set by default wheneverdsp
is added without
somewhere in the dependency tree.default-features = false - audio default = audrey, cpal
-
Affects
dsp::audio
… - random = rand, rand_distr
-
Affects
generator::Noise
…
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.
- cpal audio
- audrey audio
- rand random?
-
Enables rand ^0.8
- rand_distr random?
-
Enables rand_distr ^0.4