Cargo Features

mwalib has no features set by default.

[dependencies]
mwalib = { version = "1.7.2", features = ["cfitsio-static", "examples", "python"] }
cfitsio-static

Compile cfitsio from source and link it statically.

Enables fitsio-src of fitsio-sys

examples = anyhow, clap, env_logger

Enable optional features needed by examples.

python = anyhow, env_logger, ndarray, numpy, pyo3, pyo3-stub-gen, pyo3-stub-gen-derive

Enable python

Affects mwalib::python

Required by the stub_gen binary

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.

anyhow examples? python?

Enables anyhow

"python" and examples features

env_logger examples? python?

Enables env_logger ~0.10

ndarray python?

Enables ndarray

"python" feature

numpy python?
pyo3 python?
pyo3-stub-gen python?
pyo3-stub-gen-derive python?
clap examples?

Enables clap ~4.1

"examples" feature.