Cargo Features

Clarabel has no features set by default.

[dependencies]
clarabel = { version = "0.7.1", features = ["sdp", "sdp-accelerate", "sdp-netlib", "sdp-openblas", "sdp-mkl", "sdp-r", "julia", "python"] }

-------------------------------
features
-------------------------------

sdp julia? python? sdp-accelerate? sdp-mkl? sdp-netlib? sdp-openblas? sdp-r? = blas, lapack

enables blas/lapack for SDP support, with blas/lapack src unspecified

sdp-accelerate = sdp

explicit configuration options for different blas flavours

Enables accelerate of blas-src ^0.9 and lapack-src ^0.9

sdp-netlib = sdp

Enables netlib of blas-src ^0.9 and lapack-src ^0.9

sdp-openblas = sdp

Enables openblas of blas-src ^0.9 and lapack-src ^0.9

sdp-mkl = sdp

Enables intel-mkl of blas-src ^0.9 and lapack-src ^0.9

sdp-r = sdp

Enables r of blas-src ^0.9 and lapack-src ^0.9

julia = sdp

build as the julia interface

Enables libc, num-derive ^0.2, serde, and serde_json

Affects clarabel::julia

python = sdp

build as the python interface via maturin.
NB: python builds use scipy shared libraries
for blas/lapack, and should *not* explicitly
enable a blas/lapack source package

Enables libc, num-derive ^0.2, and pyo3 ^0.20

Affects clarabel::python

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.

blas sdp?
lapack sdp?
blas-src sdp-accelerate? sdp-mkl? sdp-netlib? sdp-openblas? sdp-r?

Enables blas-src ^0.9

lapack-src sdp-accelerate? sdp-mkl? sdp-netlib? sdp-openblas? sdp-r?

Enables lapack-src ^0.9