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.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
cmds/jrsonnet/src/main.rsdiffbeforeafterboth7use 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};141315#[cfg(feature = "mimalloc")]14#[cfg(feature = "mimalloc")]16#[global_allocator]15#[global_allocator]