From 6f7eaa1f5088bf20d05b5e5bfca3697c9510c5cf Mon Sep 17 00:00:00 2001 From: RigobertoM29 Date: Thu, 14 Dec 2023 17:50:11 -0800 Subject: [PATCH] revert --- packages/apis/Cargo.toml | 2 +- packages/apis/src/extract_substrs.rs | 4 ++-- packages/compiler/src/bin/compiler.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/apis/Cargo.toml b/packages/apis/Cargo.toml index 3121191..7ee1e3e 100644 --- a/packages/apis/Cargo.toml +++ b/packages/apis/Cargo.toml @@ -17,7 +17,7 @@ crate-type = ["rlib", "cdylib"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -zk-regex-compiler = {path = "../compiler"} +compiler = { package = "zk-regex-compiler", git = "https://github.com/zkemail/zk-regex.git", default-features = false } fancy-regex = "0.11.0" itertools = "0.10.3" thiserror = "1.0.40" diff --git a/packages/apis/src/extract_substrs.rs b/packages/apis/src/extract_substrs.rs index 9f03bcd..050bb99 100644 --- a/packages/apis/src/extract_substrs.rs +++ b/packages/apis/src/extract_substrs.rs @@ -1,4 +1,4 @@ -use zk_regex_compiler::DecomposedRegexConfig; +use compiler::DecomposedRegexConfig; use fancy_regex::Regex; use neon::prelude::*; @@ -321,7 +321,7 @@ pub fn extract_message_id_idxes_node(mut cx: FunctionContext) -> JsResult