Cargo Features

[dependencies]
mzdata = { version = "0.35.0", default-features = false, features = ["openblas", "netlib", "intel-mkl", "nalgebra", "parallelism", "zlib", "zlib-ng-compat", "zlib-ng", "miniz_oxide", "mzmlb", "hdf5_static", "thermo", "doc-only", "async", "proxi", "proxi-async", "filename", "numpress"] }
default = zlib-ng-compat

The zlib-ng-compat feature is set by default whenever mzdata is added without default-features = false somewhere in the dependency tree.

openblas = mzsignal

Enables openblas of mzsignal

netlib = mzsignal

Enables netlib of mzsignal

intel-mkl = mzsignal

Enables intel-mkl of mzsignal

nalgebra = mzsignal

Enables nalgebra of mzsignal

parallelism = rayon

Enables parallelism of mzsignal

zlib

The zlib feature makes the code faster unoptimized, but with LTO the default algorithm is faster on tests. Odds are on real data, this will vary with the size of the data being shuttled back and forth, and on the quality of the data (de)compression.

Enables zlib of flate2

zlib-ng-compat default

Enables zlib-ng-compat of flate2

zlib-ng

Enables zlib-ng of flate2

miniz_oxide

Enables rust_backend of flate2

mzmlb hdf5_static? = hdf5, hdf5-sys, ndarray

Enables reading mzMLb

Affects io::mzmlb

hdf5_static = libz-sys, mzmlb

Enable compiling and statically linking HDF5, which requires building libz-sys in static mode, which conflicts with flate2/zlib-ng-compat but not flate2/zlib

Enables static and zlib of hdf5-sys

thermo = thermorawfilereader

Enables net8_0 and nethost-download of thermorawfilereader

Affects io::thermo

doc-only

Enables doc-only of thermorawfilereader

async = tokio

Enables async-tokio of quick-xml ^0.30

quick-xml:

Enables support for asynchronous reading and writing from tokio's IO-Traits by enabling reading events from types implementing tokio::io::AsyncBufRead.

proxi proxi-async? = reqwest

Affects io::proxi

proxi-async = futures, proxi

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.

rayon parallelism?
mzsignal intel-mkl? nalgebra? netlib? openblas? parallelism?
tokio async?
hdf5 mzmlb?
hdf5-sys hdf5_static? mzmlb?
libz-sys hdf5_static?
ndarray mzmlb?

Enables ndarray ^0.15.6

filename implicit feature

Enables filename

filename:

Get filename from a raw file descriptor

reqwest proxi?
futures proxi-async?
numpress implicit feature
thermorawfilereader doc-only? thermo?