[package]
edition = "2024"
rust-version = "1.90"
name = "xingo-sparse"
version = "0.1.0"
build = false
exclude = [
"proptest-regressions/",
".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sparse linear algebra for optimization: generic CSC/CSR containers, threshold-pivoting LU with Forrest-Tomlin basis updates and hypersparse solves, fill-reducing orderings, scaling, and regularized KKT solvers for interior-point methods"
documentation = "https://docs.rs/xingo-sparse"
readme = "README.md"
keywords = [
"sparse",
"linear-algebra",
"lu",
"simplex",
"factorization",
]
categories = [
"mathematics",
"science",
"algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/StrategicProjects/xingo-sparse"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["faer"]
faer = ["dep:faer"]
[lib]
name = "xingo_sparse"
path = "src/lib.rs"
[[example]]
name = "basis_lu"
path = "examples/basis_lu.rs"
[[example]]
name = "kkt_ipm_step"
path = "examples/kkt_ipm_step.rs"
required-features = ["faer"]
[[example]]
name = "ordering"
path = "examples/ordering.rs"
[[test]]
name = "kkt_workspace"
path = "tests/kkt_workspace.rs"
[dependencies.faer]
version = "0.24.4"
features = [
"std",
"sparse-linalg",
]
optional = true
default-features = false
[dev-dependencies.proptest]
version = "1.6"
[lints.clippy]
doc_markdown = "allow"
many_single_char_names = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
similar_names = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"