difftreelog
refactor jrsonnet cli should not depend on ir
in: master
3 files changed
Cargo.lockdiffbeforeafterboth--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2459,7 +2459,6 @@
"jrsonnet-cli",
"jrsonnet-evaluator",
"jrsonnet-gcmodule",
- "jrsonnet-ir",
"mimallocator",
"serde",
"serde_json",
cmds/jrsonnet/Cargo.tomldiffbeforeafterboth40# obj?.field, obj?.['field']40# obj?.field, obj?.['field']41exp-null-coaelse = [41exp-null-coaelse = [42 "jrsonnet-evaluator/exp-null-coaelse",42 "jrsonnet-evaluator/exp-null-coaelse",43 "jrsonnet-ir/exp-null-coaelse",44 "jrsonnet-cli/exp-null-coaelse",43 "jrsonnet-cli/exp-null-coaelse",45]44]46# --exp-apply45# --exp-apply47exp-apply = []46exp-apply = []484749[dependencies]48[dependencies]50jrsonnet-evaluator.workspace = true49jrsonnet-evaluator.workspace = true51jrsonnet-ir.workspace = true52jrsonnet-cli.workspace = true50jrsonnet-cli.workspace = true53jrsonnet-gcmodule.workspace = true51jrsonnet-gcmodule.workspace = true5452cmds/jrsonnet/src/main.rsdiffbeforeafterboth--- a/cmds/jrsonnet/src/main.rs
+++ b/cmds/jrsonnet/src/main.rs
@@ -7,10 +7,9 @@
use clap_complete::Shell;
use jrsonnet_cli::{GcOpts, ManifestOpts, MiscOpts, OutputOpts, StdOpts, TlaOpts, TraceOpts};
use jrsonnet_evaluator::{
- ResultExt, State, Val, apply_tla, bail,
+ ResultExt, SourceDefaultIgnoreJpath, SourcePath, State, Val, apply_tla, bail,
error::{Error as JrError, ErrorKind},
};
-use jrsonnet_ir::{SourceDefaultIgnoreJpath, SourcePath};
#[cfg(feature = "mimalloc")]
#[global_allocator]