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

difftreelog

fix disable std.sha256 builtin in normal builds

Yaroslav Bolyukin2023-04-08parent: #3b3c1be.patch.diff
in: master

1 file changed

modifiedcrates/jrsonnet-stdlib/Cargo.tomldiffbeforeafterboth
7edition = "2021"7edition = "2021"
88
9[features]9[features]
10default = ["codegenerated-stdlib", "exp-more-hashes"]10default = ["codegenerated-stdlib"]
11# Speed-up initialization by generating code for parsed stdlib, instead11# Speed-up initialization by generating code for parsed stdlib, instead
12# of invoking parser for it12# of invoking parser for it
13codegenerated-stdlib = ["jrsonnet-parser/structdump"]13codegenerated-stdlib = ["jrsonnet-parser/structdump"]
14# Enables legacy `std.thisFile` support, at the cost of worse caching14# Enables legacy `std.thisFile` support, at the cost of worse caching
15legacy-this-file = []15legacy-this-file = []
16# Add order preservation flag to some functions16# Add order preservation flag to some functions
17exp-preserve-order = ["jrsonnet-evaluator/exp-preserve-order"]17exp-preserve-order = ["jrsonnet-evaluator/exp-preserve-order"]
18# Add nonstandard `std.sha256` function
18exp-more-hashes = ["sha2"]19exp-more-hashes = ["dep:sha2"]
1920
20[dependencies]21[dependencies]
21jrsonnet-evaluator.workspace = true22jrsonnet-evaluator.workspace = true