From 3356bd6f15d5d5901ec012308c9a0a55257c5478 Mon Sep 17 00:00:00 2001 From: Dimitri Date: Fri, 13 Dec 2024 13:53:23 +0700 Subject: [PATCH] fix: revert renaming cases --- packages/apis/src/extract_substrs.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/apis/src/extract_substrs.rs b/packages/apis/src/extract_substrs.rs index ab61100..b805f8c 100644 --- a/packages/apis/src/extract_substrs.rs +++ b/packages/apis/src/extract_substrs.rs @@ -4,14 +4,12 @@ use thiserror::Error; /// A configuration of decomposed regexes. #[derive(Debug, Clone, Serialize, Deserialize)] -#[serde(rename_all = "camelCase")] pub struct DecomposedRegexConfig { pub parts: Vec, } /// Decomposed regex part. #[derive(Debug, Clone, Serialize, Deserialize)] -#[serde(rename_all = "camelCase")] pub struct RegexPartConfig { /// A flag indicating whether the substring matching with `regex_def` should be exposed. pub is_public: bool,