git.delta.rocks / jrsonnet / refs/commits / 0f5424fc1b4b

difftreelog

source

crates/jrsonnet-evaluator/Cargo.toml2.4 KiBsourcehistory
1[package]2name = "jrsonnet-evaluator"3description = "Rust implementation of the jsonnet language interpreter"4keywords = ["jsonnet", "interpreter", "config"]5categories = ["compilers", "template-engine", "config"]6readme = "README.adoc"7authors.workspace = true8edition.workspace = true9license.workspace = true10repository.workspace = true11version.workspace = true1213build = "build.rs"1415[lints]16workspace = true1718[features]19default = ["explaining-traces", "ir-parser", "wasm-bindgen"]20# Rustc-like trace visualization21explaining-traces = ["hi-doc"]22# Allows library authors to throw custom errors23anyhow-error = ["anyhow"]24# Use hand-written recursive descent parser25ir-parser = ["dep:jrsonnet-ir-parser"]26# Use PEG parser27peg-parser = ["dep:jrsonnet-peg-parser"]2829experimental = [30  "exp-preserve-order",31  "exp-destruct",32  "exp-object-iteration",33  "exp-bigint",34  "exp-null-coaelse",35]36# Allows to preserve field order in objects37exp-preserve-order = []38# Implements field destructuring39exp-destruct = [40  "jrsonnet-peg-parser?/exp-destruct",41  "jrsonnet-ir-parser?/exp-destruct",42]43# Iteration over objects yields [key, value] elements44exp-object-iteration = []45# Bigint type46exp-bigint = ["num-bigint", "jrsonnet-types/exp-bigint"]47# obj?.field, obj?.['field']48exp-null-coaelse = [49  "jrsonnet-peg-parser?/exp-null-coaelse",50  "jrsonnet-ir-parser?/exp-null-coaelse",51]52wasm-bindgen = ["dep:wasm-bindgen"]5354[dependencies]55jrsonnet-interner.workspace = true56jrsonnet-ir.workspace = true57jrsonnet-peg-parser = { workspace = true, optional = true }58jrsonnet-ir-parser = { workspace = true, optional = true }59jrsonnet-types.workspace = true60jrsonnet-macros.workspace = true61jrsonnet-gcmodule.workspace = true6263pathdiff.workspace = true64static_assertions.workspace = true6566rustc-hash.workspace = true6768thiserror.workspace = true69# Friendly errors70strsim.workspace = true7172serde.workspace = true7374anyhow = { workspace = true, optional = true }75# Better explaining traces76hi-doc = { workspace = true, optional = true }77# Bigint78num-bigint = { workspace = true, features = ["serde"], optional = true }7980stacker.workspace = true81educe = { workspace = true, features = [82  "Clone",83  "Debug",84  "Eq",85  "Hash",86  "PartialEq",87] }88smallvec.workspace = true89drop_bomb.workspace = true90wasm-bindgen = { workspace = true, optional = true }9192[build-dependencies]93rustversion.workspace = true9495[dev-dependencies]96insta.workspace = true97strip-ansi-escapes.workspace = true