Cargo Features
[dependencies]
pointillism = { version = "0.4.3", default-features = false, features = ["cpal", "midly", "github-actions-hack", "all-features", "github-actions-all-features", "hound", "human-duration"] }
- default = hound, human-duration
-
These default features are set whenever
pointillism
is added without
somewhere in the dependency tree.default-features = false - cpal all-features?
-
Enables cpal
Optional dependencies.
Affects
pointillism::cpal
… - midly all-features?
-
Enables midly
Affects
melody::MidiNoteData
… - github-actions-hack github-actions-all-features?
-
Disables some code that won't/can't work on Github actions.
- all-features github-actions-all-features? = cpal, midly
-
All features to test code with.
- github-actions-all-features = all-features, github-actions-hack
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.
- hound default
-
Affects
buffers::wav
,sample::Audio.write
,sample::WavSample
… - human-duration default