# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "spsolve" version = "0.1.0" exclude = ["matrix/powers/ACTIVSg70k*"] description = "Solve sparse systems of linear equations" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/rwl/spsolve" [[bin]] name = "spsolve" required-features = [ "matrix", "rlu", ] [[example]] name = "solve" required-features = [ "rlu", "lufact", "klu", ] [[bench]] name = "solve_bench" harness = false required-features = ["matrix"] [dependencies.amd] version = "0.2" optional = true [dependencies.anyhow] version = "1" [dependencies.cpuprofiler] version = "0.0.4" optional = true [dependencies.lufact] version = "0.1.2" optional = true [dependencies.num-complex] version = "0.4" optional = true [dependencies.num-traits] version = "0.2" optional = true [dependencies.rlu] version = "0.4" optional = true [dependencies.rsparse] version = "0.2" optional = true [dependencies.sprs] version = "0.11.1" optional = true [dependencies.suitesparse_sys] version = "0.1" optional = true [dev-dependencies.approx] version = "0.5.1" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.num-traits] version = "0.2" [features] csparse = [ "num-traits", "suitesparse_sys/cxsparse", ] default = [] klu = ["suitesparse_sys/klu"] lufact = [ "num-traits", "suitesparse_sys/amd", "dep:lufact", ] matrix = [ "num-traits", "sprs", "num-complex", ] rlu = [ "dep:amd", "dep:rlu", "num-traits", ]