Cargo Features

[dependencies]
faer = { version = "0.20.0", default-features = false, features = ["std", "unstable", "rand", "rayon", "nightly", "perf-warn", "serde", "npy", "linalg", "cholesky", "qr", "lu", "evd", "svd", "sparse"] }
default = linalg, npy, rand, rayon, serde, std

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

std default npy rayon = matrixcompare, matrixcompare-core

Enables std of faer-entity, gemm, nano-gemm, num-complex, and num-traits

Affects faer::io

unstable

Affects faer::linop

rand default = rand_distr

Enables rand, rand of num-complex

Affects faer::stats

rayon default = std

Enables rayon, rayon of gemm

nightly

Enables nightly of faer-entity, gemm, and nano-gemm

perf-warn = log
serde default

Enables serde

npy default = std

Enables npyz

Affects io::Npy, io::NpyDType, io::FromNpy

linalg default = cholesky, evd, lu, qr, sparse, svd
cholesky linalg

Affects linalg::cholesky, solvers::Cholesky, solvers::Lblt

qr evd? linalg svd?

Affects linalg::householder, linalg::qr, solvers::Qr, solvers::ColPivQr, stats::UnitaryMat

lu linalg

Affects linalg::lu, solvers::PartialPivLu, solvers::FullPivLu

evd linalg = qr

Affects linalg::evd, solvers::SelfAdjointEigendecomposition, solvers::Eigendecomposition

svd linalg = qr

Affects linalg::svd, solvers::Svd, solvers::ThinSvd

sparse linalg

Affects faer::sparse

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.

matrixcompare-core std
matrixcompare std
log perf-warn?
rand_distr rand