1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//! `openmassspec-core` is the shared foundation for the open Rust mass-spec
//! parsers (`opentfraw`, `opentimstdf`, `openwraw`, `openaraw`, `opensxraw`,
//! `openszraw`).
//!
//! It exposes:
//!
//! * Vendor-neutral spectrum / chromatogram / run records:
//! [`SpectrumRecord`], [`PrecursorInfo`], [`ChromatogramRecord`],
//! [`RunMetadata`], [`CvTerm`]. All are `#[non_exhaustive]` and built with
//! constructors plus `with_*` setters.
//! * Shared enums: [`Polarity`], [`ScanMode`], [`Analyzer`], [`MsPower`],
//! [`Activation`], [`Compression`], [`MobilityArrayKind`].
//! * A trait every vendor parser implements: [`SpectrumSource`]. Its
//! iterators yield `Result` items, so decode errors reach the consumer.
//! * One canonical mzML 1.1.0 writer: [`write_mzml`] and
//! [`write_indexed_mzml`] (zlib-compressed binary data arrays, stop at the
//! first record error), with [`WriteOptions`] for codec and
//! [`RecordErrorPolicy`] control. Each call returns a [`WriteSummary`].
//! * Typed PSI-MS / UO terms generated from `psi-ms.obo`: [`cv`].
//! * A streaming profile-to-centroid transform, [`Centroided`], that wraps
//! any `SpectrumSource`.
//! * A conformance harness for parser test suites: [`conformance`].
//!
//! The Apache Arrow bridge lives in the separate `openmassspec-arrow` crate.
//!
//! Each vendor crate is a standalone tool (a user can pull in `opentfraw`
//! alone and get parsing **and** mzML export); `openmassspec-core` is the
//! shared vocabulary that keeps the parsers in lock-step.
pub use Centroided;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
/// Crate version (set from `Cargo.toml`).
pub const VERSION: &str = env!;