spectrograms 0.1.0

A focused Rust library for computing spectrograms with a simple, unified API
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"
name = "spectrograms"
version = "0.1.0"
authors = ["Jack Geraghty (jmg049) <jgeraghty049@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A focused Rust library for computing spectrograms with a simple, unified API"
readme = "README.md"
keywords = [
    "spectrogram",
    "audio",
    "fft",
    "mel",
    "signal-processing",
]
categories = [
    "multimedia::audio",
    "science",
]
license = "MIT"
repository = "https://github.com/jmg049/Spectrograms"

[package.metadata.docs.rs]
all-features = false
features = ["realfft"]
default-target = "x86_64-unknown-linux-gnu"

[features]
default = [
    "realfft",
    "python",
]
fftw = ["dep:fftw-sys"]
python = [
    "dep:pyo3",
    "dep:numpy",
]
realfft = ["dep:realfft"]
serde = ["dep:serde"]

[lib]
name = "spectrograms"
crate-type = [
    "lib",
    "cdylib",
]
path = "src/lib.rs"

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

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

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

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

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

[[test]]
name = "builder_tests"
path = "tests/builder_tests.rs"

[[test]]
name = "chroma_tests"
path = "tests/chroma_tests.rs"

[[test]]
name = "cqt_tests"
path = "tests/cqt_tests.rs"

[[test]]
name = "mfcc_tests"
path = "tests/mfcc_tests.rs"

[[test]]
name = "params_tests"
path = "tests/params_tests.rs"

[[test]]
name = "spectrogram_tests"
path = "tests/spectrogram_tests.rs"

[[test]]
name = "streaming_tests"
path = "tests/streaming_tests.rs"

[[test]]
name = "window_tests"
path = "tests/window_tests.rs"

[dependencies.fftw-sys]
version = "0.8.0"
optional = true

[dependencies.ndarray]
version = "=0.17.2"

[dependencies.num-complex]
version = "0.4.6"

[dependencies.numpy]
version = "0.27"
optional = true

[dependencies.pyo3]
version = "0.27"
features = [
    "extension-module",
    "experimental-inspect",
]
optional = true

[dependencies.rayon]
version = "1.11.0"

[dependencies.realfft]
version = "3.5.0"
optional = true

[dependencies.regex]
version = "1.12.2"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2.0.18"