From 25230bf62c9bab0755a7aed733a11ed32ebfdc50 Mon Sep 17 00:00:00 2001 From: RigobertoM29 Date: Thu, 14 Dec 2023 17:54:49 -0800 Subject: [PATCH] try again --- 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 7ee1e3e..ddd33c1 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] -compiler = { package = "zk-regex-compiler", git = "https://github.com/zkemail/zk-regex.git", default-features = false } +zk-regex-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 050bb99..9f03bcd 100644 --- a/packages/apis/src/extract_substrs.rs +++ b/packages/apis/src/extract_substrs.rs @@ -1,4 +1,4 @@ -use compiler::DecomposedRegexConfig; +use zk_regex_compiler::DecomposedRegexConfig; use fancy_regex::Regex; use neon::prelude::*; @@ -321,7 +321,7 @@ pub fn extract_message_id_idxes_node(mut cx: FunctionContext) -> JsResult