# 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"
name = "dasp-rs"
version = "0.4.0"
authors = ["Amirhossein Ghanipour <d3v1ll3n@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust digital audio signal processing: I/O, STFT/CQT, spectral & MIR features, pitch, and music/phonetics notation."
documentation = "https://docs.rs/dasp-rs"
readme = "README.md"
keywords = [
    "audio",
    "dsp",
    "audio-processing",
    "speech-processing",
    "music-analysis",
]
categories = [
    "multimedia::audio",
    "algorithms",
]
license = "MIT"
repository = "https://github.com/dasp-rs/dasp-rs"

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

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

[dependencies.hound]
version = "3.5.1"

[dependencies.log]
version = "0.4.27"

[dependencies.nalgebra]
version = "0.33"

[dependencies.ndarray]
version = "0.16"
features = ["rayon"]

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

[dependencies.rayon]
version = "1.10.0"

[dependencies.rubato]
version = "0.16.1"

[dependencies.rustfft]
version = "6.2.0"

[dependencies.thiserror]
version = "2"

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

[dev-dependencies.tempfile]
version = "3.20.0"

[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
imprecise_flops = "allow"
many_single_char_names = "allow"
missing_const_for_fn = "allow"
must_use_candidate = "allow"
redundant_pub_crate = "allow"
similar_names = "allow"
suboptimal_flops = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"
