Lutra/crates/engine/Cargo.toml
danny c68932c39c M2.7: Structure tool window and syntax.outline
Engine: every open PHP buffer keeps a tree-sitter tree, reparsed
incrementally on a worker thread off the engine lock (200 ms debounce,
edit batches recorded by buffer.edit, full parse when the chain breaks).
syntax.outline {id} returns {items, truncated, version}; outlineChanged
{id} at most every 200 ms per buffer. Replaced trees and outlines are
freed on the worker.

UI: left stripe with Project | Structure in MainLayout, the Structure
tool window (WAI-ARIA tree, Lucide kind icons, signatures, jumps via
editor.reveal), view.toggleStructure on Mod+2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 17:04:12 +02:00

30 lines
689 B
TOML

[package]
name = "lutra-engine"
description = "Command registry, workspace state, guard and recovery journal"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
authors.workspace = true
publish.workspace = true
[package.metadata.lutra]
layer = 4
[dependencies]
lutra-index.workspace = true
lutra-search.workspace = true
lutra-syntax.workspace = true
lutra-text.workspace = true
lutra-vfs.workspace = true
serde = { version = "1.0.229", features = ["derive"] }
serde_json = "1.0.154"
thiserror = "2.0.21"
[lints]
workspace = true
[dev-dependencies]
lutra-testkit.workspace = true
proptest.workspace = true
tempfile.workspace = true