# 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" rust-version = "1.64" name = "sprs" version = "0.11.2" authors = ["Vincent Barrielle "] build = false exclude = ["data/*"] autobins = false autoexamples = false autotests = false autobenches = false description = "A sparse matrix library" documentation = "https://docs.rs/sprs" readme = "README.md" keywords = [ "sparse", "matrix", "linear", "algebra", ] license = "MIT OR Apache-2.0" repository = "https://github.com/sparsemat/sprs" [package.metadata.docs.rs] all-features = true [lib] name = "sprs" path = "src/lib.rs" [[example]] name = "fill_in_reduction" path = "examples/fill_in_reduction.rs" [[example]] name = "heat" path = "examples/heat.rs" [[test]] name = "asymmetric_operands" path = "tests/asymmetric_operands.rs" [[test]] name = "bincode_ser" path = "tests/bincode_ser.rs" [[test]] name = "block_matrix" path = "tests/block_matrix.rs" [[test]] name = "outer_iterator" path = "tests/outer_iterator.rs" [[test]] name = "slicing" path = "tests/slicing.rs" [[bench]] name = "sorting" path = "benches/sorting.rs" harness = false [[bench]] name = "sparse_dense_products" path = "benches/sparse_dense_products.rs" harness = false [[bench]] name = "suite" path = "benches/suite.rs" harness = false [dependencies.alga] version = "0.9.0" optional = true [dependencies.approx] version = "0.5" optional = true [dependencies.ndarray] version = ">=0.15, <=0.16" [dependencies.num-complex] version = "0.4.0" [dependencies.num-traits] version = "0.2.0" [dependencies.num_cpus] version = "1.13.0" optional = true [dependencies.rayon] version = "1.7.0" optional = true [dependencies.serde] version = "1.0.0" features = ["derive"] optional = true [dependencies.smallvec] version = "1.4.0" [dev-dependencies.bencher] version = "0.1.0" [dev-dependencies.bincode] version = "1.2.0" [dev-dependencies.image] version = "0.25.2" features = ["png"] default-features = false [dev-dependencies.num-derive] version = "0.4" [dev-dependencies.rand] version = "0.8" features = ["small_rng"] default-features = false [dev-dependencies.tempfile] version = "3.1.0" [dev-dependencies.tobj] version = "4.0" [features] default = [ "alga", "multi_thread", ] multi_thread = [ "dep:rayon", "dep:num_cpus", ]