git.delta.rocks / jrsonnet / refs/commits / 643b0073bda6

difftreelog

source

crates/jrsonnet-evaluator/Cargo.toml1.9 KiBsourcehistory
1[package]2name = "jrsonnet-evaluator"3description = "jsonnet interpreter"4version = "0.3.4"5authors = ["Yaroslav Bolyukin <iam@lach.pw>"]6license = "MIT"7edition = "2018"89[features]10default = ["serialized-stdlib", "faster", "explaining-traces", "serde-json"]11# Serializes standard library AST instead of parsing them every run12serialized-stdlib = ["serde", "bincode", "jrsonnet-parser/deserialize"]13# Allow to convert Val into serde_json::Value and backwards14serde-json = ["serde", "serde_json"]15# Replace some standard library functions with faster implementations (I.e manifestJsonEx)16# Library works fine without this feature, but requires more memory and time for std function calls17faster = []18# Rustc-like trace visualization19explaining-traces = ["annotate-snippets"]20# Allows library authors to throw custom errors21anyhow-error = ["anyhow"]2223# Unlocks extra features, but works only on unstable24unstable = []2526[dependencies]27jrsonnet-interner = { path = "../jrsonnet-interner" }28jrsonnet-parser = { path = "../jrsonnet-parser", version = "0.3.4" }29jrsonnet-stdlib = { path = "../jrsonnet-stdlib", version = "0.3.4" }30jrsonnet-types = { path = "../jrsonnet-types", version = "0.3.4" }31pathdiff = "0.2.0"3233closure = "0.3.0"34indexmap = "1.6"3536md5 = "0.7.0"37base64 = "0.13.0"38rustc-hash = "1.1.0"3940thiserror = "1.0"4142[dependencies.anyhow]43version = "1.0"44optional = true4546# Serialized stdlib47[dependencies.serde]48version = "1.0"49optional = true50[dependencies.bincode]51version = "1.3.1"52optional = true5354# Serde json55[dependencies.serde_json]56version = "1.0"57optional = true5859# Explaining traces60[dependencies.annotate-snippets]61version = "0.9.0"62features = ["color"]63optional = true6465[build-dependencies]66jrsonnet-parser = { path = "../jrsonnet-parser", features = ["serialize", "deserialize"], version = "0.3.4" }67jrsonnet-stdlib = { path = "../jrsonnet-stdlib", version = "0.3.4" }68serde = "1.0"69bincode = "1.3.1"