git.delta.rocks / jrsonnet / refs/commits / 6d7ca685fe74

difftreelog

source

crates/jrsonnet-stdlib/Cargo.toml1.7 KiBsourcehistory
1[package]2name = "jrsonnet-stdlib"3description = "jsonnet standard library packaged as crate"4version = "0.4.2"5authors = ["Yaroslav Bolyukin <iam@lach.pw>"]6license = "MIT"7edition = "2021"89[features]10default = []11# Serializes standard library AST, and deserialize on start, instead of parsing it every run from text12serialized-stdlib = ["bincode", "jrsonnet-parser/serde"]13# Enables legacy `std.thisFile` support, at the cost of worse caching14legacy-this-file = []15# Add order preservation flag to some functions16exp-preserve-order = ["jrsonnet-evaluator/exp-preserve-order"]17# Preserve order for files parsed via `std.parseJson`18# Shame it isn't possible to enable per parse call, instead of globally19exp-serde-preserve-order = [20    "serde_json/preserve_order",21    "jrsonnet-evaluator/exp-serde-preserve-order",22]2324[dependencies]25jrsonnet-evaluator = { path = "../jrsonnet-evaluator", features = [26    # std.parseJson parses file via serde, then converts Value to evaluator Val27    "serde_json",28], version = "0.4.2" }29jrsonnet-macros = { path = "../jrsonnet-macros", version = "0.4.2" }30jrsonnet-parser = { path = "../jrsonnet-parser", version = "0.4.2" }31jrsonnet-gcmodule = "0.3.4"3233# Used for stdlib AST serialization34bincode = { version = "1.3", optional = true }35# Used both for stdlib AST serialization and std.parseJson/std.parseYaml36serde = "1.0"3738# std.md539md5 = "0.7.0"40# std.base6441base64 = "0.13.0"42# std.parseJson43serde_json = "1.0"44# std.parseYaml, custom library fork is used for C++/golang compatibility45serde_yaml_with_quirks = "0.8.24"4647[build-dependencies]48jrsonnet-parser = { path = "../jrsonnet-parser", version = "0.4.2", features = [49    "serde",50] }51serde = "1.0"52bincode = "1.3"