Cargo Features

[dependencies]
hodaun = { version = "0.4.1", default-features = false, features = ["input", "noise", "notes", "output", "wav", "serde"] }
default = input, noise, notes, output, wav

These default features are set whenever hodaun is added without default-features = false somewhere in the dependency tree.

input default = cpal, thiserror
noise default = rand

Affects gen::Noise

notes default
output default = cpal, thiserror
wav default = hound

Affects codec::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.

cpal input output
hound wav
rand noise
serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

thiserror input output