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 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?
-
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
- 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
- async = async_partial
-
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 implementingtokio::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