Cargo Features
[dependencies]
mzdata = { version = "0.36.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", "numpress", "filename"] }
- default = zlib-ng-compat
-
The
zlib-ng-compat
feature is set by default whenevermzdata
is added without
somewhere in the dependency tree.default-features = false - openblas = mzsignal
-
Internal signal processing
- netlib = mzsignal
- intel-mkl = mzsignal
- nalgebra = 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.
Bytes and compression
- zlib-ng-compat default
-
Enables zlib-ng-compat of flate2
- zlib-ng
- 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
- thermo = thermorawfilereader
-
Enables net8_0 and nethost-download of thermorawfilereader
Thermo RAW-related features
Affects
io::thermo
… - doc-only
-
Affects
io::thermo
… - 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 implementingtokio::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?
-
Enables rayon
Internal parallelism
- mzsignal intel-mkl? nalgebra? netlib? openblas? parallelism?
- numpress implicit feature
- tokio async?
-
Enables tokio
Async reader features
- hdf5 mzmlb?
-
Enables hdf5
mzMLb-related features
- 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?
-
Enables reqwest
PROXI-related behaviors
- futures proxi-async?
- thermorawfilereader thermo?