# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "spectrum-analyzer"
version = "0.4.3"
authors = ["Philipp Schuster <phip1611@gmail.com>"]
description = "A simple and fast `no_std` library to get the frequency spectrum of a digital signal (e.g. audio) using FFT.\nIt follows the KISS principle and consists of simple building blocks/optional features.\n"
homepage = "https://github.com/phip1611/spectrum-analyzer"
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"
resolver = "2"
[profile.dev]
opt-level = 1
[dependencies.float-cmp]
version = "0.8.0"

[dependencies.libm]
version = "0.2.1"

[dependencies.microfft]
version = "0.3.1"
optional = true

[dependencies.num-complex]
version = "0.3"
default-features = false

[dependencies.rustfft]
version = "5.0.1"
optional = true
[dev-dependencies.audio-visualizer]
version = "0.2.2"

[dev-dependencies.minimp3]
version = "0.5.1"

[features]
default = ["rustfft-complex"]
microfft-complex = ["microfft"]
microfft-real = ["microfft"]
rustfft-complex = ["rustfft"]
