zer_adapters/lib.rs
1/// Type adapters that bridge external data-frame / record-batch libraries to
2/// `zer_core::record::Record` without a string round-trip.
3///
4/// # Feature flags
5///
6/// | flag | what it adds |
7/// |----------|---------------------------------------------------|
8/// | `polars` | `PolarsIngest` extension trait for Polars DataFrames |
9/// | `arrow` | `ArrowIngest` extension trait for Arrow RecordBatches |
10///
11/// Enable only the features you need to keep compile times low.
12
13pub mod bench_writer;
14pub mod time;
15
16pub use bench_writer::{AccuracyMetrics, BenchBatchSummary, BenchResultWriter, PairRecord, band_to_match};
17pub use time::{fmt_unix_secs, unix_secs_now, utc_timestamp_iso};
18
19#[cfg(feature = "polars")]
20pub mod polars;
21
22#[cfg(feature = "arrow")]
23pub mod arrow;
24
25#[cfg(feature = "polars")]
26pub use polars::PolarsIngest;
27
28#[cfg(feature = "arrow")]
29pub use arrow::ArrowIngest;