Lutra/Cargo.toml
danny 5d49b57b9c M1.2: vfs with ignore rules, polling watcher and safe file IO
- Project::open canonicalises the root (no \?\ prefix on Windows where
  safe); typed errors for missing and non-directory paths.
- Lazy children(dir): dirs first, case-insensitive; kind, ignored flag
  and role (vendor/ library, node_modules/ excluded, .git hidden).
- Ignore rules via the ignore crate: .gitignore, .ignore,
  .git/info/exclude, global git excludes, with git precedence.
- Watcher: std-only polling (100 ms, watched dirs only) with
  create/modify/remove/rename events and a Failed event on root loss.
  notify is CC0-1.0 and fails cargo deny; owner decision pending.
- read_text with a 32 MiB cap, UTF-8 + BOM, typed InvalidUtf8 and
  UnsupportedEncoding; write_atomic via temp file + rename, keeping
  permissions and refusing read-only files.
- 28 tests on temp dirs (30 on Unix: permission and symlink write tests).

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

44 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"
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"