[package]
edition = "2024"
rust-version = "1.85"
name = "oxiblas-sparse"
version = "0.2.2"
authors = ["COOLJAPAN OU <contact@cooljapan.tech>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sparse matrix support for OxiBLAS"
readme = "README.md"
keywords = [
"sparse",
"matrix",
"csr",
"csc",
"linear-algebra",
]
categories = [
"mathematics",
"science",
"algorithms",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/oxiblas"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
[features]
default = [
"oxiblas-core/std",
"oxiblas-matrix/std",
]
parallel = [
"dep:rayon",
"oxiblas-core/parallel",
]
[lib]
name = "oxiblas_sparse"
path = "src/lib.rs"
[[test]]
name = "convergence_tests"
path = "tests/convergence_tests.rs"
[[test]]
name = "memory_usage_tests"
path = "tests/memory_usage_tests.rs"
[[test]]
name = "precond_tests"
path = "tests/precond_tests.rs"
[[test]]
name = "suitesparse_matrices"
path = "tests/suitesparse_matrices.rs"
[dependencies.bytemuck]
version = "1.25"
features = ["derive"]
[dependencies.num-traits]
version = "0.2"
[dependencies.oxiblas-core]
version = "0.2.2"
default-features = false
[dependencies.oxiblas-matrix]
version = "0.2.2"
default-features = false
[dependencies.rayon]
version = "1.12"
optional = true
[dev-dependencies.num-complex]
version = "0.4"
features = ["bytemuck"]
[dev-dependencies.rand]
version = "0.10"
[lints.clippy]
all = "warn"
[lints.rust]
unsafe_op_in_unsafe_fn = "allow"