git.delta.rocks / jrsonnet / refs/commits / 752087cb9057

difftreelog

source

crates/jrsonnet-evaluator/Cargo.toml2.5 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 using [key]: value syntax44exp-object-iteration = [45  "jrsonnet-ir/exp-object-iteration",46  "jrsonnet-peg-parser?/exp-object-iteration",47  "jrsonnet-ir-parser?/exp-object-iteration",48]49# Bigint type50exp-bigint = ["num-bigint", "jrsonnet-types/exp-bigint"]51# obj?.field, obj?.['field']52exp-null-coaelse = [53  "jrsonnet-peg-parser?/exp-null-coaelse",54  "jrsonnet-ir-parser?/exp-null-coaelse",55]56wasm-bindgen = ["dep:wasm-bindgen"]5758[dependencies]59jrsonnet-interner.workspace = true60jrsonnet-ir.workspace = true61jrsonnet-peg-parser = { workspace = true, optional = true }62jrsonnet-ir-parser = { workspace = true, optional = true }63jrsonnet-types.workspace = true64jrsonnet-macros.workspace = true65jrsonnet-gcmodule.workspace = true6667pathdiff.workspace = true68static_assertions.workspace = true6970rustc-hash.workspace = true7172thiserror.workspace = true73# Friendly errors74strsim.workspace = true7576serde.workspace = true7778anyhow = { workspace = true, optional = true }79# Better explaining traces80hi-doc = { workspace = true, optional = true }81# Bigint82num-bigint = { workspace = true, features = ["serde"], optional = true }8384stacker.workspace = true85educe = { workspace = true, features = [86  "Clone",87  "Debug",88  "Eq",89  "Hash",90  "PartialEq",91] }92smallvec.workspace = true93drop_bomb.workspace = true94wasm-bindgen = { workspace = true, optional = true }9596[build-dependencies]97rustversion.workspace = true9899[dev-dependencies]100insta.workspace = true101strip-ansi-escapes.workspace = true