Cargo Features

[dependencies]
mzdata = { version = "0.41.0", default-features = false, features = ["openblas", "netlib", "intel-mkl", "nalgebra", "parallelism", "zlib", "zlib-ng-compat", "zlib-ng", "miniz_oxide", "mzmlb", "hdf5_static", "thermo", "bruker_tdf", "doc-only", "serde", "async", "async_partial", "proxi", "proxi-async", "numpress", "filename"] }
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

Internal signal processing

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

Bytes and compression

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?

Enables reading mzMLb

Enables hdf5, hdf5-sys, and ndarray ^0.15.6

hdf5:

mzMLb-related features

Affects io::mzmlb

hdf5_static = 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 libz-sys, static and zlib of hdf5-sys

thermo

Enables net8_0 and nethost-download of thermorawfilereader ^0.3.1

Thermo RAW-related features

Affects io::thermo

bruker_tdf = mzsignal

Enables parking_lot, rusqlite ^0.31.0, and timsrust

rusqlite:

Bruker TDF-related features

Affects io::tdf

doc-only

Affects io::thermo

serde

Enables serde of chrono, mzpeaks, and mzsignal

async = async_partial

Enables fs of tokio

Async reader features

async_partial async?

Enables tokio, futures and pin-project and 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?

Enables reqwest

PROXI-related behaviors

Affects io::proxi

proxi-async = proxi

Enables futures

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?

Enables rayon

Internal parallelism

mzsignal bruker_tdf? intel-mkl? nalgebra? netlib? openblas? parallelism? serde?
numpress implicit feature
filename implicit feature

Enables filename

filename:

Get filename from a raw file descriptor