difftreelog
build switch to released serde_yaml fork
in: master
4 files changed
Cargo.lockdiffbeforeafterboth142 "bitflags",142 "bitflags",143]143]144145[[package]]146name = "dtoa"147version = "0.4.8"148source = "registry+https://github.com/rust-lang/crates.io-index"149checksum = "56899898ce76aaf4a0f24d914c97ea6ed976d42fec6ad33fcbb0a1103e07b2b0"150144151[[package]]145[[package]]152name = "getrandom"146name = "getrandom"249 "rustc-hash",243 "rustc-hash",250 "serde",244 "serde",251 "serde_json",245 "serde_json",252 "serde_yaml",246 "serde_yaml_with_quirks",253 "static_assertions",247 "static_assertions",254 "strsim",248 "strsim",255 "thiserror",249 "thiserror",548]542]549543550[[package]]544[[package]]551name = "serde_yaml"545name = "serde_yaml_with_quirks"552version = "0.8.21"546version = "0.8.24"553source = "git+https://github.com/CertainLach/serde-yaml?branch=feature/old-octals-quirk#4bf0e325243539fdeb419e8d727ed1c161cbe445"547source = "registry+https://github.com/rust-lang/crates.io-index"548checksum = "47c5983eba86eae2d0058c35fb1065ccffb23af7f8965871069269088098321a"554dependencies = [549dependencies = [555 "dtoa",556 "indexmap",550 "indexmap",551 "ryu",557 "serde",552 "serde",558 "yaml-rust",553 "yaml-rust",559]554]crates/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
crates/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 },
);
crates/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"