git.delta.rocks / jrsonnet / refs/commits / 0831da3ed8d9

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 = ["codegenerated-stdlib"]11# Speed-up initialization by generating code for parsed stdlib, instead12# of invoking parser for it13codegenerated-stdlib = ["jrsonnet-parser/structdump"]14# Enables legacy `std.thisFile` support, at the cost of worse caching15legacy-this-file = []16# Add order preservation flag to some functions17exp-preserve-order = ["jrsonnet-evaluator/exp-preserve-order"]18# Preserve order for files parsed via `std.parseJson`19# Shame it isn't possible to enable per parse call, instead of globally20exp-serde-preserve-order = [21    "serde_json/preserve_order",22    "jrsonnet-evaluator/exp-serde-preserve-order",23]2425[dependencies]26jrsonnet-evaluator = { path = "../jrsonnet-evaluator", features = [27    # std.parseJson parses file via serde, then converts Value to evaluator Val28    "serde_json",29], version = "0.4.2" }30jrsonnet-macros = { path = "../jrsonnet-macros", version = "0.4.2" }31jrsonnet-parser = { path = "../jrsonnet-parser", version = "0.4.2" }32jrsonnet-gcmodule = "0.3.4"3334# Used for stdlib AST serialization35bincode = { version = "1.3", optional = true }36# Used both for stdlib AST serialization and std.parseJson/std.parseYaml37serde = "1.0"3839# std.md540md5 = "0.7.0"41# std.base6442base64 = "0.13.0"43# std.parseJson44serde_json = "1.0"45# std.parseYaml, custom library fork is used for C++/golang compatibility46serde_yaml_with_quirks = "0.8.24"4748[build-dependencies]49jrsonnet-parser = { path = "../jrsonnet-parser", version = "0.4.2" }50structdump = { version = "0.2.0", features = ["derive"] }