[package]
edition = "2024"
name = "spectrs"
version = "0.2.1"
authors = ["Giacomo Piccinini <giacomo.piccinini@proton.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast spectrogram creation library"
homepage = "https://github.com/giacomopiccinini/spectrs"
readme = "README.md"
keywords = [
"spectrogram",
"audio",
"fft",
"mel",
"librosa",
]
license = "MIT"
repository = "https://github.com/giacomopiccinini/spectrs"
[features]
cli = [
"dep:clap",
"dep:walkdir",
]
default = [
"cli",
"image",
]
image = ["dep:image"]
[lib]
name = "spectrs"
path = "src/lib.rs"
[[bin]]
name = "spectrs"
path = "src/main.rs"
required-features = ["cli"]
[[test]]
name = "test_cli"
path = "tests/test_cli.rs"
[[test]]
name = "test_integration"
path = "tests/test_integration.rs"
[[test]]
name = "test_io"
path = "tests/test_io.rs"
[[test]]
name = "test_librosa_compatibility"
path = "tests/test_librosa_compatibility.rs"
[[test]]
name = "test_mel"
path = "tests/test_mel.rs"
[[test]]
name = "test_spectrogram"
path = "tests/test_spectrogram.rs"
[dependencies.anyhow]
version = "1.0.100"
[dependencies.clap]
version = "4.5.50"
features = ["derive"]
optional = true
[dependencies.hound]
version = "3.5.1"
[dependencies.image]
version = "0.25"
optional = true
[dependencies.rayon]
version = "1.11.0"
[dependencies.rubato]
version = "0.16.2"
[dependencies.rustfft]
version = "6.4.1"
[dependencies.walkdir]
version = "2.5.0"
optional = true
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.uuid]
version = "1.18.1"
features = ["v4"]
[profile.release]
lto = true