spectrum-analyzer 2.0.0

An easy to use and fast `no_std` library (with `alloc`) to get the frequency spectrum of a digital signal (e.g. audio) using FFT.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85.1"
name = "spectrum-analyzer"
version = "2.0.0"
authors = ["Philipp Schuster <phip1611@gmail.com>"]
build = false
exclude = [
    "res",
    "test",
    ".github",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
An easy to use and fast `no_std` library (with `alloc`) to get the frequency
spectrum of a digital signal (e.g. audio) using FFT.
"""
documentation = "https://docs.rs/spectrum-analyzer"
readme = "README.md"
keywords = [
    "fft",
    "spectrum",
    "frequencies",
    "audio",
    "dsp",
]
categories = [
    "multimedia",
    "no-std",
]
license = "MIT"
repository = "https://github.com/phip1611/spectrum-analyzer"

[lib]
name = "spectrum_analyzer"
path = "src/lib.rs"

[[example]]
name = "live-visualization"
path = "examples/live-visualization.rs"

[[example]]
name = "minimal"
path = "examples/minimal.rs"

[[example]]
name = "mp3-samples"
path = "examples/mp3-samples.rs"

[[bench]]
name = "fft_spectrum_bench"
path = "benches/fft_spectrum_bench.rs"
harness = false

[dependencies.float-cmp]
version = "~0.10"

[dependencies.libm]
version = "~0.2"

[dependencies.microfft]
version = "~0.6"
features = ["size-32768"]

[dependencies.paste]
version = "~1.0"

[dev-dependencies.audio-visualizer]
version = "~0.7"

[dev-dependencies.criterion]
version = "~0.8"

[dev-dependencies.rand]
version = "0.10"

[dev-dependencies.symphonia]
version = "0.6"
features = ["mp3"]
default-features = false

[profile.dev]