Skip to content

Commit

Permalink
chore: camelCase for wasm bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
DimiDumo committed Dec 13, 2024
1 parent 7002a21 commit 86d20c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/apis/src/extract_substrs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ 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,
Expand Down

0 comments on commit 86d20c7

Please sign in to comment.