Cargo Features
mwalib has no features set by default.
[dependencies]
mwalib = { version = "2.0.2", features = ["cfitsio-static", "examples", "python", "python-stubgen"] }
- 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
-
Enable python
Affects
mwalib::python…Required by the stub_gen binary
- python-stubgen = ndarray, numpy, pyo3, pyo3-stub-gen, pyo3-stub-gen-derive
-
Enable python-stubgen
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?
- ndarray python? python-stubgen?
-
Enables ndarray
"python" feature
- numpy python? python-stubgen?
- pyo3 python? python-stubgen?
- pyo3-stub-gen python-stubgen?
-
Enables pyo3-stub-gen ^0.18
"python-stubgen" feature
- pyo3-stub-gen-derive python-stubgen?
-
Enables pyo3-stub-gen-derive ^0.18
- clap examples?
-
Enables clap
Transitive due to latest versions using higher MSRV than mwalib "examples" feature.