Skip to content

Commit a0a8eb4

Browse files
committed
build: switch to released serde_yaml fork
Signed-off-by: Yaroslav Bolyukin <[email protected]>
1 parent 87ee065 commit a0a8eb4

File tree

4 files changed

+11
-16
lines changed

4 files changed

+11
-16
lines changed

Cargo.lock

Lines changed: 6 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/jrsonnet-evaluator/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jrsonnet-gcmodule = { version = "0.3.4" }
3434

3535
pathdiff = "0.2.1"
3636
hashbrown = "0.12.1"
37-
static_assertions = "1.1.0"
37+
static_assertions = "1.1"
3838

3939
md5 = "0.7.0"
4040
base64 = "0.13.0"
@@ -44,7 +44,7 @@ thiserror = "1.0"
4444

4545
serde = "1.0"
4646
serde_json = "1.0"
47-
serde_yaml = { git = "https://github.com/CertainLach/serde-yaml", branch = "feature/old-octals-quirk" }
47+
serde_yaml_with_quirks = "0.8.24"
4848

4949
anyhow = { version = "1.0", optional = true }
5050
# Friendly errors

crates/jrsonnet-evaluator/src/stdlib/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use format::{format_arr, format_obj};
77
use jrsonnet_gcmodule::Cc;
88
use jrsonnet_interner::{IBytes, IStr};
99
use serde::Deserialize;
10-
use serde_yaml::DeserializingQuirks;
10+
use serde_yaml_with_quirks::DeserializingQuirks;
1111

1212
use crate::{
1313
error::{Error::*, Result},
@@ -219,7 +219,7 @@ fn builtin_parse_json(st: State, s: IStr) -> Result<Any> {
219219
#[jrsonnet_macros::builtin]
220220
fn builtin_parse_yaml(st: State, s: IStr) -> Result<Any> {
221221
use serde_json::Value;
222-
let value = serde_yaml::Deserializer::from_str_with_quirks(
222+
let value = serde_yaml_with_quirks::Deserializer::from_str_with_quirks(
223223
&s,
224224
DeserializingQuirks { old_octals: true },
225225
);

crates/jrsonnet-parser/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ exp-destruct = []
1313
jrsonnet-interner = { path = "../jrsonnet-interner", version = "0.4.2" }
1414
jrsonnet-gcmodule = { version = "0.3.4" }
1515

16-
static_assertions = "1.1.0"
16+
static_assertions = "1.1"
1717

1818
peg = "0.8.0"
1919

0 commit comments

Comments
 (0)