1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[]
= "gridoxide-sparse"
= "Sparse LU backends for gridoxide: faer, a pure-Rust port of KLU, and optionally SuiteSparse KLU and oneMKL PARDISO"
= true
= true
= true
= "https://docs.rs/gridoxide-sparse"
= ["sparse", "lu", "klu", "linear-algebra", "power-flow"]
= ["science", "mathematics"]
= "build.rs"
# gridoxide's own code is Apache-2.0. `src/klu_native/` (always built, no
# feature gate) is a close Rust translation of vendored SuiteSparse C —
# BSD-3-Clause for the AMD-derived pieces, LGPL-2.1-or-later for the
# BTF/KLU-derived pieces — so every build of this crate bundles all three.
# See src/klu_native/PROVENANCE.md. `--features klu` additionally links the
# vendored C itself (vendor/suitesparse/, licensed per its PROVENANCE.md),
# which adds no licence beyond these.
= "Apache-2.0 AND BSD-3-Clause AND LGPL-2.1-or-later"
[]
# `klu` and `pardiso` need a C toolchain, libclang and, for PARDISO, a local
# oneMKL — none of which docs.rs has.
= []
[]
= "0.24.4"
= "0.4.6"
[]
= { = "1.0", = true }
= { = "0.72", = true }
[]
= []
# Builds the vendored SuiteSparse KLU (vendor/suitesparse/) as a backend —
# see `lu::LuBackend::Klu`. Needs a C compiler and libclang (for bindgen) at
# build time. KLU and BTF are LGPL-2.1-or-later; see
# vendor/suitesparse/PROVENANCE.md before enabling this in a distributed
# binary.
= ["dep:cc", "dep:bindgen"]
# Links a system-installed libklu.so instead of compiling the vendored
# source, for anyone who needs strict LGPL relinking compliance.
= ["klu"]
# Builds a backend on Intel oneMKL's PARDISO, linked dynamically against a
# local install found through `MKLROOT`. Nothing MKL-derived is
# redistributed. Needs libclang (for bindgen) at build time.
= ["dep:bindgen"]