Cargo Features

[dependencies]
netcdf = { version = "0.9.0", default-features = false, features = ["static", "ndarray"] }
default = ndarray

The ndarray feature is set by default whenever netcdf is added without default-features = false somewhere in the dependency tree.

static

Enables static of netcdf-sys

Features from optional dependencies

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

ndarray default