Cargo Features

dasp = { version = "0.11.0", default-features = false, features = ["std", "all", "all-no-std", "envelope", "envelope-peak", "envelope-rms", "interpolate", "interpolate-floor", "interpolate-linear", "interpolate-sinc", "peak", "ring_buffer", "rms", "signal", "signal-boxed", "signal-bus", "signal-envelope", "signal-rms", "signal-window", "signal-window-hanning", "signal-window-rectangle", "slice", "slice-boxed", "window", "window-hanning", "window-rectangle"] }
default = std

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

std default all?

Enables std of dasp_envelope, dasp_frame, dasp_interpolate, dasp_peak, dasp_ring_buffer, dasp_rms, dasp_sample, dasp_signal, dasp_slice, and dasp_window

all = all-no-std, std
all-no-std all? = envelope, envelope-peak, envelope-rms, interpolate, interpolate-floor, interpolate-linear, interpolate-sinc, peak, ring_buffer, rms, signal, signal-boxed, signal-bus, signal-envelope, signal-rms, signal-window, signal-window-hanning, signal-window-rectangle, slice, slice-boxed, window, window-hanning, window-rectangle
envelope all-no-std? signal-envelope? = dasp_envelope
envelope-peak all-no-std?

Enables peak of dasp_envelope

envelope-rms all-no-std?

Enables rms of dasp_envelope

interpolate all-no-std? = dasp_interpolate
interpolate-floor all-no-std?

Enables floor of dasp_interpolate

interpolate-linear all-no-std?

Enables linear of dasp_interpolate

interpolate-sinc all-no-std?

Enables sinc of dasp_interpolate

peak all-no-std? = dasp_peak
ring_buffer all-no-std? = dasp_ring_buffer
rms all-no-std? signal-rms? = dasp_rms
signal all-no-std? = dasp_signal
signal-boxed all-no-std?

Enables boxed of dasp_signal

signal-bus all-no-std?

Enables bus of dasp_signal

signal-envelope all-no-std? = envelope

Enables envelope of dasp_signal

signal-rms all-no-std? = rms

Enables rms of dasp_signal

signal-window all-no-std? = window

Enables window of dasp_signal

signal-window-hanning all-no-std? = window-hanning

Enables window-hanning of dasp_signal

signal-window-rectangle all-no-std? = window-rectangle

Enables window-rectangle of dasp_signal

slice all-no-std? = dasp_slice
slice-boxed all-no-std?

Enables boxed of dasp_slice

window all-no-std? signal-window? = dasp_window
window-hanning all-no-std? signal-window-hanning?

Enables hanning of dasp_window

window-rectangle all-no-std? signal-window-rectangle?

Enables rectangle of dasp_window

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

dasp_envelope envelope?
dasp_interpolate interpolate?
dasp_peak peak?
dasp_ring_buffer ring_buffer?
dasp_rms rms?
dasp_signal signal?
dasp_slice slice?
dasp_window window?