git.delta.rocks / jrsonnet / refs/commits / ed5873f1697a

difftreelog

source

crates/jrsonnet-evaluator/Cargo.toml1.9 KiBsourcehistory
1[package]2name = "jrsonnet-evaluator"3description = "jsonnet interpreter"4version = "0.3.3"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# Same as above, but with generated code instead of serde. Reduces memory usage, but increases binary size and compilation time16codegenerated-stdlib = []17# Replace some standard library functions with faster implementations (I.e manifestJsonEx)18# Library works fine without this feature, but requires more memory and time for std function calls19faster = []20# Rustc-like trace visualization21explaining-traces = ["annotate-snippets"]2223# Unlocks extra features, but works only on unstable24unstable = []2526[dependencies]27jrsonnet-parser = { path = "../jrsonnet-parser", version = "0.3.3" }28jrsonnet-stdlib = { path = "../jrsonnet-stdlib", version = "0.3.3" }29jrsonnet-types = { path = "../jrsonnet-types", version = "0.3.3" }30pathdiff = "0.2.0"3132closure = "0.3.0"33indexmap = "1.6"3435md5 = "0.7.0"36base64 = "0.13.0"37rustc-hash = "1.1.0"3839thiserror = "1.0"4041# Serialized stdlib42[dependencies.serde]43version = "1.0"44optional = true45[dependencies.bincode]46version = "1.3.1"47optional = true4849# Serde json50[dependencies.serde_json]51version = "1.0"52optional = true5354# Explaining traces55[dependencies.annotate-snippets]56version = "0.9.0"57features = ["color"]58optional = true5960[build-dependencies]61jrsonnet-parser = { path = "../jrsonnet-parser", features = ["dump", "serialize", "deserialize"], version = "0.3.3" }62jrsonnet-stdlib = { path = "../jrsonnet-stdlib", version = "0.3.3" }63structdump = "0.1.2"64serde = "1.0"65bincode = "1.3.1"