Strata/strata-daemon/src
Eduard Tolosa aa56cac958 deps+fix: upgrade zbus 5 / rusqlite 0.40 / dirs 6; daemon hardening
Dependency major upgrades (zbus 4->5, rusqlite 0.31->0.40, dirs 5->6) and the
migration + hardening that came with the review:

- zbus 5: SignalContext -> SignalEmitter, signal_context() -> signal_emitter().
- Single-instance D-Bus name: request with DoNotQueue instead of
  ReplaceExisting|AllowReplacement. If the name is already owned the daemon now
  exits instead of running without owning it (zbus 5 returns InQueue as Ok) or
  stealing the name and orphaning the running instance (zbus does not terminate
  a replaced owner). The extension already skips spawning when the name is
  owned, so replacement was never needed.
- Stop swallowing real SQLite errors: upsert_item's dedup SELECT and
  get_thumbnail/get_raw_item now use .optional().context()? so a missing row is
  Ok(None) and a genuine error propagates instead of masquerading as not-found.
- clippy pedantic/nursery cleanup: uninlined format args, redundant mime clone,
  pass ObjectId/Connection by reference where not consumed, match->if/is_ok,
  doc backticks; #[allow] with rationale for the intentional lints
  (significant_drop_tightening on the single-writer lock, unused_async on zbus
  interface methods).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-26 21:32:56 -05:00
..
clipboard deps+fix: upgrade zbus 5 / rusqlite 0.40 / dirs 6; daemon hardening 2026-05-26 21:32:56 -05:00
config.rs fix: panic with clear message if XDG data dir is unavailable 2026-05-25 03:43:52 -05:00
db.rs deps+fix: upgrade zbus 5 / rusqlite 0.40 / dirs 6; daemon hardening 2026-05-26 21:32:56 -05:00
dbus_service.rs deps+fix: upgrade zbus 5 / rusqlite 0.40 / dirs 6; daemon hardening 2026-05-26 21:32:56 -05:00
main.rs deps+fix: upgrade zbus 5 / rusqlite 0.40 / dirs 6; daemon hardening 2026-05-26 21:32:56 -05:00