Skip to content

Rust API Reference

The complete Rust API documentation is auto-generated from source code with cargo doc and deployed alongside this site.

cvx-core — Core types, traits, and configuration cvx-index — ST-HNSW temporal index engine cvx-analytics — Temporal analytics (calculus, signatures, topology, anchors) cvx-storage — Tiered storage (WAL, hot/warm/cold) cvx-ingest — Ingestion pipeline cvx-query — Query engine cvx-server — gRPC server

cvx-core Shared types, traits (DistanceMetric, TemporalFilter, TemporalPoint)
├── cvx-index ST-HNSW graph with roaring bitmap filtering
├── cvx-analytics 19 analytical functions (calculus, signatures, topology, anchors)
├── cvx-storage WAL + RocksDB (hot) + file-based (warm) tiered storage
├── cvx-ingest Batch and streaming ingestion
├── cvx-query Query planning and execution
└── cvx-server gRPC API server
ModuleFunctionsDescription
calculusvelocity, acceleration, drift_report, hurst_exponent, realized_volatilityVector differential calculus
anchorproject_to_anchors, anchor_summaryReference frame projection (RFC-006)
signaturescompute_signature, compute_log_signaturePath signatures from rough path theory
peltdetectPELT offline change point detection
point_processextract_event_featuresTemporal event pattern analysis
topologytopological_summaryPersistent homology (Betti curves)
wassersteinwasserstein_driftSliced Wasserstein optimal transport
fisher_raofisher_rao_distance, hellinger_distanceRiemannian distributional distances
trajectorydiscrete_frechet_temporalFrechet distance between trajectories
cohortcohort_driftCohort-level drift, convergence, outliers (RFC-007)
temporal_jointemporal_join, group_temporal_joinConvergence window detection (RFC-007)
motifsdiscover_motifs, discover_discordsMatrix Profile recurring patterns (RFC-007)
grangergranger_causalityVAR-based Granger causality testing (RFC-007)
counterfactualcounterfactual_trajectoryPre-change extrapolation + divergence (RFC-007)
anchor_indexAnchorSpaceIndexCross-model anchor-space index (RFC-011)
ModuleTypesDescription
hnswHnswGraph, HnswConfigVanilla HNSW with scalar quantization
hnsw::temporalTemporalHnswSpatiotemporal HNSW with entity tracking
hnsw::concurrentConcurrentTemporalHnswThread-safe concurrent index
hnsw::partitionedPartitionedTemporalHnswTime-partitioned sharding (RFC-008)
hnsw::streamingStreamingTemporalHnswHot buffer + compaction (RFC-008)
hnsw::temporal_lshTemporalLSHSpatiotemporal locality hashing (RFC-008)
hnsw::temporal_edgesTemporalEdgeLayerTemporal successor edges (RFC-010)
hnsw::temporal_graphTemporalGraphIndexHybrid causal search (RFC-010)
metricsL2Distance, CosineDistance, DotProductDistanceDistance metrics with SIMD
ModuleTypesDescription
serverMcpServerMCP JSON-RPC server with 8 LLM tools (RFC-009)
embedderMockEmbedder, OnnxEmbedderInline text→vector conversion (RFC-009)
TypeDescription
TemporalPointVector with entity_id, timestamp, metadata
TemporalFilterQuery constraints (Snapshot, Range, Before, After, All)
DistanceMetricTrait for distance functions
CvxConfigSystem configuration (TOML-serializable)
Terminal window
cargo doc --workspace --no-deps --open

This opens the full API documentation in your browser, including all private items and cross-linked source code.

The Python API (chronos_vector module) is a subset of the Rust API exposed via PyO3. See the Temporal Analytics Toolkit for the Python function reference.