Cargo Features

[dependencies]
lasprs = { version = "0.6.7", default-features = false, features = ["pulse-api", "cpal-api", "record", "f64", "f32", "python-bindings", "extension-module"] }
default = cpal-api, f64, record

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

pulse-api

Affects api::api_pulse

cpal-api default

Enables cpal

Cross-platform audio lib

Affects api::api_cpal

record default

Enables hdf5-sys

Required for recording and looking into measurements

and uuid

For getting UUIDs in recording

and chrono and hdf5

chrono:

For getting timestamps. Only useful when recording.

f64 default
f32
python-bindings

Enables numpy ^0.22.0

Python bindings for Numpy arrays

and pyo3 ^0.22.5

Python bindings

Affects daq::add_py_classses

extension-module