Cargo Features

[dependencies]
sampler = { version = "0.2.0", default-features = false, features = ["serde_serialization", "wav"] }
default = wav

The wav feature is set by default whenever sampler is added without default-features = false somewhere in the dependency tree.

serde_serialization = find_folder, serde, serde_json

Enables serde_serialization of instrument, pitch_calc ^0.11.0, and time_calc ^0.11.0

Affects sampler::private

wav default = hound

Affects audio::wav, map::wav

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.

find_folder serde_serialization?
hound wav

Enables hound ^2.0.0

serde serde_serialization?

Enables serde ^0.7.0

serde_json serde_serialization?

Enables serde_json ^0.7.0