[package]
edition = "2024"
rust-version = "1.85"
name = "nabled"
version = "0.0.3"
authors = [
"Niklaus Parcell <nik.parcell@gmail.com>",
"George Lee Patterson <patterson.george@gmail.com>",
]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A linear algebra library written in Rust with an ndarray-first architecture."
homepage = "https://github.com/MontOpsInc/nabled"
documentation = "https://docs.rs/nabled"
readme = "README.md"
keywords = [
"linear-algebra",
"ndarray",
"decomposition",
"machine-learning",
"numerics",
]
categories = [
"mathematics",
"science",
"algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/MontOpsInc/nabled"
[features]
accelerator-rayon = ["nabled-linalg/accelerator-rayon"]
accelerator-wgpu = ["nabled-linalg/accelerator-wgpu"]
blas = [
"nabled-linalg/blas",
"nabled-ml/blas",
]
default = []
netlib-static = [
"blas",
"nabled-linalg/netlib-static",
"nabled-ml/netlib-static",
]
netlib-system = [
"blas",
"nabled-linalg/netlib-system",
"nabled-ml/netlib-system",
]
openblas-static = [
"blas",
"nabled-linalg/openblas-static",
"nabled-ml/openblas-static",
]
openblas-system = [
"blas",
"nabled-linalg/openblas-system",
"nabled-ml/openblas-system",
]
test-utils = []
[lib]
name = "nabled"
path = "src/lib.rs"
[[bin]]
name = "backend_capability_report"
path = "src/bin/backend_capability_report.rs"
[[bin]]
name = "benchmark_history"
path = "src/bin/benchmark_history.rs"
[[bin]]
name = "benchmark_report"
path = "src/bin/benchmark_report.rs"
[[example]]
name = "cholesky_example"
path = "examples/cholesky_example.rs"
[[example]]
name = "complex_jacobian_example"
path = "examples/complex_jacobian_example.rs"
[[example]]
name = "embedding_rerank_example"
path = "examples/embedding_rerank_example.rs"
[[example]]
name = "jacobian_example"
path = "examples/jacobian_example.rs"
[[example]]
name = "lu_example"
path = "examples/lu_example.rs"
[[example]]
name = "matrix_functions_example"
path = "examples/matrix_functions_example.rs"
[[example]]
name = "pca_example"
path = "examples/pca_example.rs"
[[example]]
name = "qr_example"
path = "examples/qr_example.rs"
[[example]]
name = "regression_example"
path = "examples/regression_example.rs"
[[example]]
name = "sparse_solve_reuse_example"
path = "examples/sparse_solve_reuse_example.rs"
[[example]]
name = "svd_example"
path = "examples/svd_example.rs"
[[test]]
name = "backend_capability_matrix"
path = "tests/backend_capability_matrix.rs"
[[test]]
name = "gpu_perf_probe"
path = "tests/gpu_perf_probe.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[bench]]
name = "accelerator_benchmarks"
path = "benches/accelerator_benchmarks.rs"
harness = false
[[bench]]
name = "cholesky_benchmarks"
path = "benches/cholesky_benchmarks.rs"
harness = false
[[bench]]
name = "eigen_benchmarks"
path = "benches/eigen_benchmarks.rs"
harness = false
[[bench]]
name = "lu_benchmarks"
path = "benches/lu_benchmarks.rs"
harness = false
[[bench]]
name = "matrix_benchmarks"
path = "benches/matrix_benchmarks.rs"
harness = false
[[bench]]
name = "matrix_functions_benchmarks"
path = "benches/matrix_functions_benchmarks.rs"
harness = false
[[bench]]
name = "optimization_benchmarks"
path = "benches/optimization_benchmarks.rs"
harness = false
[[bench]]
name = "orthogonalization_benchmarks"
path = "benches/orthogonalization_benchmarks.rs"
harness = false
[[bench]]
name = "polar_benchmarks"
path = "benches/polar_benchmarks.rs"
harness = false
[[bench]]
name = "qr_benchmarks"
path = "benches/qr_benchmarks.rs"
harness = false
[[bench]]
name = "schur_benchmarks"
path = "benches/schur_benchmarks.rs"
harness = false
[[bench]]
name = "sparse_benchmarks"
path = "benches/sparse_benchmarks.rs"
harness = false
[[bench]]
name = "svd_benchmarks"
path = "benches/svd_benchmarks.rs"
harness = false
[[bench]]
name = "sylvester_benchmarks"
path = "benches/sylvester_benchmarks.rs"
harness = false
[[bench]]
name = "tensor_benchmarks"
path = "benches/tensor_benchmarks.rs"
harness = false
[[bench]]
name = "triangular_benchmarks"
path = "benches/triangular_benchmarks.rs"
harness = false
[[bench]]
name = "vector_benchmarks"
path = "benches/vector_benchmarks.rs"
harness = false
[dependencies.nabled-core]
version = "=0.0.3"
[dependencies.nabled-linalg]
version = "=0.0.3"
[dependencies.nabled-ml]
version = "=0.0.3"
[dependencies.num-traits]
version = "0.2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dev-dependencies.approx]
version = "0.5"
[dev-dependencies.criterion]
version = "0.8"
[dev-dependencies.faer]
version = "0.24"
features = [
"std",
"linalg",
]
default-features = false
[dev-dependencies.ndarray]
version = "0.17"
features = ["serde"]
[dev-dependencies.num-complex]
version = "0.4"
[dev-dependencies.rand]
version = "0.10"
[lints.clippy]
clone_on_ref_ptr = "warn"
large_futures = "warn"
must_use_candidate = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
elided_lifetimes_in_paths = "deny"
explicit_outlives_requirements = "warn"
let_underscore_drop = "warn"
missing_copy_implementations = "warn"
redundant_lifetimes = "warn"
rust_2024_incompatible_pat = "warn"
single_use_lifetimes = "warn"
trivial_numeric_casts = "warn"
unit_bindings = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_import_braces = "warn"
unused_imports = "deny"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
unused_results = "warn"
variant_size_differences = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage_nightly)"]