Lutra/Cargo.toml
danny 3f190a635e M1.2: native file watching via notify
- notify 8.2.0 (CC0-1.0) behind the existing Watcher API, allowed by a
  crate-scoped [[licenses.exceptions]] entry in deny.toml (owner
  decision 2026-10-14, noted in AGENTS.md and NOTICE).
- Native notifications only mark directories dirty; after 100 ms of
  quiet (at most 10 intervals) dirty dirs are rescanned and diffed, so
  events, debouncing and rename pairing match the polling backend.
- Polling stays as fallback when the native watcher cannot start, and
  per directory when a native watch is refused. Lost events or watcher
  errors trigger a full rescan; root loss is checked on every tick.
- Additive API: WatchOptions::backend (Auto, Polling) and
  Watcher::is_native.
- Watch tests run on both backends (34 vfs tests on Windows).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 19:43:15 +02:00

45 lines
1.1 KiB
TOML

[workspace]
resolver = "3"
members = ["crates/*", "apps/*", "xtask"]
default-members = ["crates/*", "apps/*"]
[workspace.package]
version = "0.0.0"
edition = "2024"
rust-version = "1.88"
license = "MIT OR Apache-2.0"
authors = ["Daniel Diekert and the Lutra contributors"]
publish = false
[workspace.dependencies]
lutra-text = { path = "crates/text" }
lutra-syntax = { path = "crates/syntax" }
lutra-vfs = { path = "crates/vfs" }
lutra-index = { path = "crates/index" }
lutra-search = { path = "crates/search" }
lutra-lsp = { path = "crates/lsp" }
lutra-terminal = { path = "crates/terminal" }
lutra-engine = { path = "crates/engine" }
lutra-control = { path = "crates/control" }
lutra-mcp = { path = "crates/mcp" }
lutra-testkit = { path = "crates/testkit" }
ignore = "0.4.33"
notify = "8.2.0"
tempfile = "3.27.0"
[workspace.lints.rust]
missing_docs = "deny"
unsafe_code = "deny"
[workspace.lints.clippy]
unwrap_used = "deny"
expect_used = "deny"
panic = "deny"
unreachable = "deny"
todo = "deny"
unimplemented = "deny"
indexing_slicing = "deny"
string_slice = "deny"
[profile.release]
panic = "unwind"