Lutra/deny.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

34 lines
783 B
TOML

# cargo deny configuration. Only the licence check is part of the quality
# gate (`cargo deny check licenses`, run by `cargo xtask ci`).
#
# The allow list mirrors AGENTS.md. Adding a licence outside it is the
# owner's decision. Keep it in step with xtask/src/licences.rs.
[graph]
all-features = true
[licenses]
confidence-threshold = 0.9
unused-allowed-license = "allow"
allow = [
"MIT",
"MIT-0",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"0BSD",
"ISC",
"Zlib",
"MPL-2.0",
"Unicode-3.0",
]
# Crate-scoped exceptions, each approved by the owner. They do not widen
# the allow list for any other crate.
[[licenses.exceptions]]
crate = "notify"
allow = ["CC0-1.0"]
[licenses.private]
ignore = true