From 70a44bf2ef649bcc4020c881d1a23aedd6c68c5c Mon Sep 17 00:00:00 2001 From: Лач Date: Fri, 26 Jun 2020 13:26:23 +0000 Subject: [PATCH] build: add serialized-stdlib feature description --- --- a/Cargo.lock +++ b/Cargo.lock @@ -140,6 +140,7 @@ "indexmap", "jsonnet-parser", "jsonnet-stdlib", + "md5", "serde", ] @@ -171,6 +172,12 @@ checksum = "9457b06509d27052635f90d6466700c65095fdf75409b3fbdd903e988b886f49" [[package]] +name = "md5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771" + +[[package]] name = "os_str_bytes" version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" --- 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 -- gitstuff