Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
bert0RM committed Dec 15, 2023
1 parent 52441dd commit 6f7eaa1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/apis/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions packages/apis/src/extract_substrs.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use zk_regex_compiler::DecomposedRegexConfig;
use compiler::DecomposedRegexConfig;
use fancy_regex::Regex;

use neon::prelude::*;
Expand Down Expand Up @@ -321,7 +321,7 @@ pub fn extract_message_id_idxes_node(mut cx: FunctionContext) -> JsResult<JsArra

#[cfg(test)]
mod test {
use zk_regex_compiler::RegexPartConfig;
use compiler::RegexPartConfig;

use super::*;

Expand Down
2 changes: 1 addition & 1 deletion packages/compiler/src/bin/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use clap::{Parser, Subcommand};

use zk_regex_compiler::*;
use compiler::*;

Check failure on line 5 in packages/compiler/src/bin/compiler.rs

View workflow job for this annotation

GitHub Actions / build

unresolved import `compiler`

#[derive(Parser, Debug, Clone)]
#[command(author, version, about, long_about = None)]
Expand Down

0 comments on commit 6f7eaa1

Please sign in to comment.