Skip to main content

Module mock

Module mock 

Source
Expand description

Deterministic mock data generators.

Generators are seeded by a u64. Same seed + same configuration produces byte-identical output across runs and machines. No external dependencies; deterministic via splitmix64.

§Generators

  • csv — CSV with a configurable schema and row count.
  • json_array — JSON array of records with a shape template.
  • bytes — raw byte streams: random, zeroed, patterned.

Modules§

bytes
Module containing raw-byte generation.
csv
Module containing CSV generation.
json_array
Module containing JSON array generation.

Structs§

Rng
A deterministic pseudo-random number generator.