ProductDocumentationExamplesBlogRoadmapGitHubGet Started
Available

Workspace Map

Every crate in the Krishiv workspace, its responsibility, maturity, and public API surface.

The Krishiv workspace contains 24 crates. This page is generated from Cargo.toml and PRODUCT_FACTS.md. Each crate is listed with its responsibility, maturity status, key public APIs, and link to relevant documentation.

Complete Crate Map

CrateResponsibilityMaturityKey APIsDocs
krishiv User-facing facade and CLI binary. Available sql, explain, jobs, local start Docs
krishiv-api Session, DataFrame, Stream, IncrementalFlow, and all public Rust API types. Available Session, DataFrame, Stream, IncrementalFlow, PipelineBuilder Docs
krishiv-sql DataFusion integration, SQL execution, catalog and table-provider abstractions. Available Docs
krishiv-plan Logical/physical plans, expression AST, UDF contracts, governance/policy, CEP. Available
krishiv-runtime Embedded, single-node, and remote runtime routing. Available Docs
krishiv-dataflow Arrow operator runtime, queues, barriers, windows, joins, stateful ops. Available Docs
krishiv-delta DeltaBatch, operators, IncrementalView, IntegrateOp. Experimental Docs
krishiv-ivm Incremental view maintenance engine. Experimental Docs
krishiv-scheduler Coordinator, job/task lifecycle, metadata stores, leadership, gRPC server. Available Docs
krishiv-executor Executor process, task runner, task assignment receiver, shuffle/checkpoint hooks. Available Docs
krishiv-state In-memory and RocksDB-backed keyed state, TTL, migration, checkpoint/savepoint. Preview Docs
krishiv-shuffle In-memory, local disk, object-store, and Flight-oriented shuffle support. Preview Docs
krishiv-connectors Source/sink contracts, Parquet/Kafka/S3 paths, Iceberg-first lakehouse helpers. Preview Docs
krishiv-proto Typed IDs and coordinator/executor wire contracts. Available
krishiv-common Shared utilities used across runtime and engine crates. Available
krishiv-python PyO3 Python bindings. Available Docs
krishiv-flight-sql Arrow Flight SQL server. Preview Docs
krishiv-sql-gateway Separately versioned JDBC/ODBC SQL gateway facade. Preview
krishiv-operator Kubernetes CRD and operator integration. Preview Docs
krishiv-ui Status API and web UI assets. Preview
krishiv-metrics Metrics, tracing, and debug report structures. Available Docs
krishiv-engine-core Core engine abstractions shared across runtime modes. Available
krishiv-bench Benchmarks (on-demand; excluded from default workspace builds). Available
krishiv-chaos Cross-crate chaos and fault-injection integration tests. Available

Maturity Key

StatusMeaning
AvailableImplemented, tested, and used in core workflows. APIs are stable within minor versions.
PreviewScaffolding and initial implementation exist. End-to-end certification work is ongoing. Use with caution.
ExperimentalImplemented and functional. APIs and semantics may change. Not certified for production use.
In ProgressActive development. Do not advertise as complete.
PlannedOn the roadmap but not yet implemented. Do not rely on these without maintainer confirmation.

Architecture Invariants

  • Do not build separate engines for batch and streaming.
  • One active job coordinator per job; executors are replaceable data-plane workers.
  • Shuffle, state, checkpoint, metadata, and connector behavior live behind crate APIs.
  • Prefer typed IDs, typed fragments, typed errors, and capability flags over stringly-routed public contracts.

Build Commands

cargo check --workspace
cargo test --workspace --exclude krishiv-python
cargo clippy --workspace --exclude krishiv-python --exclude krishiv-chaos -- -D warnings
cargo fmt --check

Feature Matrix

FeaturePurpose
minimalSmallest facade surface; no optional deployment capabilities.
localDefault developer build; embedded plus single-node capabilities.
embeddedIn-process API use; no optional dependencies.
single-nodeLocal daemon/in-process cluster with Flight SQL, shuffle, and RocksDB metadata.
distributedBare remote cluster support with Flight SQL, shuffle, and etcd metadata.
k8sDistributed support plus Kubernetes operator/CRD capability.
fullStandard compute-engine build: distributed/Kubernetes, Kafka, and primary Iceberg support.