dynamo_data_gen/lib.rs
1// SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2// SPDX-License-Identifier: Apache-2.0
3
4//! Shared schemas and primitives for Dynamo data generation.
5//!
6//! The crate hosts the Mooncake replay JSONL schema and helpers, plus the
7//! Dynamo request-trace loader and transient lowering used to build mocker
8//! replay models in memory. Direct Dynamo request-trace replay does not write
9//! an intermediate Mooncake file; the opt-in `dynamo-bench` exporter writes
10//! one when needed. Shared row types keep trace producers and consumers in
11//! lockstep.
12
13pub mod mooncake;
14pub mod request_trace;
15pub mod satf;
16
17pub use mooncake::{
18 AGENTIC_MOONCAKE_SCHEMA, AGENTIC_MOONCAKE_VERSION, AgenticDependency,
19 AgenticDependencyRelation, AgenticDependencyTrigger, AgenticHashIdScope, AgenticMooncakeHeader,
20 AgenticMooncakeRow, AgenticSourceProvenance, MooncakeJsonlWriter, MooncakeRow,
21 RollingHashIdMapper, WriterStats, extend_sequence_hashes, hash_token_blocks,
22 ids_for_sequence_hashes, require_positive, sequence_hashes_for_tokens, try_hash_token_blocks,
23 write_empty_files,
24};