spafe 0.1.1

Rust port of the spafe audio feature extraction library and jenellefeather/chcochleagram
Documentation
[package]
name = "spafe"
version = "0.1.1"
edition = "2024"
description = "Rust port of the spafe audio feature extraction library and jenellefeather/chcochleagram"
authors = ["Yehor Smoliakov <egorsmkv@gmail.com>"]
license = "BSD-3-Clause"
repository = "https://github.com/RustedBytes/spafe"
homepage = "https://github.com/RustedBytes/spafe"
documentation = "https://docs.rs/spafe"
readme = "README.md"
keywords = ["audio", "speech", "features", "mfcc", "cochleagram"]
categories = ["multimedia::audio", "science"]
exclude = [
    ".github/",
    ".gitignore",
    "examples/python/",
    "notebooks/",
    "py.typed",
    "pyproject.toml",
    "spafe.pyi",
    "uv.lock",
]

[lib]
crate-type = ["rlib", "cdylib"]

[dependencies]
ndarray = "0.17"
num-complex = "0.4"
pyo3 = { version = "0.29", optional = true }
rustfft = "6"
thiserror = "2"

[features]
default = []
# Enables Rust's portable SIMD API for hot numeric kernels. This currently
# requires a nightly compiler because `std::simd` is still feature-gated.
portable-simd = []
python = ["dep:pyo3"]
python-extension = ["python", "pyo3/extension-module"]