Skip to main content

yuzu_data/
lib.rs

1//! yuzu-data — native I/O layer. Reads per-symbol price files into yuzu-core
2//! `Panel` matrices. Formats are detected by content: gzip CSV (`.csv.gz`),
3//! plain CSV (`.csv`), and — with the `parquet` feature — Apache Parquet
4//! (`.parquet`). NOT a dependency of yuzu-core (which stays WASM-pure);
5//! yuzu-data depends on yuzu-core, never the reverse.
6
7pub mod combined;
8pub mod csv_io;
9mod date;
10pub mod error;
11pub mod format;
12pub mod fundamentals;
13pub mod industry;
14pub mod loader;
15mod parallel;
16#[cfg(feature = "parquet")]
17mod parquet_io;
18pub mod source;
19
20pub use combined::{
21    load_combined_panel, rebuild_combined_panels, write_combined_panel, RebuildSummary, PANELS_DIR,
22};
23pub use csv_io::{Field, OhlcvRow};
24pub use format::Format;
25pub use fundamentals::{
26    is_fundamental_series, load_fundamental_panel, parse_fundamentals, write_fundamentals,
27    FundamentalRow, FACTOR_PANEL_FIELDS, FUNDAMENTALS_DIR, FUNDAMENTAL_FIELDS, REPORT_EVENT_FIELD,
28};
29pub use loader::{load_panel, PRICES_DIR};
30pub use source::{LocalSource, ObjectSink, ObjectSource};