mirror of
https://github.com/zkemail/zk-regex.git
synced 2026-01-09 13:48:00 -05:00
Merge pull request #77 from zkemail/dimidumo/zk-802-consistent-casing-everywhere
fix: revert renaming cases
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user