Cargo Features

[dependencies]
diffsol = { version = "0.5.1", default-features = false, features = ["faer", "nalgebra", "sundials", "suitesparse", "diffsl", "diffsl-llvm", "diffsl-llvm15", "diffsl-llvm16", "diffsl-llvm17", "diffsl-llvm18"] }
default = diffsl, faer, nalgebra

These default features are set whenever diffsol is added without default-features = false somewhere in the dependency tree.

faer default

Affects linear_solver::faer, matrix::sparse_faer

nalgebra default

Affects linear_solver::nalgebra

sundials = bindgen, cc, suitesparse_sys

Affects diffsol::sundials_sys, linear_solver::sundials, matrix::sundials, vector::sundials

suitesparse = suitesparse_sys

Affects linear_solver::suitesparse

diffsl default diffsl-llvm15? diffsl-llvm16? diffsl-llvm17? diffsl-llvm18?

Enables diffsl

Affects ode_solver::diffsl, foodweb::foodweb_diffsl_problem, heat2d::heat2d_diffsl_problem, robertson::robertson_diffsl_problem

diffsl-llvm diffsl-llvm15? diffsl-llvm16? diffsl-llvm17? diffsl-llvm18?
diffsl-llvm15 = diffsl, diffsl-llvm

Enables llvm15-0 of diffsl

diffsl-llvm16 = diffsl, diffsl-llvm

Enables llvm16-0 of diffsl

diffsl-llvm17 = diffsl, diffsl-llvm

Enables llvm17-0 of diffsl

diffsl-llvm18 = diffsl, diffsl-llvm

Enables llvm18-0 of diffsl

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

suitesparse_sys suitesparse? sundials?
bindgen build sundials?
cc build sundials?