Cargo Features

[dependencies]
ensnare = { version = "0.0.2-alpha.19", default-features = false, features = ["std", "cpal", "egui", "f32", "f64", "hound", "simple"] }
default = egui, f64, std

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

std default

Enables std of anyhow and getrandom

getrandom:

Implement std-only traits for getrandom::Error

cpal

Enables cpal

egui default = eframe

Affects traits::DisplaysAction, traits::Displays

f32

Affects numbers::SampleType, numbers::usize_to_sample_type

f64 default

Affects numbers::SampleType, numbers::usize_to_sample_type

hound

Enables hound

not_yet simple

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.

eframe egui