Cargo Features

[dependencies]
ridgeline = { version = "0.2.0", default-features = false, features = ["input"] }
default = input

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

input default = cpal, thiserror

Affects ridgeline::BuildSystemAudioError, ridgeline::BuildSystemAudioResult, ridgeline::SystemAudio, ridgeline::SystemAudioBuilder

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

Enables cpal ^0.13

thiserror input

Enables thiserror ^1