Merge pull request #77 from zkemail/dimidumo/zk-802-consistent-casing-everywhere

fix: revert renaming cases
This commit is contained in:
Dimi
2024-12-13 13:55:06 +07:00
committed by GitHub

View File

@@ -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<RegexPartConfig>,
}
/// 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,