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
40# 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-apply
47exp-apply = []46exp-apply = []
4847
49[dependencies]48[dependencies]
50jrsonnet-evaluator.workspace = true49jrsonnet-evaluator.workspace = true
51jrsonnet-ir.workspace = true
52jrsonnet-cli.workspace = true50jrsonnet-cli.workspace = true
53jrsonnet-gcmodule.workspace = true51jrsonnet-gcmodule.workspace = true
5452
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]