[package]
edition = "2021"
name = "aprender-tensor"
version = "0.31.2"
authors = ["Trueno Engineering"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "N-dimensional tensor contractions — Einstein summation via TTGT (cuTENSOR parity)"
readme = "README.md"
keywords = [
"tensor",
"einsum",
"contraction",
"linear-algebra",
"ndarray",
]
categories = [
"science",
"algorithms",
"mathematics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/paiml/trueno"
[lib]
name = "trueno_tensor"
path = "src/lib.rs"
[[example]]
name = "tensor_demo"
path = "examples/tensor_demo.rs"
[[bench]]
name = "tensor_bench"
path = "benches/tensor_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_precision_loss = "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"
too_many_lines = "allow"
uninlined_format_args = "allow"
unreachable = "warn"
unreadable_literal = "allow"
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"