git.delta.rocks / jrsonnet / refs/commits / a0a8eb40815a

difftreelog

build switch to released serde_yaml fork

Yaroslav Bolyukin2022-06-05parent: #87ee065.patch.diff
in: master

4 files changed

modifiedCargo.lockdiffbeforeafterboth
before · Cargo.lock
80 packageslockfile v3
after · Cargo.lock
79 packageslockfile v3
modifiedcrates/jrsonnet-evaluator/Cargo.tomldiffbeforeafterboth
--- a/crates/jrsonnet-evaluator/Cargo.toml
+++ b/crates/jrsonnet-evaluator/Cargo.toml
@@ -34,7 +34,7 @@
 
 pathdiff = "0.2.1"
 hashbrown = "0.12.1"
-static_assertions = "1.1.0"
+static_assertions = "1.1"
 
 md5 = "0.7.0"
 base64 = "0.13.0"
@@ -44,7 +44,7 @@
 
 serde = "1.0"
 serde_json = "1.0"
-serde_yaml = { git = "https://github.com/CertainLach/serde-yaml", branch = "feature/old-octals-quirk" }
+serde_yaml_with_quirks = "0.8.24"
 
 anyhow = { version = "1.0", optional = true }
 # Friendly errors
modifiedcrates/jrsonnet-evaluator/src/stdlib/mod.rsdiffbeforeafterboth
--- a/crates/jrsonnet-evaluator/src/stdlib/mod.rs
+++ b/crates/jrsonnet-evaluator/src/stdlib/mod.rs
@@ -7,7 +7,7 @@
 use jrsonnet_gcmodule::Cc;
 use jrsonnet_interner::{IBytes, IStr};
 use serde::Deserialize;
-use serde_yaml::DeserializingQuirks;
+use serde_yaml_with_quirks::DeserializingQuirks;
 
 use crate::{
 	error::{Error::*, Result},
@@ -219,7 +219,7 @@
 #[jrsonnet_macros::builtin]
 fn builtin_parse_yaml(st: State, s: IStr) -> Result<Any> {
 	use serde_json::Value;
-	let value = serde_yaml::Deserializer::from_str_with_quirks(
+	let value = serde_yaml_with_quirks::Deserializer::from_str_with_quirks(
 		&s,
 		DeserializingQuirks { old_octals: true },
 	);
modifiedcrates/jrsonnet-parser/Cargo.tomldiffbeforeafterboth
--- a/crates/jrsonnet-parser/Cargo.toml
+++ b/crates/jrsonnet-parser/Cargo.toml
@@ -13,7 +13,7 @@
 jrsonnet-interner = { path = "../jrsonnet-interner", version = "0.4.2" }
 jrsonnet-gcmodule = { version = "0.3.4" }
 
-static_assertions = "1.1.0"
+static_assertions = "1.1"
 
 peg = "0.8.0"