crisol-core 1.3.0

Crisol core: an egui-free data model, themes, metrics, localization, commands, state, and storage.
Documentation

crisol-core

The egui-free core of Crisol: the typed data model, connectors, theme palettes and contrast math, size metrics, localization, atomic storage, commands, application state, host spec, wire protocol, extension manifests, and agent permissions.

[dependencies]
crisol-core = "1.0.0"
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]);

The crate never depends on egui, eframe, epaint, emath, ecolor, winit, or wgpu. The UI crate re-exports it through crisol::core.

Features

The default set is serde, data, spec, protocol, extensions, agent, storage, state, jobs, and threads. Connectors are opt-in: csv, workbook, arrow, parquet, sqlite, ring, channel; schema adds JSON Schema generation. sqlite is native-only; every other feature builds on wasm32-unknown-unknown, and without threads the core has no file I/O or Instant.

License

MIT OR Apache-2.0.