From e660944edb6b7fcac9afd3f188c11549264f4f2b Mon Sep 17 00:00:00 2001 From: Dimitri Date: Fri, 13 Dec 2024 11:31:34 +0700 Subject: [PATCH] chore: camelCase serde rename for wasm bindings --- src/circuit.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/circuit.rs b/src/circuit.rs index afbbf08..6e5f0cd 100644 --- a/src/circuit.rs +++ b/src/circuit.rs @@ -37,6 +37,7 @@ struct EmailCircuitInput { } #[derive(Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] pub struct EmailCircuitParams { pub ignore_body_hash_check: Option, // Flag to ignore the body hash check pub max_header_length: Option, // The maximum length of the email header