Skip to main content

shape_runtime/data/
mod.rs

1//! Generic data types for Shape
2//!
3//! This module provides industry-agnostic data structures for working with
4//! time-series data. No domain-specific knowledge (OHLCV, sensor readings,
5//! device states, etc.) is encoded here - that belongs in domain stdlib modules.
6
7pub mod async_provider;
8pub mod cache;
9pub mod dataframe;
10pub mod load_query;
11pub mod provider;
12pub mod provider_metadata;
13pub mod query;
14
15pub use dataframe::{DataFrame, DataRow, OwnedDataRow};
16pub use provider::{DataError, DataProvider, NullProvider, SharedDataProvider};
17pub use query::DataQuery;
18pub use shape_ast::data::{Timeframe, TimeframeUnit};
19
20// Async types
21pub use async_provider::{
22    AsyncDataError, AsyncDataProvider, NullAsyncProvider, SharedAsyncProvider,
23};
24pub use cache::{CacheKey, CachedData, DataCache};