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;
9pub mod error;
10pub mod format;
11pub mod fundamentals;
12pub mod industry;
13pub mod loader;
14mod parallel;
15#[cfg(feature = "parquet")]
16mod parquet_io;
17pub mod source;
18
19pub use combined::{
20    load_combined_panel, rebuild_combined_panels, write_combined_panel, RebuildSummary, PANELS_DIR,
21};
22pub use csv_io::{Field, OhlcvRow};
23pub use format::Format;
24pub use fundamentals::{
25    is_fundamental_series, load_fundamental_panel, parse_fundamentals, write_fundamentals,
26    FundamentalRow, FACTOR_PANEL_FIELDS, FUNDAMENTALS_DIR, FUNDAMENTAL_FIELDS, REPORT_EVENT_FIELD,
27};
28pub use loader::{load_panel, PRICES_DIR};
29pub use source::{LocalSource, ObjectSink, ObjectSource};