Cargo Features

[dependencies]
hidefix = { version = "0.12.0", default-features = false, features = ["netcdf", "static", "python", "extension-module", "unstable", "flexbuffers", "clap", "bincode"] }
default = netcdf, static

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

netcdf default

Enables netcdf

static default

Enables static and zlib of hdf5-metno, static of optional netcdf

python extension-module?

Enables numpy ^0.21.0 and pyo3 ^0.21

Affects hidefix::python

extension-module = python

Enables extension-module of pyo3 ^0.21

pyo3:

Use this feature when building an extension module.
It tells the linker to keep the python symbols unresolved,
so that the module can also be used with statically linked python interpreters.

unstable
flexbuffers

Enables flexbuffers

clap

Enables clap

Required by hfxidx and hfxlst binaries

bincode

Enables bincode