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
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2459,7 +2459,6 @@
  "jrsonnet-cli",
  "jrsonnet-evaluator",
  "jrsonnet-gcmodule",
- "jrsonnet-ir",
  "mimallocator",
  "serde",
  "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
7use clap_complete::Shell;7use clap_complete::Shell;
8use jrsonnet_cli::{GcOpts, ManifestOpts, MiscOpts, OutputOpts, StdOpts, TlaOpts, TraceOpts};8use jrsonnet_cli::{GcOpts, ManifestOpts, MiscOpts, OutputOpts, StdOpts, TlaOpts, TraceOpts};
9use jrsonnet_evaluator::{9use jrsonnet_evaluator::{
10 ResultExt, State, Val, apply_tla, bail,10 ResultExt, SourceDefaultIgnoreJpath, SourcePath, State, Val, apply_tla, bail,
11 error::{Error as JrError, ErrorKind},11 error::{Error as JrError, ErrorKind},
12};12};
13use jrsonnet_ir::{SourceDefaultIgnoreJpath, SourcePath};
1413
15#[cfg(feature = "mimalloc")]14#[cfg(feature = "mimalloc")]
16#[global_allocator]15#[global_allocator]