Files
rdbms-playground/src/lib.rs
T
claude@clouddev1 202e25a94f feat(seed): fake-data generation library + fake dependency (ADR-0048 P1.1)
The pure generation half of `seed` — no command wiring yet:
- src/seed/: ColumnSpec + Generator model and a seeded StdRng; the
  type-gated name-heuristic catalogue (D7) with documented
  false-positive guards; table-context name disambiguation (D11);
  identifier (D10) and enum-ish (D12) detection; per-type + bounded-date
  generators (D8); the hand-rolled product generator (D9); and PickFrom
  for IN-CHECK / enum lists.
- Adds the `fake` crate (v5, default features). Verified: single rand
  0.10.1 (no duplication), determinism via one seeded StdRng driving
  both fake and the hand-rolled generators, security-clean across
  osv/grype/trivy.
- ADR-0048 D3 updated to record the dependency verification.

32 Tier-1 tests (exact-value via fixed --seed); 1673 lib tests pass,
clippy all-targets clean.
2026-06-11 15:35:17 +00:00

31 lines
650 B
Rust

//! Library crate for RDBMS Playground.
//!
//! Most of the application lives here so that integration tests in
//! `tests/` and unit tests inside the modules can drive the same
//! code that `main.rs` runs in production. The binary entry point
//! is intentionally thin.
pub mod action;
pub mod app;
pub mod archive;
pub mod cli;
pub mod clipboard;
pub mod completion;
pub mod db;
pub mod dsl;
pub mod echo;
pub mod event;
pub mod friendly;
pub mod input_render;
pub mod logging;
pub mod mode;
pub mod output_render;
pub mod persistence;
pub mod project;
pub mod runtime;
pub mod seed;
pub mod theme;
pub mod type_change;
pub mod ui;
pub mod undo;