git.delta.rocks / jrsonnet / refs/commits / 8439ee7839a3

difftreelog

feat async import building block

Yaroslav Bolyukin2022-12-07parent: #fc51ec0.patch.diff
in: master

2 files changed

modifiedcrates/jrsonnet-evaluator/Cargo.tomldiffbeforeafterboth
--- a/crates/jrsonnet-evaluator/Cargo.toml
+++ b/crates/jrsonnet-evaluator/Cargo.toml
@@ -15,6 +15,8 @@
 # Provides helpful explaintations to errors, at cost of adding
 # more dependencies and slowing down error path
 friendly-errors = ["strsim"]
+# Adds ability to build import closure in async
+async-import = ["async-trait"]
 
 # Allows to preserve field order in objects
 exp-preserve-order = []
@@ -50,3 +52,5 @@
 bincode = { version = "1.3", optional = true }
 # Explaining traces
 annotate-snippets = { version = "0.9.1", features = ["color"], optional = true }
+# Async imports
+async-trait = { version = "0.1.59", optional = true }
addedcrates/jrsonnet-evaluator/src/async_import.rsdiffbeforeafterboth

no changes