2023-11-22 13:40:16 +00:00
|
|
|
[package]
|
|
|
|
name = "lasprs"
|
2023-11-25 16:09:20 +00:00
|
|
|
version = "0.2.2"
|
2023-11-22 13:40:16 +00:00
|
|
|
edition = "2021"
|
2023-11-22 13:52:16 +00:00
|
|
|
authors = ["J.A. de Jong <j.a.dejong@ascee.nl>"]
|
2023-11-25 13:58:20 +00:00
|
|
|
description = "Library for Acoustic Signal Processing (Rust edition, with optional Python bindings via pyo3)"
|
2023-11-22 13:52:16 +00:00
|
|
|
readme = "README.md"
|
|
|
|
repository = "https://code.ascee.nl/ascee/lasprs"
|
|
|
|
license = "MIT OR Apache-2.0"
|
2023-11-22 13:57:25 +00:00
|
|
|
keywords = ["dsp", "audio", "measurement", "acoustics", "filter"]
|
2023-11-22 13:52:16 +00:00
|
|
|
categories = [
|
|
|
|
"multimedia::audio",
|
2023-11-25 14:08:53 +00:00
|
|
|
"science",
|
|
|
|
"mathematics"]
|
2023-11-25 13:58:20 +00:00
|
|
|
[lib]
|
|
|
|
name = "lasprs"
|
2023-11-29 06:20:13 +00:00
|
|
|
crate-type = ["cdylib", "rlib"]
|
2023-11-22 13:40:16 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
anyhow = "1.0.75"
|
2023-11-25 13:58:20 +00:00
|
|
|
|
|
|
|
# Optional future feature for ndarray: blas
|
|
|
|
ndarray = { version = "0.15.3", features = ["rayon"] }
|
2023-11-22 13:40:16 +00:00
|
|
|
num = "0.4.1"
|
|
|
|
rayon = "1.8.0"
|
2023-11-25 13:58:20 +00:00
|
|
|
numpy = { version = "0.20" }
|
2023-11-29 06:20:13 +00:00
|
|
|
strum_macros = "0.25.3"
|
|
|
|
pyo3 = { version = "0.20", features=["anyhow", "extension-module"]}
|
|
|
|
rand = "0.8.5"
|
|
|
|
rand_distr = "0.4.3"
|
2023-11-25 13:58:20 +00:00
|
|
|
# blas-src = { version = "0.8", features = ["openblas"] }
|
|
|
|
# openblas-src = { version = "0.10", features = ["cblas", "system"] }
|
2023-11-22 13:40:16 +00:00
|
|
|
|
|
|
|
[features]
|
2023-11-29 06:20:13 +00:00
|
|
|
default = ["f64"]
|
2023-11-25 13:58:20 +00:00
|
|
|
# Use this for debugging extension
|
2023-11-29 06:20:13 +00:00
|
|
|
# default = ["f64", "extension-module", "pyo3/extension-module"]
|
2023-11-22 13:40:16 +00:00
|
|
|
f64 = []
|
|
|
|
f32 = []
|
2023-11-25 13:58:20 +00:00
|
|
|
extension-module = ["pyo3/extension-module"]
|