Something went wrong

Thank you for being patient! We're working hard on resolving the issue

Crate overview - Lona Docs Log in

tento-sheets

tento-sheets provides pure diffing for declarative built-in sheet definitions.

Public surface

  • parse_toml_files loads sheet and row TOML definitions.
  • compute_diff compares parsed definitions against a lock file.
  • generate_lock_file, read_lock_file, and write_lock_file manage the lockfile contract.
  • DiffOp, ParsedDefs, SheetToml, RowToml, SheetLock, and RowLock are the core data shapes.
  • sheet_uuid, row_uuid, and uuid_from_lookup_key provide deterministic ID generation.

Boundaries

The crate is intentionally database-free. It tells a host which operations are needed; the host applies those operations to its own persistence layer.

Do not import Lona database models here. If a new host needs additional context, add it to the declarative TOML or lockfile shapes and keep DiffOp as the boundary.