single-svdlib 2.0.0

Sparse SVD and PCA for Rust over sprs matrices: restarted Lanczos bidiagonalization (IRLBA) and randomized SVD, with column masking and mean-centering that never densify the input
Documentation
# 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.88"
name = "single-svdlib"
version = "2.0.0"
authors = [
    "Dave Farnham <dave.farnham@icloud.com>",
    "Ian F. Diks <ian.diks@uni-saarland.de>",
]
build = false
exclude = [
    ".vscode",
    ".github",
    "GEMINI.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sparse SVD and PCA for Rust over sprs matrices: restarted Lanczos bidiagonalization (IRLBA) and randomized SVD, with column masking and mean-centering that never densify the input"
homepage = "https://github.com/SingleRust/single-svdlib"
documentation = "https://docs.rs/single-svdlib"
readme = "README.md"
keywords = [
    "svd",
    "sparse",
    "lanczos",
    "randomized",
    "irlba",
]
categories = [
    "algorithms",
    "mathematics",
    "science",
]
license = "BSD-3-Clause"
repository = "https://github.com/SingleRust/single-svdlib"

[package.metadata.docs.rs]
all-features = true

[features]
las2 = []

[lib]
name = "single_svdlib"
path = "src/lib.rs"

[[example]]
name = "pca_at_scale"
path = "examples/pca_at_scale.rs"

[[example]]
name = "scale"
path = "examples/scale.rs"

[[example]]
name = "tune"
path = "examples/tune.rs"

[[test]]
name = "cross_algorithm"
path = "tests/cross_algorithm.rs"

[[test]]
name = "properties"
path = "tests/properties.rs"

[[test]]
name = "robustness"
path = "tests/robustness.rs"

[[bench]]
name = "kernels"
path = "benches/kernels.rs"
harness = false

[[bench]]
name = "solvers"
path = "benches/solvers.rs"
harness = false

[dependencies.ndarray]
version = "0.17.2"
features = ["rayon"]

[dependencies.num-traits]
version = "0.2.19"

[dependencies.rand]
version = "0.10.2"

[dependencies.rand_distr]
version = "0.6"

[dependencies.rayon]
version = "1.12"

[dependencies.single-utilities]
version = "0.9.0"

[dependencies.sprs]
version = "0.11.5"
default-features = false

[dependencies.thiserror]
version = "2.0.19"

[dev-dependencies.approx]
version = "0.5"

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.nalgebra]
version = "0.35"

[dev-dependencies.proptest]
version = "1"

[profile.bench]
lto = "thin"
codegen-units = 1