Skip to content

The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.

fix(api): allow large_enum_variant lint on Response enum

Domica41b8241e4a55
diff --git a/engine/crates/concat-api/src/message.rs b/engine/crates/concat-api/src/message.rs
index b0617635..c8b2dc01 100644
--- a/engine/crates/concat-api/src/message.rs
+++ b/engine/crates/concat-api/src/message.rs
@@ -382,6 +382,7 @@ pub struct ParamInfo {
/// "..."}` with the sentence a person would be shown when it did not.
#[derive(Clone, Serialize)]
#[serde(rename_all = "camelCase")]
+#[allow(clippy::large_enum_variant)]
pub enum Response {
/// The reply.
Result(Reply),