difftreelog
build add serialized-stdlib feature description
in: master
2 files changed
Cargo.lockdiffbeforeafterboth140 "indexmap",140 "indexmap",141 "jsonnet-parser",141 "jsonnet-parser",142 "jsonnet-stdlib",142 "jsonnet-stdlib",143 "md5",143 "serde",144 "serde",144]145]145146170source = "registry+https://github.com/rust-lang/crates.io-index"171source = "registry+https://github.com/rust-lang/crates.io-index"171checksum = "9457b06509d27052635f90d6466700c65095fdf75409b3fbdd903e988b886f49"172checksum = "9457b06509d27052635f90d6466700c65095fdf75409b3fbdd903e988b886f49"173174[[package]]175name = "md5"176version = "0.7.0"177source = "registry+https://github.com/rust-lang/crates.io-index"178checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771"172179173[[package]]180[[package]]174name = "os_str_bytes"181name = "os_str_bytes"crates/jsonnet-evaluator/Cargo.tomldiffbeforeafterboth--- a/crates/jsonnet-evaluator/Cargo.toml
+++ b/crates/jsonnet-evaluator/Cargo.toml
@@ -8,6 +8,7 @@
[features]
default = ["serialized-stdlib", "faster"]
+# Serializes standard library AST instead of parsing them every run
serialized-stdlib = ["serde", "bincode"]
# Replace some standard library functions with faster implementations
# Library works fine without this feature, but requires more memory and time for std function calls