38 lines
1.1 KiB
TOML
38 lines
1.1 KiB
TOML
[package]
|
|
name = "lasprs"
|
|
version = "0.2.2"
|
|
edition = "2021"
|
|
authors = ["J.A. de Jong <j.a.dejong@ascee.nl>"]
|
|
description = "Library for Acoustic Signal Processing (Rust edition, with optional Python bindings via pyo3)"
|
|
readme = "README.md"
|
|
repository = "https://code.ascee.nl/ascee/lasprs"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["dsp", "audio", "measurement", "acoustics", "filter"]
|
|
categories = [
|
|
"multimedia::audio",
|
|
"science",
|
|
"mathematics"]
|
|
[lib]
|
|
name = "lasprs"
|
|
crate-type = ["cdylib", "lib"]
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.75"
|
|
pyo3 = { version = "0.20", features=["anyhow", "extension-module"]}
|
|
|
|
# Optional future feature for ndarray: blas
|
|
ndarray = { version = "0.15.3", features = ["rayon"] }
|
|
num = "0.4.1"
|
|
rayon = "1.8.0"
|
|
numpy = { version = "0.20" }
|
|
# blas-src = { version = "0.8", features = ["openblas"] }
|
|
# openblas-src = { version = "0.10", features = ["cblas", "system"] }
|
|
|
|
[features]
|
|
# default = ["f64"]
|
|
# Use this for debugging extension
|
|
default = ["f64", "extension-module", "pyo3/extension-module"]
|
|
f64 = []
|
|
f32 = []
|
|
extension-module = ["pyo3/extension-module"]
|