[package]
name = "math-solvers"
version = "0.4.1"
description = "High-performance linear solvers for BEM and FEM"
edition = { workspace = true }
authors = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
keywords = ["linear-algebra", "solvers", "gmres", "preconditionner"]
categories = ["science", "mathematics"]
[lib]
name = "math_audio_solvers"
path = "src/lib.rs"
[dependencies]
ndarray = { version = "0.17", default-features = false, features = ["rayon", "serde"] }
num-complex = { workspace = true, features = ["serde"] }
num-traits = { workspace = true }
oxiblas-ndarray = { workspace = true, optional = true }
oxiblas-core = { version = "0.2", optional = true }
bytemuck = { version = "1", optional = true }
rayon = { workspace = true, optional = true }
thiserror = { workspace = true }
log = { workspace = true }
wasm-bindgen = { workspace = true, optional = true }
wasm-bindgen-rayon = { workspace = true, optional = true }
[dev-dependencies]
approx = { workspace = true }
[features]
default = ["native"]
native = [
"ndarray/blas",
"ndarray/rayon",
"oxiblas-ndarray",
"oxiblas-core",
"bytemuck",
"rayon",
]
parallel = ["rayon"]
wasm = [
"rayon",
"wasm-bindgen",
"wasm-bindgen-rayon",
]