Skip to content

Commit

Permalink
patch(translator): create the Predicate struct (#229)
Browse files Browse the repository at this point in the history
This struct will make the code moresier to understand and maintain.
  • Loading branch information
pythonbrad authored Apr 22, 2024
1 parent 66fe91d commit 66df587
Show file tree
Hide file tree
Showing 4 changed files with 226 additions and 134 deletions.
3 changes: 2 additions & 1 deletion engine/translator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ default = ["rhai", "strsim"]
rhai = ["dep:rhai"]
rhai-wasm = ["rhai", "rhai/wasm-bindgen"]
strsim = ["dep:strsim"]
serde = ["indexmap/serde", "rhai?/serde"]
serde = ["indexmap/serde", "rhai?/serde", "dep:serde"]

[dependencies]
rhai = { version = "1.17.1", optional = true, features = ["only_i32", "no_float", "no_closure", "unchecked", "no_position", "no_custom_syntax"] }
indexmap = { version = "2.2.6" }
strsim = { version = "0.11.0", optional = true }
serde = { version = "1.0.197", optional = true }

[dev-dependencies]
criterion = "0.5.1"
Expand Down
Loading

0 comments on commit 66df587

Please sign in to comment.