dataprof-runtime 0.11.0

Shared runtime helpers and composed report types for dataprof
Documentation

dataprof-runtime

Shared report assembly and engine-facing runtime helpers for the dataprof workspace.

This crate owns ProfileReport, column-profile construction, report assembly, streaming statistics, reservoir and uniqueness tracking, memory configuration, and optional async source abstractions. It does not parse formats or select engines.

Public surface

Common entry points include ProfileReport, ReportAssembler, StreamingStatistics, StreamingColumnCollection, build_column_profile, and, when enabled, AsyncDataSource and BytesSource.

Features

  • async-streaming: async data-source abstractions, including byte and HTTP sources.
  • parquet-async: async Parquet runtime integration; enables async-streaming.

The default feature set is empty.

Serialized report contract

ProfileReport serialization is versioned independently from the crate release through REPORT_SCHEMA_VERSION. The generated JSON Schema 2020-12 artifact describes every supported v1 serialization dialect and is the contract for saved reports and downstream validators. Unknown additive object fields remain accepted, matching the reader compatibility policy.

Regenerate and verify it from the workspace root:

cargo run --example generate_profile_schema
cargo test --test profile_report_schema

Development

cargo test -p dataprof-runtime --all-features

Most users should depend on the high-level dataprof facade. See the workspace architecture for crate ownership details.