Cargo Features

num_dual has no features set by default.

[dependencies]
num-dual = { version = "0.8.1", features = ["python_macro", "python", "linalg"] }
python_macro python?
python = ndarray, numpy, pyo3, python_macro

Affects num-dual::python

linalg = ndarray

Affects num-dual::linalg

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

pyo3 python?
ndarray linalg? python?
numpy python?