crisol-core 1.1.0

Crisol core: an egui-free data model, themes, metrics, localization, commands, state, and storage.
Documentation
//! The typed, lazy data model shared by tables, viewers, and plots.
//!
//! A [`Dataset`] is columnar: floats, integers, booleans, text, dates, times, and
//! categories, with a validity mask and per-column units/metadata. A [`DataSource`] adds
//! paging, change notification, and cancellation without an async runtime. The query
//! language filters rows, the CSV connector opens delimited files, and the ring and
//! channel sources cover streaming data.
//!
//! ```
//! use crisol_core::data::{Column, Dataset, Query};
//!
//! let data = Dataset::from_columns([
//!     Column::floats("voltage", vec![0.1, 0.4, 0.2]),
//!     Column::ints("cycle", vec![1, 2, 3]),
//! ]);
//! let query = Query::parse("voltage > 0.15").expect("query");
//! assert_eq!(query.matching_rows(&data), [1, 2]);
//! ```

#[cfg(feature = "arrow")]
mod arrow_ipc;
mod bounds;
#[cfg(feature = "channel")]
mod channel;
mod column;
#[cfg(feature = "conformance")]
#[cfg_attr(docsrs, doc(cfg(feature = "conformance")))]
pub mod conformance;
#[cfg(feature = "csv")]
mod csv;
mod dataset;
mod link;
#[cfg(feature = "parquet")]
mod parquet_file;
mod pyramid;
mod query;
#[cfg(feature = "ring")]
mod ring;
mod source;
#[cfg(feature = "sqlite")]
mod sqlite;
mod stream;
#[cfg(feature = "workbook")]
mod workbook;

#[cfg(feature = "arrow")]
pub use arrow_ipc::{ArrowSource, dataset_from_batch, read_arrow_ipc};
pub use bounds::Bounds;
#[cfg(feature = "channel")]
pub use channel::ChannelSource;
pub use column::{CellValue, Column, ColumnType, ColumnValues, DataValue};
#[cfg(feature = "csv")]
pub use csv::{CsvOptions, CsvSource, parse_csv};
pub use dataset::{ColumnStats, Dataset};
pub use link::{LinkHub, LinkMode, LinkSelection};
#[cfg(feature = "parquet")]
pub use parquet_file::{ParquetSource, read_parquet_bytes};
pub use pyramid::{LodTile, MinMaxPyramid};
pub use query::{BoundQuery, Query, QueryError};
#[cfg(feature = "ring")]
pub use ring::RingBuffer;
#[cfg(feature = "threads")]
pub use source::read_limited;
pub use source::{ColumnSchema, DataError, DataSource, MAX_FILE_BYTES, MemorySource};
#[cfg(feature = "sqlite")]
#[cfg(feature = "threads")]
pub use sqlite::{SqliteSource, read_sqlite};
pub use stream::{StreamMode, StreamingSeries, Trigger};
#[cfg(feature = "workbook")]
pub use workbook::WorkbookSource;