git.delta.rocks / jrsonnet / refs/commits / 7a7e4e4e737d

difftreelog

source

crates/jrsonnet-evaluator/Cargo.toml1.9 KiBsourcehistory
1[package]2name = "jrsonnet-evaluator"3description = "jsonnet interpreter"4version = "0.3.6"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", version = "0.3.6" }28jrsonnet-parser = { path = "../jrsonnet-parser", version = "0.3.6" }29jrsonnet-stdlib = { path = "../jrsonnet-stdlib", version = "0.3.6" }30jrsonnet-types = { path = "../jrsonnet-types", version = "0.3.6" }31pathdiff = "0.2.0"3233closure = "0.3.0"3435md5 = "0.7.0"36base64 = "0.13.0"37rustc-hash = "1.1.0"3839thiserror = "1.0"4041[dependencies.anyhow]42version = "1.0"43optional = true4445# Serialized stdlib46[dependencies.serde]47version = "1.0"48optional = true49[dependencies.bincode]50version = "1.3.1"51optional = true5253# Serde json54[dependencies.serde_json]55version = "1.0"56optional = true5758# Explaining traces59[dependencies.annotate-snippets]60version = "0.9.0"61features = ["color"]62optional = true6364[build-dependencies]65jrsonnet-parser = { path = "../jrsonnet-parser", features = ["serialize", "deserialize"], version = "0.3.6" }66jrsonnet-stdlib = { path = "../jrsonnet-stdlib", version = "0.3.6" }67serde = "1.0"68bincode = "1.3.1"