Skip to main content

Module hot_diff

Module hot_diff 

Source
Expand description

Shared Tier-1 (< 10ms) hot-patch infrastructure for view! { ... } sources:

  • [lexer]: zero-dependency compact Rust tokenizer for attribute value spans.
  • [eval]: pure const evaluator limiting Tier-1 edits to literal leaves.
  • [attrs] / [typed_style_chain]: patchable style attribute registry and literal TypedStyle builder chain scanner.
  • [patch]: direct binary RowPatch word lowering.
  • cache: WatchCache file baselines with atomic two-phase batch classification through crate::view_diff.

Re-exports§

pub use cache::WatchCache;

Modules§

cache
Cached diff baselines: the last accepted source of every watched .rs file plus web asset content hashes, classified atomically per save batch through crate::view_diff.