git.delta.rocks / jrsonnet / refs/commits / 85ada850c7eb

difftreelog

fix disable std.sha256 builtin in normal builds

Yaroslav Bolyukin2023-02-25parent: #3b3c1be.patch.diff
in: master

1 file changed

modifiedcrates/jrsonnet-stdlib/Cargo.tomldiffbeforeafterboth
before · crates/jrsonnet-stdlib/Cargo.toml
1[package]2name = "jrsonnet-stdlib"3description = "jsonnet standard library packaged as crate"4version.workspace = true5authors = ["Yaroslav Bolyukin <iam@lach.pw>"]6license = "MIT"7edition = "2021"89[features]10default = ["codegenerated-stdlib", "exp-more-hashes"]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"]18exp-more-hashes = ["sha2"]1920[dependencies]21jrsonnet-evaluator.workspace = true22jrsonnet-macros.workspace = true23jrsonnet-parser.workspace = true24jrsonnet-gcmodule.workspace = true2526# Used for stdlib AST serialization27bincode = { version = "1.3", optional = true }28# Used both for stdlib AST serialization and std.parseJson/std.parseYaml29serde = "1.0"3031# std.md532md5 = "0.7.0"33# std.base6434base64 = "0.21.0"35# std.parseJson36serde_json = "1.0"37# std.parseYaml, custom library fork is used for C++/golang compatibility38serde_yaml_with_quirks = "0.8.24"3940sha2 = { version = "0.10.6", optional = true }4142[build-dependencies]43jrsonnet-parser.workspace = true44structdump = { version = "0.2.0", features = ["derive"] }
after · crates/jrsonnet-stdlib/Cargo.toml
1[package]2name = "jrsonnet-stdlib"3description = "jsonnet standard library packaged as crate"4version.workspace = true5authors = ["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# Add nonstandard `std.sha256` function19exp-more-hashes = ["dep:sha2"]2021[dependencies]22jrsonnet-evaluator.workspace = true23jrsonnet-macros.workspace = true24jrsonnet-parser.workspace = true25jrsonnet-gcmodule.workspace = true2627# Used for stdlib AST serialization28bincode = { version = "1.3", optional = true }29# Used both for stdlib AST serialization and std.parseJson/std.parseYaml30serde = "1.0"3132# std.md533md5 = "0.7.0"34# std.base6435base64 = "0.21.0"36# std.parseJson37serde_json = "1.0"38# std.parseYaml, custom library fork is used for C++/golang compatibility39serde_yaml_with_quirks = "0.8.24"4041sha2 = { version = "0.10.6", optional = true }4243[build-dependencies]44jrsonnet-parser.workspace = true45structdump = { version = "0.2.0", features = ["derive"] }