git.delta.rocks / jrsonnet / refs/commits / 7324ad9b219d

difftreelog

refactor jrsonnet cli should not depend on ir

kmmmlsnrYaroslav Bolyukin2026-05-06parent: #34f8ef7.patch.diff
in: master

3 files changed

modifiedCargo.lockdiffbeforeafterboth
2459 "jrsonnet-cli",2459 "jrsonnet-cli",
2460 "jrsonnet-evaluator",2460 "jrsonnet-evaluator",
2461 "jrsonnet-gcmodule",2461 "jrsonnet-gcmodule",
2462 "jrsonnet-ir",
2463 "mimallocator",2462 "mimallocator",
2464 "serde",2463 "serde",
2465 "serde_json",2464 "serde_json",
modifiedcmds/jrsonnet/Cargo.tomldiffbeforeafterboth
--- a/cmds/jrsonnet/Cargo.toml
+++ b/cmds/jrsonnet/Cargo.toml
@@ -40,7 +40,6 @@
 # obj?.field, obj?.['field']
 exp-null-coaelse = [
   "jrsonnet-evaluator/exp-null-coaelse",
-  "jrsonnet-ir/exp-null-coaelse",
   "jrsonnet-cli/exp-null-coaelse",
 ]
 # --exp-apply
@@ -48,7 +47,6 @@
 
 [dependencies]
 jrsonnet-evaluator.workspace = true
-jrsonnet-ir.workspace = true
 jrsonnet-cli.workspace = true
 jrsonnet-gcmodule.workspace = true
 
modifiedcmds/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]