[package]
edition = "2021"
name = "aprender-sparse"
version = "0.31.1"
authors = ["Trueno Engineering"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sparse matrix formats and operations — CSR, COO, BSR with SIMD-accelerated SpMV/SpMM"
readme = "README.md"
keywords = [
"sparse",
"matrix",
"spmv",
"linear-algebra",
"simd",
]
categories = [
"science",
"algorithms",
"mathematics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/paiml/trueno"
[lib]
name = "trueno_sparse"
path = "src/lib.rs"
[[example]]
name = "sparse_spmv"
path = "examples/sparse_spmv.rs"
[[bench]]
name = "sparse_bench"
path = "benches/sparse_bench.rs"
harness = false
[dependencies.thiserror]
version = "2"
[dev-dependencies.criterion]
version = "0.7"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1"
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
expect_used = "warn"
many_single_char_names = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_range_loop = "allow"
panic = "warn"
return_self_not_must_use = "allow"
similar_names = "allow"
uninlined_format_args = "allow"
unreachable = "warn"
unwrap_used = "warn"
wildcard_imports = "allow"
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
rust_2018_idioms = "warn"
unsafe_op_in_unsafe_fn = "warn"