[package]
name = "rlx-sparse"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
description = "Sparse linear algebra for RLX — CSR LU, mat-vec, Conjugate Gradient. Downstream package; registers against rlx's custom-op scaffold."
authors.workspace = true
license.workspace = true
keywords.workspace = true
categories.workspace = true
readme = "README.md"
repository.workspace = true
homepage.workspace = true
documentation.workspace = true
[features]
default = ["cpu"]
cpu = ["dep:rlx-cpu"]
metal = ["dep:rlx-metal", "cpu"]
mlx = ["dep:rlx-mlx", "cpu"]
[dependencies]
rlx-ir = { path = "../../core/rlx-ir", version = "0.2.11" }
rlx-cpu = { path = "../../backends/rlx-cpu", version = "0.2.11", optional = true }
rlx-mlx = { path = "../../backends/rlx-mlx", version = "0.2.11", optional = true }
[target.'cfg(all(target_vendor = "apple", not(target_os = "watchos")))'.dependencies]
rlx-metal = { path = "../../backends/rlx-metal", version = "0.2.11", optional = true }
[lints]
workspace = true