[package]
edition = "2024"
rust-version = "1.93"
name = "embedded-dsp"
version = "0.5.0"
authors = ["Gerzain Mata <leftger@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A no_std Rust digital signal processing library for microcontrollers, embedded systems, and real-time signals."
readme = "README.md"
keywords = [
"dsp",
"embedded",
"no_std",
"signal-processing",
"fft",
]
categories = [
"embedded",
"no-std",
"science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/leftger/embedded-dsp"
[package.metadata.docs.rs]
all-features = true
[features]
alloc = []
audio = ["transform"]
basic-math = []
beamforming = ["transform"]
companding = []
complex-math = []
const-generics = [
"filtering",
"matrix",
]
controller = []
cordic = []
cortex-m-dsp = []
default = [
"std",
"libm",
"full",
]
defmt = [
"dep:defmt",
"fixed/defmt",
]
distance = []
dynamics = ["pipeline"]
fast-math = []
filter-analysis = []
filter-design = []
filtering = []
fixed-point = []
full = [
"audio",
"basic-math",
"beamforming",
"companding",
"complex-math",
"const-generics",
"controller",
"cordic",
"distance",
"dynamics",
"fast-math",
"filter-analysis",
"filter-design",
"filtering",
"fixed-point",
"interpolation",
"kalman",
"lut",
"matrix",
"pipeline",
"pll",
"psd",
"quaternion",
"resampling",
"spatial",
"statistics",
"support",
"transform",
"window",
]
interpolation = []
kalman = ["matrix"]
libm = ["dep:libm"]
lut = []
matrix = ["basic-math"]
nalgebra = [
"quaternion",
"dep:nalgebra",
]
pipeline = ["filtering"]
pll = []
psd = [
"transform",
"window",
]
quaternion = []
resampling = []
serde = [
"dep:serde",
"fixed/serde",
]
spatial = []
statistics = ["fast-math"]
std = []
support = []
transform = []
window = []
[lib]
name = "embedded_dsp"
path = "src/lib.rs"
[[example]]
name = "audio_speech_pipeline"
path = "examples/audio_speech_pipeline.rs"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[example]]
name = "filter_workbench_and_analysis"
path = "examples/filter_workbench_and_analysis.rs"
[[example]]
name = "motor_control_foc"
path = "examples/motor_control_foc.rs"
[[example]]
name = "perf_comparison"
path = "examples/perf_comparison.rs"
[[example]]
name = "sensor_fusion_navigation"
path = "examples/sensor_fusion_navigation.rs"
[[example]]
name = "spatial_vision_processing"
path = "examples/spatial_vision_processing.rs"
[[example]]
name = "spectral_radar_transforms"
path = "examples/spectral_radar_transforms.rs"
[[test]]
name = "dsp_tests"
path = "tests/dsp_tests.rs"
[[bench]]
name = "dsp_benchmarks"
path = "benches/dsp_benchmarks.rs"
harness = false
[dependencies.defmt]
version = "0.3"
optional = true
default-features = false
[dependencies.fixed]
version = "1.31.0"
default-features = false
[dependencies.libm]
version = "0.2.11"
optional = true
[dependencies.nalgebra]
version = "0.35"
features = ["libm"]
optional = true
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
default-features = false