Merge pull request #37 from storytold/pr/never-crash-clean-crates

Never crash: deny panic lints in the already-clean crates and apps
This commit is contained in:
Brandon Thomas
2026-10-04 15:34:52 -04:00
committed by GitHub
10 changed files with 23 additions and 1 deletions
+2
View File
@@ -34,6 +34,8 @@
//! `<comp>` is a comp id or name (`-` = the active comp); `<layer>` an id, `#n` or name; `<value>`
//! is JSON (`50`, `[960,540]`, `"#ff0000"`) or a bare string. See `docs/agents.md`.
#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)]
use effectcraft_automation::tools::{self, Reply};
use effectcraft_automation::{Backend, McpServer};
use serde_json::{Value, json};
+2
View File
@@ -20,6 +20,8 @@
//!
//! [`store`] is portable (unit-tested natively); everything else is `wasm32`-only.
#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)]
pub mod store;
#[cfg(target_arch = "wasm32")]
+2
View File
@@ -5,6 +5,8 @@
//! `--control <port>` (or `EFFECTCRAFT_CONTROL_PORT`) starts a localhost JSON-lines control server;
//! see `effectcraft_ui_egui::control` for the methods.
#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)]
mod audio_out;
mod control_server;
#[cfg(target_os = "macos")]